Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIndirectBrExpandPass.cpp168 BasicBlock *SwitchBB; in runOnFunction() local
189 SwitchBB = IndirectBrs[0]->getParent(); in runOnFunction()
196 SwitchBB = BasicBlock::Create(F.getContext(), "switch_bb", &F); in runOnFunction()
198 "switch_value_phi", SwitchBB); in runOnFunction()
205 BranchInst::Create(SwitchBB, IBr); in runOnFunction()
212 auto *SI = SwitchInst::Create(SwitchValue, BBs[0], BBs.size(), SwitchBB); in runOnFunction()
/external/llvm-project/llvm/lib/CodeGen/
DIndirectBrExpandPass.cpp168 BasicBlock *SwitchBB; in runOnFunction() local
189 SwitchBB = IndirectBrs[0]->getParent(); in runOnFunction()
196 SwitchBB = BasicBlock::Create(F.getContext(), "switch_bb", &F); in runOnFunction()
198 "switch_value_phi", SwitchBB); in runOnFunction()
205 BranchInst::Create(SwitchBB, IBr); in runOnFunction()
212 auto *SI = SwitchInst::Create(SwitchValue, BBs[0], BBs.size(), SwitchBB); in runOnFunction()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h538 MachineBasicBlock *SwitchBB,
544 MachineBasicBlock *SwitchBB,
660 void visitSwitchCase(SwitchCG::CaseBlock &CB, MachineBasicBlock *SwitchBB);
665 MachineBasicBlock *SwitchBB);
668 SwitchCG::BitTestCase &B, MachineBasicBlock *SwitchBB);
672 MachineBasicBlock *SwitchBB);
DSelectionDAGBuilder.cpp2025 MachineBasicBlock *SwitchBB, in EmitBranchForMergedCondition() argument
2037 if (CurBB == SwitchBB || in EmitBranchForMergedCondition()
2072 MachineBasicBlock *SwitchBB, in FindMergedConditions() argument
2082 FindMergedConditions(NotCond, TBB, FBB, CurBB, SwitchBB, Opc, TProb, FProb, in FindMergedConditions()
2110 EmitBranchForMergedCondition(Cond, TBB, FBB, CurBB, SwitchBB, in FindMergedConditions()
2145 FindMergedConditions(BOp->getOperand(0), TBB, TmpBB, CurBB, SwitchBB, Opc, in FindMergedConditions()
2152 FindMergedConditions(BOp->getOperand(1), TBB, FBB, TmpBB, SwitchBB, Opc, in FindMergedConditions()
2178 FindMergedConditions(BOp->getOperand(0), TmpBB, FBB, CurBB, SwitchBB, Opc, in FindMergedConditions()
2185 FindMergedConditions(BOp->getOperand(1), TBB, FBB, TmpBB, SwitchBB, Opc, in FindMergedConditions()
2315 MachineBasicBlock *SwitchBB) { in visitSwitchCase() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h547 MachineBasicBlock *SwitchBB,
553 MachineBasicBlock *SwitchBB,
669 void visitSwitchCase(SwitchCG::CaseBlock &CB, MachineBasicBlock *SwitchBB);
674 MachineBasicBlock *SwitchBB);
677 SwitchCG::BitTestCase &B, MachineBasicBlock *SwitchBB);
681 MachineBasicBlock *SwitchBB);
DSelectionDAGBuilder.cpp2057 MachineBasicBlock *SwitchBB, in EmitBranchForMergedCondition() argument
2069 if (CurBB == SwitchBB || in EmitBranchForMergedCondition()
2104 MachineBasicBlock *SwitchBB, in FindMergedConditions() argument
2114 FindMergedConditions(NotCond, TBB, FBB, CurBB, SwitchBB, Opc, TProb, FProb, in FindMergedConditions()
2142 EmitBranchForMergedCondition(Cond, TBB, FBB, CurBB, SwitchBB, in FindMergedConditions()
2177 FindMergedConditions(BOp->getOperand(0), TBB, TmpBB, CurBB, SwitchBB, Opc, in FindMergedConditions()
2184 FindMergedConditions(BOp->getOperand(1), TBB, FBB, TmpBB, SwitchBB, Opc, in FindMergedConditions()
2210 FindMergedConditions(BOp->getOperand(0), TmpBB, FBB, CurBB, SwitchBB, Opc, in FindMergedConditions()
2217 FindMergedConditions(BOp->getOperand(1), TBB, FBB, TmpBB, SwitchBB, Opc, in FindMergedConditions()
2342 MachineBasicBlock *SwitchBB) { in visitSwitchCase() argument
[all …]
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DPredicateInfo.h165 PredicateSwitch(Value *Op, BasicBlock *SwitchBB, BasicBlock *TargetBB, in PredicateSwitch() argument
167 : PredicateWithEdge(PT_Switch, Op, SwitchBB, TargetBB, in PredicateSwitch()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp374 MachineBasicBlock *CurBB, MachineBasicBlock *SwitchBB, in emitBranchForMergedCondition() argument
410 MachineBasicBlock *CurBB, MachineBasicBlock *SwitchBB, in findMergedConditions() argument
421 findMergedConditions(NotCond, TBB, FBB, CurBB, SwitchBB, Opc, TProb, FProb, in findMergedConditions()
449 emitBranchForMergedCondition(Cond, TBB, FBB, CurBB, SwitchBB, TProb, FProb, in findMergedConditions()
484 findMergedConditions(BOp->getOperand(0), TBB, TmpBB, CurBB, SwitchBB, Opc, in findMergedConditions()
491 findMergedConditions(BOp->getOperand(1), TBB, FBB, TmpBB, SwitchBB, Opc, in findMergedConditions()
517 findMergedConditions(BOp->getOperand(0), TmpBB, FBB, CurBB, SwitchBB, Opc, in findMergedConditions()
524 findMergedConditions(BOp->getOperand(1), TBB, FBB, TmpBB, SwitchBB, Opc, in findMergedConditions()
804 MachineBasicBlock *SwitchBB, in emitSwitchCase() argument
815 addMachineCFGPred({SwitchBB->getBasicBlock(), CB.TrueBB->getBasicBlock()}, in emitSwitchCase()
[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-10.0/llvm/include/llvm/Transforms/Utils/
DPredicateInfo.h181 PredicateSwitch(Value *Op, BasicBlock *SwitchBB, BasicBlock *TargetBB, in PredicateSwitch() argument
183 : PredicateWithEdge(PT_Switch, Op, SwitchBB, TargetBB, in PredicateSwitch()
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DIRTranslator.h314 MachineBasicBlock *SwitchBB,
321 MachineBasicBlock *SwitchBB,
335 void emitSwitchCase(SwitchCG::CaseBlock &CB, MachineBasicBlock *SwitchBB,
345 SwitchCG::BitTestCase &B, MachineBasicBlock *SwitchBB);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DIRTranslator.h300 void emitSwitchCase(SwitchCG::CaseBlock &CB, MachineBasicBlock *SwitchBB,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp568 MachineBasicBlock *SwitchBB, in emitSwitchCase() argument
579 addMachineCFGPred({SwitchBB->getBasicBlock(), CB.TrueBB->getBasicBlock()}, in emitSwitchCase()
616 addMachineCFGPred({SwitchBB->getBasicBlock(), CB.TrueBB->getBasicBlock()}, in emitSwitchCase()
626 addMachineCFGPred({SwitchBB->getBasicBlock(), CB.FalseBB->getBasicBlock()}, in emitSwitchCase()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroSplit.cpp591 auto *SwitchBB = in replaceEntryBlock() local
593 Builder.CreateBr(SwitchBB); in replaceEntryBlock()
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroSplit.cpp612 auto *SwitchBB = in replaceEntryBlock() local
614 Builder.CreateBr(SwitchBB); in replaceEntryBlock()