/third_party/glslang/SPIRV/ |
D | InReadableOrder.cpp | 83 auto mergeInst = block->getMergeInstruction(); in visit() local 84 if (mergeInst) { in visit() 85 Id mergeId = mergeInst->getIdOperand(0); in visit() 88 if (mergeInst->getOpCode() == spv::OpLoopMerge) { in visit() 89 Id continueId = mergeInst->getIdOperand(1); in visit()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/ |
D | dead_branch_elim_pass.cpp | 157 ir::Instruction** branchInst, ir::Instruction** mergeInst, in GetConstConditionalSelectionBranch() argument 167 *mergeInst = &*ii; in GetConstConditionalSelectionBranch() 168 if ((*mergeInst)->opcode() != SpvOpSelectionMerge) in GetConstConditionalSelectionBranch() 200 ir::Instruction* mergeInst; in EliminateDeadBranches() local 203 if (!GetConstConditionalSelectionBranch(*bi, &br, &mergeInst, &condId, in EliminateDeadBranches() 213 mergeInst->GetSingleWordInOperand(kSelectionMergeMergeBlockIdInIdx); in EliminateDeadBranches() 218 def_use_mgr_->KillInst(mergeInst); in EliminateDeadBranches()
|
D | local_ssa_elim_pass.cpp | 398 auto mergeInst = (*block_itr)->end(); in SSABlockInitLoopHeader() local 399 --mergeInst; in SSABlockInitLoopHeader() 400 --mergeInst; in SSABlockInitLoopHeader() 401 uint32_t mergeLabel = mergeInst->GetSingleWordInOperand( in SSABlockInitLoopHeader()
|
D | dead_branch_elim_pass.h | 94 ir::Instruction** branchInst, ir::Instruction** mergeInst,
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | aggressive_dead_code_elim_pass.cpp | 210 Instruction* mergeInst) { in AddBreaksAndContinuesToWorklist() argument 211 assert(mergeInst->opcode() == SpvOpSelectionMerge || in AddBreaksAndContinuesToWorklist() 212 mergeInst->opcode() == SpvOpLoopMerge); in AddBreaksAndContinuesToWorklist() 214 BasicBlock* header = context()->get_instr_block(mergeInst); in AddBreaksAndContinuesToWorklist() 215 const uint32_t mergeId = mergeInst->GetSingleWordInOperand(0); in AddBreaksAndContinuesToWorklist() 228 if (mergeInst->opcode() != SpvOpLoopMerge) { in AddBreaksAndContinuesToWorklist() 234 mergeInst->GetSingleWordInOperand(kLoopMergeContinueBlockIdInIdx); in AddBreaksAndContinuesToWorklist() 490 Instruction* mergeInst = GetMergeInstruction(next_branch_inst); in MarkBlockAsLive() local 491 AddToWorklist(mergeInst); in MarkBlockAsLive()
|
D | merge_return_pass.cpp | 76 if (Instruction* mergeInst = block->GetMergeInst()) { in GenerateState() local 77 if (mergeInst->opcode() == SpvOpLoopMerge) { in GenerateState() 79 state_.emplace_back(mergeInst, mergeInst); in GenerateState() 81 auto branchInst = mergeInst->NextNode(); in GenerateState() 87 state_.emplace_back(lastMergeInst, mergeInst); in GenerateState() 89 state_.emplace_back(mergeInst, mergeInst); in GenerateState() 95 state_.emplace_back(lastMergeInst, mergeInst); in GenerateState()
|
D | aggressive_dead_code_elim_pass.h | 114 void AddBreaksAndContinuesToWorklist(Instruction* mergeInst);
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | aggressive_dead_code_elim_pass.cpp | 210 Instruction* mergeInst) { in AddBreaksAndContinuesToWorklist() argument 211 assert(mergeInst->opcode() == SpvOpSelectionMerge || in AddBreaksAndContinuesToWorklist() 212 mergeInst->opcode() == SpvOpLoopMerge); in AddBreaksAndContinuesToWorklist() 214 BasicBlock* header = context()->get_instr_block(mergeInst); in AddBreaksAndContinuesToWorklist() 215 const uint32_t mergeId = mergeInst->GetSingleWordInOperand(0); in AddBreaksAndContinuesToWorklist() 228 if (mergeInst->opcode() != SpvOpLoopMerge) { in AddBreaksAndContinuesToWorklist() 234 mergeInst->GetSingleWordInOperand(kLoopMergeContinueBlockIdInIdx); in AddBreaksAndContinuesToWorklist() 490 Instruction* mergeInst = GetMergeInstruction(next_branch_inst); in MarkBlockAsLive() local 491 AddToWorklist(mergeInst); in MarkBlockAsLive()
|
D | merge_return_pass.cpp | 76 if (Instruction* mergeInst = block->GetMergeInst()) { in GenerateState() local 77 if (mergeInst->opcode() == SpvOpLoopMerge) { in GenerateState() 79 state_.emplace_back(mergeInst, mergeInst); in GenerateState() 81 auto branchInst = mergeInst->NextNode(); in GenerateState() 87 state_.emplace_back(lastMergeInst, mergeInst); in GenerateState() 89 state_.emplace_back(mergeInst, mergeInst); in GenerateState() 95 state_.emplace_back(lastMergeInst, mergeInst); in GenerateState()
|
D | aggressive_dead_code_elim_pass.h | 114 void AddBreaksAndContinuesToWorklist(Instruction* mergeInst);
|
/third_party/spirv-tools/source/opt/ |
D | aggressive_dead_code_elim_pass.cpp | 208 Instruction* mergeInst) { in AddBreaksAndContinuesToWorklist() argument 209 assert(mergeInst->opcode() == SpvOpSelectionMerge || in AddBreaksAndContinuesToWorklist() 210 mergeInst->opcode() == SpvOpLoopMerge); in AddBreaksAndContinuesToWorklist() 212 BasicBlock* header = context()->get_instr_block(mergeInst); in AddBreaksAndContinuesToWorklist() 213 const uint32_t mergeId = mergeInst->GetSingleWordInOperand(0); in AddBreaksAndContinuesToWorklist() 226 if (mergeInst->opcode() != SpvOpLoopMerge) { in AddBreaksAndContinuesToWorklist() 232 mergeInst->GetSingleWordInOperand(kLoopMergeContinueBlockIdInIdx); in AddBreaksAndContinuesToWorklist() 490 Instruction* mergeInst = GetMergeInstruction(next_branch_inst); in MarkBlockAsLive() local 491 AddToWorklist(mergeInst); in MarkBlockAsLive()
|
D | merge_return_pass.cpp | 76 if (Instruction* mergeInst = block->GetMergeInst()) { in GenerateState() local 77 if (mergeInst->opcode() == SpvOpLoopMerge) { in GenerateState() 79 state_.emplace_back(mergeInst, mergeInst); in GenerateState() 81 auto branchInst = mergeInst->NextNode(); in GenerateState() 87 state_.emplace_back(lastMergeInst, mergeInst); in GenerateState() 89 state_.emplace_back(mergeInst, mergeInst); in GenerateState() 95 state_.emplace_back(lastMergeInst, mergeInst); in GenerateState()
|
D | aggressive_dead_code_elim_pass.h | 114 void AddBreaksAndContinuesToWorklist(Instruction* mergeInst);
|