Searched refs:used_regs (Results 1 – 1 of 1) sorted by relevance
/third_party/mesa3d/src/asahi/compiler/ |
D | agx_register_allocate.c | 64 agx_assign_regs(BITSET_WORD *used_regs, unsigned count, unsigned align, unsigned max) in agx_assign_regs() argument 70 conflict |= BITSET_TEST(used_regs, reg + j); in agx_assign_regs() 74 BITSET_SET(used_regs, reg + j); in agx_assign_regs() 86 fprintf(stderr, " %08X\n", used_regs[i]); in agx_assign_regs() 96 BITSET_DECLARE(used_regs, AGX_NUM_REGS) = { 0 }; in agx_ra_assign_local() 100 used_regs[i] |= pred->regs_out[i]; in agx_ra_assign_local() 103 BITSET_SET(used_regs, 0); // control flow writes r0l in agx_ra_assign_local() 104 BITSET_SET(used_regs, 5*2); // TODO: precolouring, don't overwrite vertex ID in agx_ra_assign_local() 105 BITSET_SET(used_regs, (5*2 + 1)); in agx_ra_assign_local() 106 BITSET_SET(used_regs, (6*2 + 0)); in agx_ra_assign_local() [all …]
|