Home
last modified time | relevance | path

Searched refs:preheader (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_loop_preheader.cpp135 std::unique_ptr<opt::BasicBlock> preheader = MakeUnique<opt::BasicBlock>( in Apply() local
143 loop_header->ForEachPhiInst([this, &ir_context, &preheader, in Apply()
157 phi_inst->SetInOperand(index_of_out_of_loop_pred_id, {preheader->id()}); in Apply()
185 preheader->AddInstruction(std::unique_ptr<opt::Instruction>( in Apply()
193 {SPV_OPERAND_TYPE_ID, {preheader->id()}}, in Apply()
203 preheader->AddInstruction( in Apply()
210 loop_header->GetParent()->InsertBasicBlockBefore(std::move(preheader), in Apply()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_add_loop_preheader.cpp135 std::unique_ptr<opt::BasicBlock> preheader = MakeUnique<opt::BasicBlock>( in Apply() local
143 loop_header->ForEachPhiInst([this, &ir_context, &preheader, in Apply()
157 phi_inst->SetInOperand(index_of_out_of_loop_pred_id, {preheader->id()}); in Apply()
185 preheader->AddInstruction(std::unique_ptr<opt::Instruction>( in Apply()
193 {SPV_OPERAND_TYPE_ID, {preheader->id()}}, in Apply()
203 preheader->AddInstruction( in Apply()
210 loop_header->GetParent()->InsertBasicBlockBefore(std::move(preheader), in Apply()
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_dce.c106 nir_block *preheader; member
120 src->pred != loop->preheader; in dce_block()
130 if (loop->preheader) { in dce_block()
170 inner_state.preheader = nir_cf_node_as_block(nir_cf_node_prev(cf_node)); in dce_cf_list()
178 _mesa_set_next_entry(predecessors, NULL)->key == inner_state.preheader) { in dce_cf_list()
197 if (!parent_loop->preheader) { in dce_cf_list()
226 loop.preheader = NULL; in nir_opt_dce_impl()
Dnir_divergence_analysis.c877 visit_loop_header_phi(nir_phi_instr *phi, nir_block *preheader, bool divergent_continue) in visit_loop_header_phi() argument
893 if (src->pred == preheader) in visit_loop_header_phi()
/third_party/spirv-tools/source/fuzz/
Dtransformation_add_loop_preheader.cpp135 std::unique_ptr<opt::BasicBlock> preheader = MakeUnique<opt::BasicBlock>( in Apply() local
143 loop_header->ForEachPhiInst([this, &ir_context, &preheader, in Apply()
157 phi_inst->SetInOperand(index_of_out_of_loop_pred_id, {preheader->id()}); in Apply()
185 preheader->AddInstruction(std::unique_ptr<opt::Instruction>( in Apply()
193 {SPV_OPERAND_TYPE_ID, {preheader->id()}}, in Apply()
203 preheader->AddInstruction( in Apply()
210 loop_header->GetParent()->InsertBasicBlockBefore(std::move(preheader), in Apply()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dloop_descriptor.cpp318 void Loop::SetPreHeaderBlock(BasicBlock* preheader) { in SetPreHeaderBlock() argument
319 if (preheader) { in SetPreHeaderBlock()
320 assert(!IsInsideLoop(preheader) && "The preheader block is in the loop"); in SetPreHeaderBlock()
321 assert(preheader->tail()->opcode() == SpvOpBranch && in SetPreHeaderBlock()
324 assert(preheader->tail()->GetSingleWordOperand(0) == in SetPreHeaderBlock()
329 loop_preheader_ = preheader; in SetPreHeaderBlock()
Dloop_descriptor.h132 void SetPreHeaderBlock(BasicBlock* preheader);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_descriptor.cpp318 void Loop::SetPreHeaderBlock(BasicBlock* preheader) { in SetPreHeaderBlock() argument
319 if (preheader) { in SetPreHeaderBlock()
320 assert(!IsInsideLoop(preheader) && "The preheader block is in the loop"); in SetPreHeaderBlock()
321 assert(preheader->tail()->opcode() == SpvOpBranch && in SetPreHeaderBlock()
324 assert(preheader->tail()->GetSingleWordOperand(0) == in SetPreHeaderBlock()
329 loop_preheader_ = preheader; in SetPreHeaderBlock()
Dloop_descriptor.h132 void SetPreHeaderBlock(BasicBlock* preheader);
/third_party/spirv-tools/source/opt/
Dloop_descriptor.cpp318 void Loop::SetPreHeaderBlock(BasicBlock* preheader) { in SetPreHeaderBlock() argument
319 if (preheader) { in SetPreHeaderBlock()
320 assert(!IsInsideLoop(preheader) && "The preheader block is in the loop"); in SetPreHeaderBlock()
321 assert(preheader->tail()->opcode() == SpvOpBranch && in SetPreHeaderBlock()
324 assert(preheader->tail()->GetSingleWordOperand(0) == in SetPreHeaderBlock()
329 loop_preheader_ = preheader; in SetPreHeaderBlock()
Dloop_descriptor.h132 void SetPreHeaderBlock(BasicBlock* preheader);
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp56 nir_block* preheader = nir_block_cf_tree_prev(nir_loop_first_block(loop)); in is_block_reachable() local
57 return is_block_reachable(impl, known_reachable, preheader); in is_block_reachable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonCommonGEP.cpp866 static BasicBlock *preheader(DominatorTree *DT, Loop *L) { in preheader() function
907 BasicBlock *NewLoc = preheader(DT, Lp); in adjustForInvariance()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DREADME.txt554 bb114.preheader: ; preds = %cond_next94
570 LBB3_5: # bb114.preheader
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/protobufs/
Dspvtoolsfuzz.proto910 // A transformation that adds a loop preheader block before the given loop header.
915 // A fresh id for the preheader block
919 // A new OpPhi instruction in the preheader is needed for each OpPhi instruction in the header,
/third_party/spirv-tools/source/fuzz/protobufs/
Dspvtoolsfuzz.proto910 // A transformation that adds a loop preheader block before the given loop header.
915 // A fresh id for the preheader block
919 // A new OpPhi instruction in the preheader is needed for each OpPhi instruction in the header,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/protobufs/
Dspvtoolsfuzz.proto910 // A transformation that adds a loop preheader block before the given loop header.
915 // A fresh id for the preheader block
919 // A new OpPhi instruction in the preheader is needed for each OpPhi instruction in the header,