Home
last modified time | relevance | path

Searched refs:condition_block (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dloop_dependence_helpers.cpp254 BasicBlock* condition_block = loop->FindConditionBlock(); in GetTripCount() local
255 if (!condition_block) { in GetTripCount()
258 Instruction* induction_instr = loop->FindConditionVariable(condition_block); in GetTripCount()
272 if (loop->FindNumberOfIterations(induction_instr, &*condition_block->tail(), in GetTripCount()
283 BasicBlock* condition_block = loop->FindConditionBlock(); in GetFirstTripInductionNode() local
284 if (!condition_block) { in GetFirstTripInductionNode()
287 Instruction* induction_instr = loop->FindConditionVariable(condition_block); in GetFirstTripInductionNode()
Dloop_descriptor.cpp149 BasicBlock* condition_block = FindConditionBlock(); in GetConditionInst() local
150 if (!condition_block) { in GetConditionInst()
153 Instruction* branch_conditional = &*condition_block->tail(); in GetConditionInst()
625 BasicBlock* condition_block = nullptr; in FindConditionBlock() local
654 condition_block = bb; in FindConditionBlock()
657 return condition_block; in FindConditionBlock()
859 const BasicBlock* condition_block) const { in FindConditionVariable()
861 const Instruction& branch_inst = *condition_block->ctail(); in FindConditionVariable()
Dloop_fission.cpp193 BasicBlock* condition_block = loop_->FindConditionBlock(); in GroupInstructionsByUseDef() local
195 if (!condition_block) return false; in GroupInstructionsByUseDef()
196 Instruction* condition = &*condition_block->tail(); in GroupInstructionsByUseDef()
Dloop_peeling.cpp286 BasicBlock* condition_block = cfg.block(condition_block_id); in GetIteratingExitValues() local
289 [dom_tree, condition_block, this](Instruction* phi) { in GetIteratingExitValues()
301 condition_block)) { in GetIteratingExitValues()
323 BasicBlock* condition_block = cfg.block(condition_block_id); in FixExitCondition() local
324 Instruction* exit_condition = condition_block->terminator(); in FixExitCondition()
326 BasicBlock::iterator insert_point = condition_block->tail(); in FixExitCondition()
327 if (condition_block->GetMergeInst()) { in FixExitCondition()
Dloop_fusion.cpp86 auto condition_block = loop->FindConditionBlock()->id(); in UsedInContinueOrConditionBlock() local
90 [this, condition_block, continue_block](Instruction* instruction) { in UsedInContinueOrConditionBlock()
92 return block_id != condition_block && block_id != continue_block; in UsedInContinueOrConditionBlock()
Dloop_unroller.cpp746 void LoopUnrollerUtilsImpl::FoldConditionBlock(BasicBlock* condition_block, in FoldConditionBlock() argument
749 Instruction& old_branch = *condition_block->tail(); in FoldConditionBlock()
758 context_, condition_block, in FoldConditionBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_dependence_helpers.cpp254 BasicBlock* condition_block = loop->FindConditionBlock(); in GetTripCount() local
255 if (!condition_block) { in GetTripCount()
258 Instruction* induction_instr = loop->FindConditionVariable(condition_block); in GetTripCount()
272 if (loop->FindNumberOfIterations(induction_instr, &*condition_block->tail(), in GetTripCount()
283 BasicBlock* condition_block = loop->FindConditionBlock(); in GetFirstTripInductionNode() local
284 if (!condition_block) { in GetFirstTripInductionNode()
287 Instruction* induction_instr = loop->FindConditionVariable(condition_block); in GetFirstTripInductionNode()
Dloop_descriptor.cpp149 BasicBlock* condition_block = FindConditionBlock(); in GetConditionInst() local
150 if (!condition_block) { in GetConditionInst()
153 Instruction* branch_conditional = &*condition_block->tail(); in GetConditionInst()
625 BasicBlock* condition_block = nullptr; in FindConditionBlock() local
654 condition_block = bb; in FindConditionBlock()
657 return condition_block; in FindConditionBlock()
859 const BasicBlock* condition_block) const { in FindConditionVariable()
861 const Instruction& branch_inst = *condition_block->ctail(); in FindConditionVariable()
Dloop_fission.cpp193 BasicBlock* condition_block = loop_->FindConditionBlock(); in GroupInstructionsByUseDef() local
195 if (!condition_block) return false; in GroupInstructionsByUseDef()
196 Instruction* condition = &*condition_block->tail(); in GroupInstructionsByUseDef()
Dloop_peeling.cpp286 BasicBlock* condition_block = cfg.block(condition_block_id); in GetIteratingExitValues() local
289 [dom_tree, condition_block, this](Instruction* phi) { in GetIteratingExitValues()
301 condition_block)) { in GetIteratingExitValues()
323 BasicBlock* condition_block = cfg.block(condition_block_id); in FixExitCondition() local
324 Instruction* exit_condition = condition_block->terminator(); in FixExitCondition()
326 BasicBlock::iterator insert_point = condition_block->tail(); in FixExitCondition()
327 if (condition_block->GetMergeInst()) { in FixExitCondition()
Dloop_fusion.cpp86 auto condition_block = loop->FindConditionBlock()->id(); in UsedInContinueOrConditionBlock() local
90 [this, condition_block, continue_block](Instruction* instruction) { in UsedInContinueOrConditionBlock()
92 return block_id != condition_block && block_id != continue_block; in UsedInContinueOrConditionBlock()
Dloop_unroller.cpp746 void LoopUnrollerUtilsImpl::FoldConditionBlock(BasicBlock* condition_block, in FoldConditionBlock() argument
749 Instruction& old_branch = *condition_block->tail(); in FoldConditionBlock()
758 context_, condition_block, in FoldConditionBlock()
/third_party/spirv-tools/source/opt/
Dloop_dependence_helpers.cpp254 BasicBlock* condition_block = loop->FindConditionBlock(); in GetTripCount() local
255 if (!condition_block) { in GetTripCount()
258 Instruction* induction_instr = loop->FindConditionVariable(condition_block); in GetTripCount()
272 if (loop->FindNumberOfIterations(induction_instr, &*condition_block->tail(), in GetTripCount()
283 BasicBlock* condition_block = loop->FindConditionBlock(); in GetFirstTripInductionNode() local
284 if (!condition_block) { in GetFirstTripInductionNode()
287 Instruction* induction_instr = loop->FindConditionVariable(condition_block); in GetFirstTripInductionNode()
Dloop_descriptor.cpp149 BasicBlock* condition_block = FindConditionBlock(); in GetConditionInst() local
150 if (!condition_block) { in GetConditionInst()
153 Instruction* branch_conditional = &*condition_block->tail(); in GetConditionInst()
625 BasicBlock* condition_block = nullptr; in FindConditionBlock() local
654 condition_block = bb; in FindConditionBlock()
657 return condition_block; in FindConditionBlock()
859 const BasicBlock* condition_block) const { in FindConditionVariable()
861 const Instruction& branch_inst = *condition_block->ctail(); in FindConditionVariable()
Dloop_fission.cpp193 BasicBlock* condition_block = loop_->FindConditionBlock(); in GroupInstructionsByUseDef() local
195 if (!condition_block) return false; in GroupInstructionsByUseDef()
196 Instruction* condition = &*condition_block->tail(); in GroupInstructionsByUseDef()
Dloop_peeling.cpp286 BasicBlock* condition_block = cfg.block(condition_block_id); in GetIteratingExitValues() local
289 [dom_tree, condition_block, this](Instruction* phi) { in GetIteratingExitValues()
301 condition_block)) { in GetIteratingExitValues()
323 BasicBlock* condition_block = cfg.block(condition_block_id); in FixExitCondition() local
324 Instruction* exit_condition = condition_block->terminator(); in FixExitCondition()
326 BasicBlock::iterator insert_point = condition_block->tail(); in FixExitCondition()
327 if (condition_block->GetMergeInst()) { in FixExitCondition()
Dloop_fusion.cpp86 auto condition_block = loop->FindConditionBlock()->id(); in UsedInContinueOrConditionBlock() local
90 [this, condition_block, continue_block](Instruction* instruction) { in UsedInContinueOrConditionBlock()
92 return block_id != condition_block && block_id != continue_block; in UsedInContinueOrConditionBlock()
Dloop_unroller.cpp746 void LoopUnrollerUtilsImpl::FoldConditionBlock(BasicBlock* condition_block, in FoldConditionBlock() argument
749 Instruction& old_branch = *condition_block->tail(); in FoldConditionBlock()
758 context_, condition_block, in FoldConditionBlock()