Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DIndirectBrExpandPass.cpp170 BasicBlock *SwitchBB; in runOnFunction() local
191 SwitchBB = IndirectBrs[0]->getParent(); in runOnFunction()
198 SwitchBB = BasicBlock::Create(F.getContext(), "switch_bb", &F); in runOnFunction()
200 "switch_value_phi", SwitchBB); in runOnFunction()
207 BranchInst::Create(SwitchBB, IBr); in runOnFunction()
214 auto *SI = SwitchInst::Create(SwitchValue, BBs[0], BBs.size(), SwitchBB); in runOnFunction()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h408 MachineBasicBlock *SwitchBB, unsigned Opc);
412 MachineBasicBlock *SwitchBB);
437 MachineBasicBlock *SwitchBB);
442 MachineBasicBlock *SwitchBB);
447 MachineBasicBlock *SwitchBB);
452 MachineBasicBlock *SwitchBB);
459 MachineBasicBlock *SwitchBB);
460 void visitBitTestHeader(BitTestBlock &B, MachineBasicBlock *SwitchBB);
465 MachineBasicBlock *SwitchBB);
468 MachineBasicBlock *SwitchBB);
DSelectionDAGBuilder.cpp1322 MachineBasicBlock *SwitchBB) { in EmitBranchForMergedCondition() argument
1331 if (CurBB == SwitchBB || in EmitBranchForMergedCondition()
1362 MachineBasicBlock *SwitchBB, in FindMergedConditions() argument
1371 EmitBranchForMergedCondition(Cond, TBB, FBB, CurBB, SwitchBB); in FindMergedConditions()
1391 FindMergedConditions(BOp->getOperand(0), TBB, TmpBB, CurBB, SwitchBB, Opc); in FindMergedConditions()
1394 FindMergedConditions(BOp->getOperand(1), TBB, FBB, TmpBB, SwitchBB, Opc); in FindMergedConditions()
1407 FindMergedConditions(BOp->getOperand(0), TmpBB, FBB, CurBB, SwitchBB, Opc); in FindMergedConditions()
1410 FindMergedConditions(BOp->getOperand(1), TBB, FBB, TmpBB, SwitchBB, Opc); in FindMergedConditions()
1537 MachineBasicBlock *SwitchBB) { in visitSwitchCase() argument
1576 addSuccessorWithWeight(SwitchBB, CB.TrueBB, CB.TrueWeight); in visitSwitchCase()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h690 MachineBasicBlock *SwitchBB,
696 MachineBasicBlock *SwitchBB,
807 MachineBasicBlock *SwitchBB);
811 void visitBitTestHeader(BitTestBlock &B, MachineBasicBlock *SwitchBB);
817 MachineBasicBlock *SwitchBB);
820 MachineBasicBlock *SwitchBB);
DSelectionDAGBuilder.cpp1620 MachineBasicBlock *SwitchBB, in EmitBranchForMergedCondition() argument
1631 if (CurBB == SwitchBB || in EmitBranchForMergedCondition()
1662 MachineBasicBlock *SwitchBB, in FindMergedConditions() argument
1673 EmitBranchForMergedCondition(Cond, TBB, FBB, CurBB, SwitchBB, in FindMergedConditions()
1708 FindMergedConditions(BOp->getOperand(0), TBB, TmpBB, CurBB, SwitchBB, Opc, in FindMergedConditions()
1715 FindMergedConditions(BOp->getOperand(1), TBB, FBB, TmpBB, SwitchBB, Opc, in FindMergedConditions()
1741 FindMergedConditions(BOp->getOperand(0), TmpBB, FBB, CurBB, SwitchBB, Opc, in FindMergedConditions()
1748 FindMergedConditions(BOp->getOperand(1), TBB, FBB, TmpBB, SwitchBB, Opc, in FindMergedConditions()
1873 MachineBasicBlock *SwitchBB) { in visitSwitchCase() argument
1912 addSuccessorWithProb(SwitchBB, CB.TrueBB, CB.TrueProb); in visitSwitchCase()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h714 MachineBasicBlock *SwitchBB,
720 MachineBasicBlock *SwitchBB,
837 MachineBasicBlock *SwitchBB);
841 void visitBitTestHeader(BitTestBlock &B, MachineBasicBlock *SwitchBB);
847 MachineBasicBlock *SwitchBB);
850 MachineBasicBlock *SwitchBB);
DSelectionDAGBuilder.cpp1767 MachineBasicBlock *SwitchBB, in EmitBranchForMergedCondition() argument
1779 if (CurBB == SwitchBB || in EmitBranchForMergedCondition()
1815 MachineBasicBlock *SwitchBB, in FindMergedConditions() argument
1825 FindMergedConditions(CondOp, TBB, FBB, CurBB, SwitchBB, Opc, TProb, FProb, in FindMergedConditions()
1854 EmitBranchForMergedCondition(Cond, TBB, FBB, CurBB, SwitchBB, in FindMergedConditions()
1889 FindMergedConditions(BOp->getOperand(0), TBB, TmpBB, CurBB, SwitchBB, Opc, in FindMergedConditions()
1896 FindMergedConditions(BOp->getOperand(1), TBB, FBB, TmpBB, SwitchBB, Opc, in FindMergedConditions()
1922 FindMergedConditions(BOp->getOperand(0), TmpBB, FBB, CurBB, SwitchBB, Opc, in FindMergedConditions()
1929 FindMergedConditions(BOp->getOperand(1), TBB, FBB, TmpBB, SwitchBB, Opc, in FindMergedConditions()
2054 MachineBasicBlock *SwitchBB) { in visitSwitchCase() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DPredicateInfo.h182 PredicateSwitch(Value *Op, BasicBlock *SwitchBB, BasicBlock *TargetBB, in PredicateSwitch() argument
184 : PredicateWithEdge(PT_Switch, Op, SwitchBB, TargetBB, in PredicateSwitch()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroSplit.cpp280 auto *SwitchBB = cast<BasicBlock>(VMap[ResumeEntry]); in createClone() local
284 BranchInst::Create(SwitchBB, Entry); in createClone()