Lines Matching refs:new_reg
137 static struct ir3_register * new_reg(int num, unsigned flags) in new_reg() function
151 return new_reg(0, 0); in dummy_dst()
797 cat6_prefetch: T_OP_PREFETCH { new_instr(OPC_PREFETCH); new_reg(0,0); /* dummy dst */ } 'g' '['…
829 reg: T_REGISTER { $$ = new_reg($1, 0); }
830 | T_A0 { $$ = new_reg((61 << 3) + $1, IR3_REG_HALF); }
831 | T_P0 { $$ = new_reg((62 << 3) + $1, 0); }
833 const: T_CONSTANT { $$ = new_reg($1, IR3_REG_CONST); }
875 relative: 'r' '<' T_A0 offset '>' { new_reg(0, IR3_REG_RELATIV)->array.offset = $4; }
876 | 'c' '<' T_A0 offset '>' { new_reg(0, IR3_REG_RELATIV | IR3_REG_CONST)->array.of…
877 | T_HR '<' T_A0 offset '>' { new_reg(0, IR3_REG_RELATIV | IR3_REG_HALF)->array.of…
878 | T_HC '<' T_A0 offset '>' { new_reg(0, IR3_REG_RELATIV | IR3_REG_CONST | IR3_REG…
880 immediate: integer { new_reg(0, IR3_REG_IMMED)->iim_val = $1; }
881 | '(' integer ')' { new_reg(0, IR3_REG_IMMED)->fim_val = $2; }
882 | '(' float ')' { new_reg(0, IR3_REG_IMMED)->fim_val = $2; }
883 | '(' T_NAN ')' { new_reg(0, IR3_REG_IMMED)->fim_val = NAN; }
884 | '(' T_INF ')' { new_reg(0, IR3_REG_IMMED)->fim_val = INFINITY; }