Lines Matching refs:IR3_REG_CONST
111 if (reg->flags & IR3_REG_CONST) { in reg()
175 IR3_REG_R | IR3_REG_CONST | IR3_REG_HALF | IR3_REG_RELATIV); in emit_cat1()
177 cat1->src_rel_c = !!(src->flags & IR3_REG_CONST); in emit_cat1()
180 IR3_REG_R | IR3_REG_CONST | IR3_REG_HALF); in emit_cat1()
181 cat1->src_c = !!(src->flags & IR3_REG_CONST); in emit_cat1()
229 IR3_REG_RELATIV | IR3_REG_CONST | IR3_REG_R | in emit_cat2()
231 cat2->rel1.src1_c = !!(src1->flags & IR3_REG_CONST); in emit_cat2()
233 } else if (src1->flags & IR3_REG_CONST) { in emit_cat2()
236 IR3_REG_CONST | IR3_REG_R | IR3_REG_HALF | in emit_cat2()
256 IR3_REG_RELATIV | IR3_REG_CONST | IR3_REG_R | in emit_cat2()
258 cat2->rel2.src2_c = !!(src2->flags & IR3_REG_CONST); in emit_cat2()
260 } else if (src2->flags & IR3_REG_CONST) { in emit_cat2()
263 IR3_REG_CONST | IR3_REG_R | IR3_REG_HALF | in emit_cat2()
341 IR3_REG_RELATIV | IR3_REG_CONST | IR3_REG_R | in emit_cat3()
343 cat3->rel1.src1_c = !!(src1->flags & IR3_REG_CONST); in emit_cat3()
345 } else if (src1->flags & IR3_REG_CONST) { in emit_cat3()
348 IR3_REG_CONST | IR3_REG_R | IR3_REG_HALF | absneg); in emit_cat3()
359 IR3_REG_CONST | IR3_REG_R | IR3_REG_HALF | absneg); in emit_cat3()
360 cat3->src2_c = !!(src2->flags & IR3_REG_CONST); in emit_cat3()
366 IR3_REG_RELATIV | IR3_REG_CONST | IR3_REG_R | in emit_cat3()
368 cat3->rel2.src3_c = !!(src3->flags & IR3_REG_CONST); in emit_cat3()
370 } else if (src3->flags & IR3_REG_CONST) { in emit_cat3()
373 IR3_REG_CONST | IR3_REG_R | IR3_REG_HALF | absneg); in emit_cat3()
410 IR3_REG_RELATIV | IR3_REG_CONST | IR3_REG_FNEG | in emit_cat4()
412 cat4->rel.src_c = !!(src->flags & IR3_REG_CONST); in emit_cat4()
414 } else if (src->flags & IR3_REG_CONST) { in emit_cat4()
417 IR3_REG_CONST | IR3_REG_FNEG | IR3_REG_FABS | in emit_cat4()
1304 flags &= (IR3_REG_CONST | IR3_REG_IMMED | in cp_flags()
1354 valid_flags = IR3_REG_IMMED | IR3_REG_CONST | IR3_REG_RELATIV; in ir3_valid_flags()
1360 IR3_REG_CONST | IR3_REG_RELATIV; in ir3_valid_flags()
1368 if (flags & (IR3_REG_CONST | IR3_REG_IMMED)) { in ir3_valid_flags()
1375 if ((flags & IR3_REG_CONST) && (reg->flags & IR3_REG_CONST)) in ir3_valid_flags()
1384 IR3_REG_CONST | IR3_REG_RELATIV; in ir3_valid_flags()
1389 if (flags & (IR3_REG_CONST | IR3_REG_RELATIV)) { in ir3_valid_flags()
1399 if (flags & (IR3_REG_CONST | IR3_REG_IMMED)) in ir3_valid_flags()