Home
last modified time | relevance | path

Searched refs:prev_inst (Results 1 – 25 of 175) sorted by relevance

1234567

/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/intel/compiler/
H A Dbrw_dead_control_flow.cpp52 backend_instruction *const prev_inst = prev_block->end(); in dead_control_flow_eliminate() local
58 prev_inst->opcode == BRW_OPCODE_ELSE) { in dead_control_flow_eliminate()
60 backend_instruction *const else_inst = prev_inst; in dead_control_flow_eliminate()
65 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
69 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
102 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
104 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
H A Dbrw_vec4_reg_allocate.cpp275 for (vec4_instruction *prev_inst = (vec4_instruction *) inst->prev; in can_use_scratch_for_source() local
276 !prev_inst->is_head_sentinel(); in can_use_scratch_for_source()
277 prev_inst = (vec4_instruction *) prev_inst->prev) { in can_use_scratch_for_source()
283 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()
284 return (!prev_inst->predicate || prev_inst->opcode == BRW_OPCODE_SEL) && in can_use_scratch_for_source()
286 ~prev_inst->dst.writemask) == 0; in can_use_scratch_for_source()
293 if (prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_WRITE || in can_use_scratch_for_source()
294 prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_READ) in can_use_scratch_for_source()
302 if (prev_inst->src[n].file == VGRF && in can_use_scratch_for_source()
303 prev_inst->src[n].nr == scratch_reg) { in can_use_scratch_for_source()
/dports/lang/clover/mesa-21.3.6/src/intel/compiler/
H A Dbrw_dead_control_flow.cpp52 backend_instruction *const prev_inst = prev_block->end(); in dead_control_flow_eliminate() local
58 prev_inst->opcode == BRW_OPCODE_ELSE) { in dead_control_flow_eliminate()
60 backend_instruction *const else_inst = prev_inst; in dead_control_flow_eliminate()
65 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
69 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
102 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
104 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
H A Dbrw_vec4_reg_allocate.cpp275 for (vec4_instruction *prev_inst = (vec4_instruction *) inst->prev; in can_use_scratch_for_source() local
276 !prev_inst->is_head_sentinel(); in can_use_scratch_for_source()
277 prev_inst = (vec4_instruction *) prev_inst->prev) { in can_use_scratch_for_source()
283 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()
284 return (!prev_inst->predicate || prev_inst->opcode == BRW_OPCODE_SEL) && in can_use_scratch_for_source()
286 ~prev_inst->dst.writemask) == 0; in can_use_scratch_for_source()
293 if (prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_WRITE || in can_use_scratch_for_source()
294 prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_READ) in can_use_scratch_for_source()
302 if (prev_inst->src[n].file == VGRF && in can_use_scratch_for_source()
303 prev_inst->src[n].nr == scratch_reg) { in can_use_scratch_for_source()
/dports/graphics/libosmesa/mesa-21.3.6/src/intel/compiler/
H A Dbrw_dead_control_flow.cpp52 backend_instruction *const prev_inst = prev_block->end(); in dead_control_flow_eliminate() local
58 prev_inst->opcode == BRW_OPCODE_ELSE) { in dead_control_flow_eliminate()
60 backend_instruction *const else_inst = prev_inst; in dead_control_flow_eliminate()
65 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
69 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
102 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
104 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
H A Dbrw_vec4_reg_allocate.cpp275 for (vec4_instruction *prev_inst = (vec4_instruction *) inst->prev; in can_use_scratch_for_source() local
276 !prev_inst->is_head_sentinel(); in can_use_scratch_for_source()
277 prev_inst = (vec4_instruction *) prev_inst->prev) { in can_use_scratch_for_source()
283 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()
284 return (!prev_inst->predicate || prev_inst->opcode == BRW_OPCODE_SEL) && in can_use_scratch_for_source()
286 ~prev_inst->dst.writemask) == 0; in can_use_scratch_for_source()
293 if (prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_WRITE || in can_use_scratch_for_source()
294 prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_READ) in can_use_scratch_for_source()
302 if (prev_inst->src[n].file == VGRF && in can_use_scratch_for_source()
303 prev_inst->src[n].nr == scratch_reg) { in can_use_scratch_for_source()
/dports/graphics/mesa-libs/mesa-21.3.6/src/intel/compiler/
H A Dbrw_dead_control_flow.cpp52 backend_instruction *const prev_inst = prev_block->end(); in dead_control_flow_eliminate() local
58 prev_inst->opcode == BRW_OPCODE_ELSE) { in dead_control_flow_eliminate()
60 backend_instruction *const else_inst = prev_inst; in dead_control_flow_eliminate()
65 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
69 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
102 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
104 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
H A Dbrw_vec4_reg_allocate.cpp275 for (vec4_instruction *prev_inst = (vec4_instruction *) inst->prev; in can_use_scratch_for_source() local
276 !prev_inst->is_head_sentinel(); in can_use_scratch_for_source()
277 prev_inst = (vec4_instruction *) prev_inst->prev) { in can_use_scratch_for_source()
283 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()
284 return (!prev_inst->predicate || prev_inst->opcode == BRW_OPCODE_SEL) && in can_use_scratch_for_source()
286 ~prev_inst->dst.writemask) == 0; in can_use_scratch_for_source()
293 if (prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_WRITE || in can_use_scratch_for_source()
294 prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_READ) in can_use_scratch_for_source()
302 if (prev_inst->src[n].file == VGRF && in can_use_scratch_for_source()
303 prev_inst->src[n].nr == scratch_reg) { in can_use_scratch_for_source()
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/intel/compiler/
H A Dbrw_dead_control_flow.cpp52 backend_instruction *const prev_inst = prev_block->end(); in dead_control_flow_eliminate() local
58 prev_inst->opcode == BRW_OPCODE_ELSE) { in dead_control_flow_eliminate()
60 backend_instruction *const else_inst = prev_inst; in dead_control_flow_eliminate()
65 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
69 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
102 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
104 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
H A Dbrw_vec4_reg_allocate.cpp275 for (vec4_instruction *prev_inst = (vec4_instruction *) inst->prev; in can_use_scratch_for_source() local
276 !prev_inst->is_head_sentinel(); in can_use_scratch_for_source()
277 prev_inst = (vec4_instruction *) prev_inst->prev) { in can_use_scratch_for_source()
283 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()
284 return (!prev_inst->predicate || prev_inst->opcode == BRW_OPCODE_SEL) && in can_use_scratch_for_source()
286 ~prev_inst->dst.writemask) == 0; in can_use_scratch_for_source()
293 if (prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_WRITE || in can_use_scratch_for_source()
294 prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_READ) in can_use_scratch_for_source()
302 if (prev_inst->src[n].file == VGRF && in can_use_scratch_for_source()
303 prev_inst->src[n].nr == scratch_reg) { in can_use_scratch_for_source()
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/intel/compiler/
H A Dbrw_dead_control_flow.cpp52 backend_instruction *const prev_inst = prev_block->end(); in dead_control_flow_eliminate() local
58 prev_inst->opcode == BRW_OPCODE_ELSE) { in dead_control_flow_eliminate()
60 backend_instruction *const else_inst = prev_inst; in dead_control_flow_eliminate()
65 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
69 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
102 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
104 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
H A Dbrw_vec4_reg_allocate.cpp275 for (vec4_instruction *prev_inst = (vec4_instruction *) inst->prev; in can_use_scratch_for_source() local
276 !prev_inst->is_head_sentinel(); in can_use_scratch_for_source()
277 prev_inst = (vec4_instruction *) prev_inst->prev) { in can_use_scratch_for_source()
283 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()
284 return (!prev_inst->predicate || prev_inst->opcode == BRW_OPCODE_SEL) && in can_use_scratch_for_source()
286 ~prev_inst->dst.writemask) == 0; in can_use_scratch_for_source()
293 if (prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_WRITE || in can_use_scratch_for_source()
294 prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_READ) in can_use_scratch_for_source()
302 if (prev_inst->src[n].file == VGRF && in can_use_scratch_for_source()
303 prev_inst->src[n].nr == scratch_reg) { in can_use_scratch_for_source()
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/intel/compiler/
H A Dbrw_dead_control_flow.cpp52 backend_instruction *const prev_inst = prev_block->end(); in dead_control_flow_eliminate() local
58 prev_inst->opcode == BRW_OPCODE_ELSE) { in dead_control_flow_eliminate()
60 backend_instruction *const else_inst = prev_inst; in dead_control_flow_eliminate()
65 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
69 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
102 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
104 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
H A Dbrw_vec4_reg_allocate.cpp275 for (vec4_instruction *prev_inst = (vec4_instruction *) inst->prev; in can_use_scratch_for_source() local
276 !prev_inst->is_head_sentinel(); in can_use_scratch_for_source()
277 prev_inst = (vec4_instruction *) prev_inst->prev) { in can_use_scratch_for_source()
283 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()
284 return (!prev_inst->predicate || prev_inst->opcode == BRW_OPCODE_SEL) && in can_use_scratch_for_source()
286 ~prev_inst->dst.writemask) == 0; in can_use_scratch_for_source()
293 if (prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_WRITE || in can_use_scratch_for_source()
294 prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_READ) in can_use_scratch_for_source()
302 if (prev_inst->src[n].file == VGRF && in can_use_scratch_for_source()
303 prev_inst->src[n].nr == scratch_reg) { in can_use_scratch_for_source()
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/intel/compiler/
H A Dbrw_dead_control_flow.cpp52 backend_instruction *const prev_inst = prev_block->end(); in dead_control_flow_eliminate() local
58 prev_inst->opcode == BRW_OPCODE_ELSE) { in dead_control_flow_eliminate()
60 backend_instruction *const else_inst = prev_inst; in dead_control_flow_eliminate()
65 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
69 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
102 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
104 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
H A Dbrw_vec4_reg_allocate.cpp275 for (vec4_instruction *prev_inst = (vec4_instruction *) inst->prev; in can_use_scratch_for_source() local
276 !prev_inst->is_head_sentinel(); in can_use_scratch_for_source()
277 prev_inst = (vec4_instruction *) prev_inst->prev) { in can_use_scratch_for_source()
283 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()
284 return (!prev_inst->predicate || prev_inst->opcode == BRW_OPCODE_SEL) && in can_use_scratch_for_source()
286 ~prev_inst->dst.writemask) == 0; in can_use_scratch_for_source()
293 if (prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_WRITE || in can_use_scratch_for_source()
294 prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_READ) in can_use_scratch_for_source()
302 if (prev_inst->src[n].file == VGRF && in can_use_scratch_for_source()
303 prev_inst->src[n].nr == scratch_reg) { in can_use_scratch_for_source()
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/intel/compiler/
H A Dbrw_dead_control_flow.cpp52 backend_instruction *const prev_inst = prev_block->end(); in dead_control_flow_eliminate() local
58 prev_inst->opcode == BRW_OPCODE_ELSE) { in dead_control_flow_eliminate()
60 backend_instruction *const else_inst = prev_inst; in dead_control_flow_eliminate()
65 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
69 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
102 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
104 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
H A Dbrw_vec4_reg_allocate.cpp315 for (vec4_instruction *prev_inst = (vec4_instruction *) inst->prev; in can_use_scratch_for_source() local
316 !prev_inst->is_head_sentinel(); in can_use_scratch_for_source()
317 prev_inst = (vec4_instruction *) prev_inst->prev) { in can_use_scratch_for_source()
323 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()
324 return (!prev_inst->predicate || prev_inst->opcode == BRW_OPCODE_SEL) && in can_use_scratch_for_source()
326 ~prev_inst->dst.writemask) == 0; in can_use_scratch_for_source()
333 if (prev_inst->opcode == SHADER_OPCODE_GEN4_SCRATCH_WRITE || in can_use_scratch_for_source()
334 prev_inst->opcode == SHADER_OPCODE_GEN4_SCRATCH_READ) in can_use_scratch_for_source()
342 if (prev_inst->src[n].file == VGRF && in can_use_scratch_for_source()
343 prev_inst->src[n].nr == scratch_reg) { in can_use_scratch_for_source()
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/intel/compiler/
H A Dbrw_dead_control_flow.cpp52 backend_instruction *const prev_inst = prev_block->end(); in dead_control_flow_eliminate() local
58 prev_inst->opcode == BRW_OPCODE_ELSE) { in dead_control_flow_eliminate()
60 backend_instruction *const else_inst = prev_inst; in dead_control_flow_eliminate()
65 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
69 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
102 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
104 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
H A Dbrw_vec4_reg_allocate.cpp275 for (vec4_instruction *prev_inst = (vec4_instruction *) inst->prev; in can_use_scratch_for_source() local
276 !prev_inst->is_head_sentinel(); in can_use_scratch_for_source()
277 prev_inst = (vec4_instruction *) prev_inst->prev) { in can_use_scratch_for_source()
283 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()
284 return (!prev_inst->predicate || prev_inst->opcode == BRW_OPCODE_SEL) && in can_use_scratch_for_source()
286 ~prev_inst->dst.writemask) == 0; in can_use_scratch_for_source()
293 if (prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_WRITE || in can_use_scratch_for_source()
294 prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_READ) in can_use_scratch_for_source()
302 if (prev_inst->src[n].file == VGRF && in can_use_scratch_for_source()
303 prev_inst->src[n].nr == scratch_reg) { in can_use_scratch_for_source()
/dports/graphics/mesa-dri/mesa-21.3.6/src/intel/compiler/
H A Dbrw_dead_control_flow.cpp52 backend_instruction *const prev_inst = prev_block->end(); in dead_control_flow_eliminate() local
58 prev_inst->opcode == BRW_OPCODE_ELSE) { in dead_control_flow_eliminate()
60 backend_instruction *const else_inst = prev_inst; in dead_control_flow_eliminate()
65 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
69 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
102 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()
104 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
H A Dbrw_vec4_reg_allocate.cpp275 for (vec4_instruction *prev_inst = (vec4_instruction *) inst->prev; in can_use_scratch_for_source() local
276 !prev_inst->is_head_sentinel(); in can_use_scratch_for_source()
277 prev_inst = (vec4_instruction *) prev_inst->prev) { in can_use_scratch_for_source()
283 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()
284 return (!prev_inst->predicate || prev_inst->opcode == BRW_OPCODE_SEL) && in can_use_scratch_for_source()
286 ~prev_inst->dst.writemask) == 0; in can_use_scratch_for_source()
293 if (prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_WRITE || in can_use_scratch_for_source()
294 prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_READ) in can_use_scratch_for_source()
302 if (prev_inst->src[n].file == VGRF && in can_use_scratch_for_source()
303 prev_inst->src[n].nr == scratch_reg) { in can_use_scratch_for_source()
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/cranelift/src/
H A Dbugpoint.rs121 func.layout.remove_inst(prev_inst); in mutate()
127 format!("Remove inst {}", prev_inst) in mutate()
162 |(_prev_block, prev_inst)| { in mutate()
165 let opcode = func.dfg[prev_inst].opcode(); in mutate()
193 pos.func.dfg.clear_results(prev_inst); in mutate()
204 assert_eq!(pos.remove_inst(), prev_inst); in mutate()
244 |(_prev_block, prev_inst)| { in mutate()
253 format!("Replace inst {} with trap", prev_inst), in mutate()
295 format!("did nothing for {}", prev_inst), in mutate()
301 func.layout.remove_inst(prev_inst); in mutate()
[all …]
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/cranelift/codegen/src/ir/
H A Dlayout.rs198 Some(prev_inst) => self.insts[prev_inst].seq, in assign_inst_seq()
719 match prev_inst.expand() { in split_block()
868 assert_eq!(cur.prev_inst(), None); in verify()
922 assert_eq!(cur.prev_inst(), None); in append_block()
932 assert_eq!(cur.prev_inst(), None); in append_block()
1038 assert_eq!(cur.prev_inst(), None); in append_inst()
1044 assert_eq!(cur.prev_inst(), Some(i2)); in append_inst()
1052 assert_eq!(cur.prev_inst(), Some(i0)); in append_inst()
1053 assert_eq!(cur.prev_inst(), Some(i2)); in append_inst()
1054 assert_eq!(cur.prev_inst(), Some(i1)); in append_inst()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/cranelift-codegen/src/ir/
H A Dlayout.rs198 Some(prev_inst) => self.insts[prev_inst].seq, in assign_inst_seq()
719 match prev_inst.expand() { in split_block()
868 assert_eq!(cur.prev_inst(), None); in verify()
922 assert_eq!(cur.prev_inst(), None); in append_block()
932 assert_eq!(cur.prev_inst(), None); in append_block()
1038 assert_eq!(cur.prev_inst(), None); in append_inst()
1044 assert_eq!(cur.prev_inst(), Some(i2)); in append_inst()
1052 assert_eq!(cur.prev_inst(), Some(i0)); in append_inst()
1053 assert_eq!(cur.prev_inst(), Some(i2)); in append_inst()
1054 assert_eq!(cur.prev_inst(), Some(i1)); in append_inst()
[all …]

1234567