Home
last modified time | relevance | path

Searched refs:SwitchBB (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DIndirectBrExpandPass.cpp197 BasicBlock *SwitchBB; in runImpl() local
222 SwitchBB = IBr->getParent(); in runImpl()
236 SwitchBB = BasicBlock::Create(F.getContext(), "switch_bb", &F); in runImpl()
238 "switch_value_phi", SwitchBB); in runImpl()
247 BranchInst::Create(SwitchBB, IBr->getIterator()); in runImpl()
249 Updates.push_back({DominatorTree::Insert, IBr->getParent(), SwitchBB}); in runImpl()
259 auto *SI = SwitchInst::Create(SwitchValue, BBs[0], BBs.size(), SwitchBB); in runImpl()
272 Updates.push_back({DominatorTree::Insert, SwitchBB, BB}); in runImpl()
H A DCodeGenPrepare.cpp7485 BasicBlock *SwitchBB = SI->getParent(); in optimizeSwitchPhiConstants() local
7518 if (PHI.getIncomingBlock(I) != SwitchBB) in optimizeSwitchPhiConstants()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DPredicateInfo.h164 PredicateSwitch(Value *Op, BasicBlock *SwitchBB, BasicBlock *TargetBB,
166 : PredicateWithEdge(PT_Switch, Op, SwitchBB, TargetBB, in PredicateSwitch()
165 PredicateSwitch(Value * Op,BasicBlock * SwitchBB,BasicBlock * TargetBB,Value * CaseValue,SwitchInst * SI) PredicateSwitch() argument
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h395 MachineBasicBlock *SwitchBB,
401 MachineBasicBlock *SwitchBB,
522 void visitSwitchCase(SwitchCG::CaseBlock &CB, MachineBasicBlock *SwitchBB);
527 MachineBasicBlock *SwitchBB);
530 SwitchCG::BitTestCase &B, MachineBasicBlock *SwitchBB);
534 MachineBasicBlock *SwitchBB);
H A DSelectionDAGBuilder.cpp2431 MachineBasicBlock *SwitchBB, in EmitBranchForMergedCondition() argument
2443 if (CurBB == SwitchBB || in EmitBranchForMergedCondition()
2624 MachineBasicBlock *SwitchBB, in FindMergedConditions() argument
2634 FindMergedConditions(NotCond, TBB, FBB, CurBB, SwitchBB, Opc, TProb, FProb, in FindMergedConditions()
2667 EmitBranchForMergedCondition(Cond, TBB, FBB, CurBB, SwitchBB, in FindMergedConditions()
2702 FindMergedConditions(BOpOp0, TBB, TmpBB, CurBB, SwitchBB, Opc, NewTrueProb, in FindMergedConditions()
2709 FindMergedConditions(BOpOp1, TBB, FBB, TmpBB, SwitchBB, Opc, Probs[0], in FindMergedConditions()
2735 FindMergedConditions(BOpOp0, TmpBB, FBB, CurBB, SwitchBB, Opc, NewTrueProb, in FindMergedConditions()
2742 FindMergedConditions(BOpOp1, TBB, FBB, TmpBB, SwitchBB, Opc, Probs[0], in FindMergedConditions()
2884 MachineBasicBlock *SwitchBB) { in visitSwitchCase() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp385 MachineBasicBlock *CurBB, MachineBasicBlock *SwitchBB, in emitBranchForMergedCondition() argument
421 MachineBasicBlock *CurBB, MachineBasicBlock *SwitchBB, in findMergedConditions() argument
432 findMergedConditions(NotCond, TBB, FBB, CurBB, SwitchBB, Opc, TProb, FProb, in findMergedConditions()
465 emitBranchForMergedCondition(Cond, TBB, FBB, CurBB, SwitchBB, TProb, FProb, in findMergedConditions()
500 findMergedConditions(BOpOp0, TBB, TmpBB, CurBB, SwitchBB, Opc, NewTrueProb, in findMergedConditions()
507 findMergedConditions(BOpOp1, TBB, FBB, TmpBB, SwitchBB, Opc, Probs[0], in findMergedConditions()
533 findMergedConditions(BOpOp0, TmpBB, FBB, CurBB, SwitchBB, Opc, NewTrueProb, in findMergedConditions()
540 findMergedConditions(BOpOp1, TBB, FBB, TmpBB, SwitchBB, Opc, Probs[0], in findMergedConditions()
898 MachineBasicBlock *SwitchBB, in emitSwitchCase() argument
909 addMachineCFGPred({SwitchBB->getBasicBlock(), CB.TrueBB->getBasicBlock()}, in emitSwitchCase()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h369 MachineBasicBlock *SwitchBB,
376 MachineBasicBlock *SwitchBB,
390 void emitSwitchCase(SwitchCG::CaseBlock &CB, MachineBasicBlock *SwitchBB,
400 SwitchCG::BitTestCase &B, MachineBasicBlock *SwitchBB);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp797 auto *SwitchBB = in replaceEntryBlock() local
799 Builder.CreateBr(SwitchBB); in replaceEntryBlock()