Home
last modified time | relevance | path

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

/external/deqp-deps/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()
626 BasicBlock* condition_block = nullptr; in FindConditionBlock() local
655 condition_block = bb; in FindConditionBlock()
658 return condition_block; in FindConditionBlock()
864 const BasicBlock* condition_block) const { in FindConditionVariable()
866 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.cpp747 void LoopUnrollerUtilsImpl::FoldConditionBlock(BasicBlock* condition_block, in FoldConditionBlock() argument
750 Instruction& old_branch = *condition_block->tail(); in FoldConditionBlock()
759 context_, condition_block, in FoldConditionBlock()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dloop_dependence_helpers.cpp252 BasicBlock* condition_block = loop->FindConditionBlock(); in GetTripCount() local
253 if (!condition_block) { in GetTripCount()
256 Instruction* induction_instr = loop->FindConditionVariable(condition_block); in GetTripCount()
270 if (loop->FindNumberOfIterations(induction_instr, &*condition_block->tail(), in GetTripCount()
281 BasicBlock* condition_block = loop->FindConditionBlock(); in GetFirstTripInductionNode() local
282 if (!condition_block) { in GetFirstTripInductionNode()
285 Instruction* induction_instr = loop->FindConditionVariable(condition_block); in GetFirstTripInductionNode()
Dloop_descriptor.cpp147 BasicBlock* condition_block = FindConditionBlock(); in GetConditionInst() local
148 if (!condition_block) { in GetConditionInst()
151 Instruction* branch_conditional = &*condition_block->tail(); in GetConditionInst()
619 BasicBlock* condition_block = nullptr; in FindConditionBlock() local
648 condition_block = bb; in FindConditionBlock()
651 return condition_block; in FindConditionBlock()
857 const BasicBlock* condition_block) const { in FindConditionVariable()
859 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.cpp287 BasicBlock* condition_block = cfg.block(condition_block_id); in GetIteratingExitValues() local
290 [dom_tree, condition_block, this](Instruction* phi) { in GetIteratingExitValues()
302 condition_block)) { in GetIteratingExitValues()
324 BasicBlock* condition_block = cfg.block(condition_block_id); in FixExitCondition() local
325 Instruction* exit_condition = condition_block->terminator(); in FixExitCondition()
327 BasicBlock::iterator insert_point = condition_block->tail(); in FixExitCondition()
328 if (condition_block->GetMergeInst()) { in FixExitCondition()
Dloop_fusion.cpp85 auto condition_block = loop->FindConditionBlock()->id(); in UsedInContinueOrConditionBlock() local
89 [this, condition_block, continue_block](Instruction* instruction) { in UsedInContinueOrConditionBlock()
91 return block_id != condition_block && block_id != continue_block; in UsedInContinueOrConditionBlock()
Dloop_unroller.cpp745 void LoopUnrollerUtilsImpl::FoldConditionBlock(BasicBlock* condition_block, in FoldConditionBlock() argument
748 Instruction& old_branch = *condition_block->tail(); in FoldConditionBlock()
757 context_, condition_block, in FoldConditionBlock()
/external/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.cpp150 BasicBlock* condition_block = FindConditionBlock(); in GetConditionInst() local
151 if (!condition_block) { in GetConditionInst()
154 Instruction* branch_conditional = &*condition_block->tail(); in GetConditionInst()
627 BasicBlock* condition_block = nullptr; in FindConditionBlock() local
656 condition_block = bb; in FindConditionBlock()
659 return condition_block; in FindConditionBlock()
865 const BasicBlock* condition_block) const { in FindConditionVariable()
867 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.cpp288 BasicBlock* condition_block = cfg.block(condition_block_id); in GetIteratingExitValues() local
291 [dom_tree, condition_block, this](Instruction* phi) { in GetIteratingExitValues()
303 condition_block)) { in GetIteratingExitValues()
325 BasicBlock* condition_block = cfg.block(condition_block_id); in FixExitCondition() local
326 Instruction* exit_condition = condition_block->terminator(); in FixExitCondition()
328 BasicBlock::iterator insert_point = condition_block->tail(); in FixExitCondition()
329 if (condition_block->GetMergeInst()) { in FixExitCondition()
Dloop_fusion.cpp85 auto condition_block = loop->FindConditionBlock()->id(); in UsedInContinueOrConditionBlock() local
89 [this, condition_block, continue_block](Instruction* instruction) { in UsedInContinueOrConditionBlock()
91 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()