Searched refs:mergeInst (Results 1 – 9 of 9) sorted by relevance
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | aggressive_dead_code_elim_pass.cpp | 183 Instruction** mergeInst, in IsStructuredHeader() argument 191 if (mergeInst != nullptr) *mergeInst = mi; in IsStructuredHeader() 217 Instruction* mergeInst; in ComputeBlock2HeaderMaps() local 221 IsStructuredHeader(*bi, &mergeInst, &branchInst, &mergeBlockId); in ComputeBlock2HeaderMaps() 226 if (is_header && mergeInst->opcode() == SpvOpLoopMerge) { in ComputeBlock2HeaderMaps() 228 branch2merge_[branchInst] = mergeInst; in ComputeBlock2HeaderMaps() 234 if (is_header && mergeInst->opcode() == SpvOpSelectionMerge) { in ComputeBlock2HeaderMaps() 236 branch2merge_[branchInst] = mergeInst; in ComputeBlock2HeaderMaps() 252 Instruction* mergeInst) { in AddBreaksAndContinuesToWorklist() argument 253 assert(mergeInst->opcode() == SpvOpSelectionMerge || in AddBreaksAndContinuesToWorklist() [all …]
|
D | dead_branch_elim_pass.cpp | 163 Instruction* mergeInst = block->GetMergeInst(); in MarkLiveBlocks() local 164 if (mergeInst && mergeInst->opcode() == SpvOpSelectionMerge) { in MarkLiveBlocks() 166 live_lab_id, mergeInst->GetSingleWordInOperand(0), in MarkLiveBlocks() 170 context()->KillInst(mergeInst); in MarkLiveBlocks() 172 mergeInst->RemoveFromList(); in MarkLiveBlocks() 173 first_break->InsertBefore(std::unique_ptr<Instruction>(mergeInst)); in MarkLiveBlocks() 174 context()->set_instr_block(mergeInst, in MarkLiveBlocks()
|
D | aggressive_dead_code_elim_pass.h | 107 bool IsStructuredHeader(BasicBlock* bp, Instruction** mergeInst, 119 void AddBreaksAndContinuesToWorklist(Instruction* mergeInst);
|
D | merge_return_pass.cpp | 100 if (Instruction* mergeInst = block->GetMergeInst()) { in ProcessStructured() local 103 state_.emplace_back(loopMergeInst, mergeInst); in ProcessStructured() 130 if (Instruction* mergeInst = block->GetMergeInst()) { in ProcessStructured() local 133 state_.emplace_back(loopMergeInst, mergeInst); in ProcessStructured()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | aggressive_dead_code_elim_pass.cpp | 183 Instruction** mergeInst, in IsStructuredHeader() argument 191 if (mergeInst != nullptr) *mergeInst = mi; in IsStructuredHeader() 217 Instruction* mergeInst; in ComputeBlock2HeaderMaps() local 221 IsStructuredHeader(*bi, &mergeInst, &branchInst, &mergeBlockId); in ComputeBlock2HeaderMaps() 226 if (is_header && mergeInst->opcode() == SpvOpLoopMerge) { in ComputeBlock2HeaderMaps() 228 branch2merge_[branchInst] = mergeInst; in ComputeBlock2HeaderMaps() 234 if (is_header && mergeInst->opcode() == SpvOpSelectionMerge) { in ComputeBlock2HeaderMaps() 236 branch2merge_[branchInst] = mergeInst; in ComputeBlock2HeaderMaps() 252 Instruction* mergeInst) { in AddBreaksAndContinuesToWorklist() argument 253 assert(mergeInst->opcode() == SpvOpSelectionMerge || in AddBreaksAndContinuesToWorklist() [all …]
|
D | dead_branch_elim_pass.cpp | 163 Instruction* mergeInst = block->GetMergeInst(); in MarkLiveBlocks() local 164 if (mergeInst && mergeInst->opcode() == SpvOpSelectionMerge) { in MarkLiveBlocks() 166 live_lab_id, mergeInst->GetSingleWordInOperand(0), in MarkLiveBlocks() 170 context()->KillInst(mergeInst); in MarkLiveBlocks() 172 mergeInst->RemoveFromList(); in MarkLiveBlocks() 173 first_break->InsertBefore(std::unique_ptr<Instruction>(mergeInst)); in MarkLiveBlocks() 174 context()->set_instr_block(mergeInst, in MarkLiveBlocks()
|
D | aggressive_dead_code_elim_pass.h | 109 bool IsStructuredHeader(BasicBlock* bp, Instruction** mergeInst, 121 void AddBreaksAndContinuesToWorklist(Instruction* mergeInst);
|
D | merge_return_pass.cpp | 100 if (Instruction* mergeInst = block->GetMergeInst()) { in ProcessStructured() local 103 state_.emplace_back(loopMergeInst, mergeInst); in ProcessStructured() 130 if (Instruction* mergeInst = block->GetMergeInst()) { in ProcessStructured() local 133 state_.emplace_back(loopMergeInst, mergeInst); in ProcessStructured()
|
/external/deqp-deps/glslang/SPIRV/ |
D | InReadableOrder.cpp | 78 auto mergeInst = block->getMergeInstruction(); in visit() local 79 if (mergeInst) { in visit() 80 Id mergeId = mergeInst->getIdOperand(0); in visit() 83 if (mergeInst->getOpCode() == spv::OpLoopMerge) { in visit() 84 Id continueId = mergeInst->getIdOperand(1); in visit()
|