Lines Matching refs:locp

45 void yyerror(YYLTYPE *locp,
51 #define yyassert(context, locp, condition, msg) \ argument
53 yyerror(locp, (context)->scanner, (context), (msg)); \
65 void str_print(Context *c, YYLTYPE *locp, const char *string);
67 void uint8_print(Context *c, YYLTYPE *locp, uint8_t *num);
69 void uint64_print(Context *c, YYLTYPE *locp, uint64_t *num);
71 void int_print(Context *c, YYLTYPE *locp, int *num);
73 void uint_print(Context *c, YYLTYPE *locp, unsigned *num);
75 void tmp_print(Context *c, YYLTYPE *locp, HexTmp *tmp);
77 void pred_print(Context *c, YYLTYPE *locp, HexPred *pred, bool is_dotnew);
79 void reg_compose(Context *c, YYLTYPE *locp, HexReg *reg, char reg_id[5]);
81 void reg_print(Context *c, YYLTYPE *locp, HexReg *reg);
83 void imm_print(Context *c, YYLTYPE *locp, HexValue *rvalue);
85 void var_print(Context *c, YYLTYPE *locp, HexVar *var);
87 void rvalue_print(Context *c, YYLTYPE *locp, void *pointer);
89 void out_assert(Context *c, YYLTYPE *locp, void *dummy);
96 #define OUT_IMPL(c, locp, x) \ argument
105 )(c, locp, x);
108 #define FE_1(c, locp, WHAT, X) WHAT(c, locp, X) argument
109 #define FE_2(c, locp, WHAT, X, ...) \ argument
110 WHAT(c, locp, X)FE_1(c, locp, WHAT, __VA_ARGS__)
111 #define FE_3(c, locp, WHAT, X, ...) \ argument
112 WHAT(c, locp, X)FE_2(c, locp, WHAT, __VA_ARGS__)
113 #define FE_4(c, locp, WHAT, X, ...) \ argument
114 WHAT(c, locp, X)FE_3(c, locp, WHAT, __VA_ARGS__)
115 #define FE_5(c, locp, WHAT, X, ...) \ argument
116 WHAT(c, locp, X)FE_4(c, locp, WHAT, __VA_ARGS__)
117 #define FE_6(c, locp, WHAT, X, ...) \ argument
118 WHAT(c, locp, X)FE_5(c, locp, WHAT, __VA_ARGS__)
119 #define FE_7(c, locp, WHAT, X, ...) \ argument
120 WHAT(c, locp, X)FE_6(c, locp, WHAT, __VA_ARGS__)
121 #define FE_8(c, locp, WHAT, X, ...) \ argument
122 WHAT(c, locp, X)FE_7(c, locp, WHAT, __VA_ARGS__)
123 #define FE_9(c, locp, WHAT, X, ...) \ argument
124 WHAT(c, locp, X)FE_8(c, locp, WHAT, __VA_ARGS__)
129 #define FOR_EACH(c, locp, action, ...) \ argument
140 FE_1)(c, locp, action, \
144 #define OUT(c, locp, ...) FOR_EACH((c), (locp), OUT_IMPL, __VA_ARGS__) argument
151 YYLTYPE *locp,
156 YYLTYPE *locp,
161 HexValue gen_imm_qemu_tmp(Context *c, YYLTYPE *locp, unsigned bit_width,
164 HexValue rvalue_materialize(Context *c, YYLTYPE *locp, HexValue *rvalue);
166 HexValue gen_rvalue_extend(Context *c, YYLTYPE *locp, HexValue *rvalue);
168 HexValue gen_rvalue_truncate(Context *c, YYLTYPE *locp, HexValue *rvalue);
171 YYLTYPE *locp,
181 YYLTYPE *locp,
187 YYLTYPE *locp,
193 YYLTYPE *locp,
205 YYLTYPE *locp,
212 YYLTYPE *locp,
219 YYLTYPE *locp,
226 YYLTYPE *locp,
232 YYLTYPE *locp,
237 void gen_write_reg(Context *c, YYLTYPE *locp, HexValue *reg, HexValue *value);
240 YYLTYPE *locp,
245 YYLTYPE *locp,
249 YYLTYPE *locp,
254 YYLTYPE *locp,
262 YYLTYPE *locp,
267 HexValue gen_locnt_op(Context *c, YYLTYPE *locp, HexValue *src);
269 HexValue gen_ctpop_op(Context *c, YYLTYPE *locp, HexValue *src);
271 HexValue gen_rotl(Context *c, YYLTYPE *locp, HexValue *src, HexValue *n);
274 YYLTYPE *locp,
280 YYLTYPE *locp,
287 void gen_inst_init_args(Context *c, YYLTYPE *locp);
289 void gen_inst_code(Context *c, YYLTYPE *locp);
291 void gen_pred_assign(Context *c, YYLTYPE *locp, HexValue *left_pred,
294 void gen_cancel(Context *c, YYLTYPE *locp);
296 void gen_load_cancel(Context *c, YYLTYPE *locp);
298 void gen_load(Context *c, YYLTYPE *locp, HexValue *size,
301 void gen_store(Context *c, YYLTYPE *locp, HexValue *size, HexValue *ea,
304 void gen_sethalf(Context *c, YYLTYPE *locp, HexCast *sh, HexValue *n,
307 void gen_setbits(Context *c, YYLTYPE *locp, HexValue *hi, HexValue *lo,
310 unsigned gen_if_cond(Context *c, YYLTYPE *locp, HexValue *cond);
312 unsigned gen_if_else(Context *c, YYLTYPE *locp, unsigned index);
314 HexValue gen_rvalue_pred(Context *c, YYLTYPE *locp, HexValue *pred);
316 HexValue gen_rvalue_var(Context *c, YYLTYPE *locp, HexValue *var);
318 HexValue gen_rvalue_mpy(Context *c, YYLTYPE *locp, HexMpy *mpy, HexValue *op1,
321 HexValue gen_rvalue_not(Context *c, YYLTYPE *locp, HexValue *value);
323 HexValue gen_rvalue_notl(Context *c, YYLTYPE *locp, HexValue *value);
325 HexValue gen_rvalue_sat(Context *c, YYLTYPE *locp, HexSat *sat, HexValue *n,
328 HexValue gen_rvalue_fscr(Context *c, YYLTYPE *locp, HexValue *value);
330 HexValue gen_rvalue_abs(Context *c, YYLTYPE *locp, HexValue *value);
332 HexValue gen_rvalue_neg(Context *c, YYLTYPE *locp, HexValue *value);
334 HexValue gen_rvalue_brev(Context *c, YYLTYPE *locp, HexValue *value);
336 HexValue gen_rvalue_ternary(Context *c, YYLTYPE *locp, HexValue *cond,
341 void emit_arg(Context *c, YYLTYPE *locp, HexValue *arg);
350 YYLTYPE *locp,