Home
last modified time | relevance | path

Searched refs:loop_merge_inst (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity_finder.cpp45 auto loop_merge_inst = block.GetLoopMergeInst(); in GetAvailableOpportunities() local
46 if (!loop_merge_inst) { in GetAvailableOpportunities()
52 loop_merge_inst->GetSingleWordOperand(kContinueNodeIndex); in GetAvailableOpportunities()
71 loop_merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in GetAvailableOpportunities()
Dstructured_loop_to_selection_reduction_opportunity.cpp179 auto loop_merge_inst = loop_construct_header_->GetLoopMergeInst(); in ChangeLoopToSelection() local
181 loop_merge_inst->GetSingleWordOperand(kMergeNodeIndex); in ChangeLoopToSelection()
182 loop_merge_inst->SetOpcode(SpvOpSelectionMerge); in ChangeLoopToSelection()
183 loop_merge_inst->ReplaceOperands( in ChangeLoopToSelection()
184 {{loop_merge_inst->GetOperand(kMergeNodeIndex).type, in ChangeLoopToSelection()
/third_party/spirv-tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity_finder.cpp45 auto loop_merge_inst = block.GetLoopMergeInst(); in GetAvailableOpportunities() local
46 if (!loop_merge_inst) { in GetAvailableOpportunities()
52 loop_merge_inst->GetSingleWordOperand(kContinueNodeIndex); in GetAvailableOpportunities()
71 loop_merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in GetAvailableOpportunities()
Dstructured_loop_to_selection_reduction_opportunity.cpp182 auto loop_merge_inst = loop_construct_header_->GetLoopMergeInst(); in ChangeLoopToSelection() local
184 loop_merge_inst->GetSingleWordOperand(kMergeNodeIndex); in ChangeLoopToSelection()
185 loop_merge_inst->SetOpcode(SpvOpSelectionMerge); in ChangeLoopToSelection()
186 loop_merge_inst->ReplaceOperands( in ChangeLoopToSelection()
187 {{loop_merge_inst->GetOperand(kMergeNodeIndex).type, in ChangeLoopToSelection()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity_finder.cpp45 auto loop_merge_inst = block.GetLoopMergeInst(); in GetAvailableOpportunities() local
46 if (!loop_merge_inst) { in GetAvailableOpportunities()
52 loop_merge_inst->GetSingleWordOperand(kContinueNodeIndex); in GetAvailableOpportunities()
71 loop_merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in GetAvailableOpportunities()
Dstructured_loop_to_selection_reduction_opportunity.cpp179 auto loop_merge_inst = loop_construct_header_->GetLoopMergeInst(); in ChangeLoopToSelection() local
181 loop_merge_inst->GetSingleWordOperand(kMergeNodeIndex); in ChangeLoopToSelection()
182 loop_merge_inst->SetOpcode(SpvOpSelectionMerge); in ChangeLoopToSelection()
183 loop_merge_inst->ReplaceOperands( in ChangeLoopToSelection()
184 {{loop_merge_inst->GetOperand(kMergeNodeIndex).type, in ChangeLoopToSelection()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dloop_unroller.cpp521 Instruction* loop_merge_inst = loop->GetHeaderBlock()->GetLoopMergeInst(); in MarkLoopControlAsDontUnroll() local
522 assert(loop_merge_inst && in MarkLoopControlAsDontUnroll()
525 loop_merge_inst->SetInOperand(kLoopControlIndex, in MarkLoopControlAsDontUnroll()
/third_party/spirv-tools/source/opt/
Dloop_unroller.cpp521 Instruction* loop_merge_inst = loop->GetHeaderBlock()->GetLoopMergeInst(); in MarkLoopControlAsDontUnroll() local
522 assert(loop_merge_inst && in MarkLoopControlAsDontUnroll()
525 loop_merge_inst->SetInOperand(kLoopControlIndex, in MarkLoopControlAsDontUnroll()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_unroller.cpp521 Instruction* loop_merge_inst = loop->GetHeaderBlock()->GetLoopMergeInst(); in MarkLoopControlAsDontUnroll() local
522 assert(loop_merge_inst && in MarkLoopControlAsDontUnroll()
525 loop_merge_inst->SetInOperand(kLoopControlIndex, in MarkLoopControlAsDontUnroll()