Home
last modified time | relevance | path

Searched refs:unset_counter (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/amd/compiler/
Daco_insert_waitcnt.cpp144 imm.lgkm = wait_imm::unset_counter; in remove_counter()
149 imm.vm = wait_imm::unset_counter; in remove_counter()
156 imm.exp = wait_imm::unset_counter; in remove_counter()
162 imm.vs = wait_imm::unset_counter; in remove_counter()
403 if (ctx.pending_flat_vm && imm.vm != wait_imm::unset_counter) in kill()
405 if (ctx.pending_flat_lgkm && imm.lgkm != wait_imm::unset_counter) in kill()
418 if (bar.exp != wait_imm::unset_counter && imm.exp <= bar.exp) { in kill()
419 bar.exp = wait_imm::unset_counter; in kill()
422 if (bar.vm != wait_imm::unset_counter && imm.vm <= bar.vm) { in kill()
423 bar.vm = wait_imm::unset_counter; in kill()
[all …]
Daco_ir.cpp732 wait_imm::wait_imm() : vm(unset_counter), exp(unset_counter), lgkm(unset_counter), vs(unset_counter) in wait_imm()
738 wait_imm::wait_imm(enum chip_class chip, uint16_t packed) : vs(unset_counter) in wait_imm()
755 assert(exp == unset_counter || exp <= 0x7); in pack()
759 assert(lgkm == unset_counter || lgkm <= 0x3f); in pack()
760 assert(vm == unset_counter || vm <= 0x3f); in pack()
764 assert(lgkm == unset_counter || lgkm <= 0xf); in pack()
765 assert(vm == unset_counter || vm <= 0x3f); in pack()
769 assert(lgkm == unset_counter || lgkm <= 0xf); in pack()
770 assert(vm == unset_counter || vm <= 0xf); in pack()
774 if (chip < GFX9 && vm == wait_imm::unset_counter) in pack()
[all …]
Daco_statistics.cpp275 imm.lgkm = wait_info.lgkm ? max_lgkm_cnt : wait_imm::unset_counter; in get_wait_imm()
276 imm.exp = wait_info.exp ? max_exp_cnt : wait_imm::unset_counter; in get_wait_imm()
277 imm.vm = wait_info.vm ? max_vm_cnt : wait_imm::unset_counter; in get_wait_imm()
278 imm.vs = wait_info.vs ? max_vs_cnt : wait_imm::unset_counter; in get_wait_imm()
289 if (imm.vm != wait_imm::unset_counter) { in get_dependency_cost()
293 if (imm.exp != wait_imm::unset_counter) { in get_dependency_cost()
297 if (imm.lgkm != wait_imm::unset_counter) { in get_dependency_cost()
301 if (imm.vs != wait_imm::unset_counter) { in get_dependency_cost()
Daco_ir.h263 static const uint8_t unset_counter = 0xff; member