Home
last modified time | relevance | path

Searched refs:IndirectBrInst (Results 1 – 25 of 121) sorted by relevance

12345

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DIndirectBrExpandPass.cpp88 SmallVector<IndirectBrInst *, 1> IndirectBrs; in runOnFunction()
95 if (auto *IBr = dyn_cast<IndirectBrInst>(BB.getTerminator())) { in runOnFunction()
182 auto GetSwitchValue = [DL, CommonITy](IndirectBrInst *IBr) { in runOnFunction()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLoopSimplify.cpp374 if (isa<IndirectBrInst>(P->getTerminator())) return 0; in InsertPreheaderForLoop()
406 if (isa<IndirectBrInst>(P->getTerminator())) return 0; in RewriteLoopExitBlock()
544 if (isa<IndirectBrInst>(PN->getIncomingBlock(i)->getTerminator())) in SeparateNestedLoop()
649 if (isa<IndirectBrInst>(P->getTerminator())) in InsertUniqueBackedgeBlock()
751 if (isa<IndirectBrInst>((*PI)->getTerminator())) { in verifyAnalysis()
766 if (isa<IndirectBrInst>((ExitingBlocks[i])->getTerminator())) { in verifyAnalysis()
DBreakCriticalEdges.cpp72 if (TI->getNumSuccessors() > 1 && !isa<IndirectBrInst>(TI)) in runOnFunction()
174 assert(!isa<IndirectBrInst>(TI) && in SplitCriticalEdge()
359 if (isa<IndirectBrInst>(P->getTerminator())) { in SplitCriticalEdge()
DBasicBlockUtils.cpp471 assert(!isa<IndirectBrInst>(Preds[i]->getTerminator()) && in SplitBlockPredecessors()
533 assert(!isa<IndirectBrInst>(Preds[i]->getTerminator()) && in SplitLandingPadPredecessors()
551 assert(!isa<IndirectBrInst>(Pred->getTerminator()) && in SplitLandingPadPredecessors()
DSimplifyCFG.cpp71 bool SimplifyIndirectBr(IndirectBrInst *IBI);
441 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(TI)) { in EraseTerminatorInstAndDCECond()
1176 if (isa<IndirectBrInst>(PredBB->getTerminator())) continue; in FoldCondBranchOnPHI()
1909 static bool SimplifyIndirectBrOnSelect(IndirectBrInst *IBI, SelectInst *SI) { in SimplifyIndirectBrOnSelect()
2627 bool SimplifyCFGOpt::SimplifyIndirectBr(IndirectBrInst *IBI) { in SimplifyIndirectBr()
2897 } else if (IndirectBrInst *IBI = in run()
2898 dyn_cast<IndirectBrInst>(BB->getTerminator())) { in run()
/external/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp131 if (isa<IndirectBrInst>(P->getTerminator())) return nullptr; in InsertPreheaderForLoop()
167 if (isa<IndirectBrInst>(P->getTerminator())) return nullptr; in rewriteLoopExitBlock()
272 if (isa<IndirectBrInst>(PN->getIncomingBlock(i)->getTerminator())) in separateNestedLoop()
373 if (isa<IndirectBrInst>(P->getTerminator())) in insertUniqueBackedgeBlock()
850 if (isa<IndirectBrInst>((*PI)->getTerminator())) {
865 if (isa<IndirectBrInst>((ExitingBlocks[i])->getTerminator())) {
DBasicBlockUtils.cpp243 if (TI->getNumSuccessors() > 1 && !isa<IndirectBrInst>(TI)) in SplitAllCriticalEdges()
448 assert(!isa<IndirectBrInst>(Preds[i]->getTerminator()) && in SplitBlockPredecessors()
498 assert(!isa<IndirectBrInst>(Preds[i]->getTerminator()) && in SplitLandingPadPredecessors()
516 assert(!isa<IndirectBrInst>(Pred->getTerminator()) && in SplitLandingPadPredecessors()
DEvaluator.cpp490 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(CurInst)) { in EvaluateBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp130 if (isa<IndirectBrInst>(P->getTerminator())) return nullptr; in InsertPreheaderForLoop()
240 if (isa<IndirectBrInst>(PN->getIncomingBlock(i)->getTerminator())) in separateNestedLoop()
362 if (isa<IndirectBrInst>(P->getTerminator())) in insertUniqueBackedgeBlock()
833 if (isa<IndirectBrInst>((*PI)->getTerminator())) {
848 if (isa<IndirectBrInst>((ExitingBlocks[i])->getTerminator())) {
DBasicBlockUtils.cpp296 if (TI->getNumSuccessors() > 1 && !isa<IndirectBrInst>(TI)) in SplitAllCriticalEdges()
515 assert(!isa<IndirectBrInst>(Preds[i]->getTerminator()) && in SplitBlockPredecessors()
567 assert(!isa<IndirectBrInst>(Preds[i]->getTerminator()) && in SplitLandingPadPredecessors()
585 assert(!isa<IndirectBrInst>(Pred->getTerminator()) && in SplitLandingPadPredecessors()
DBreakCriticalEdges.cpp137 assert(!isa<IndirectBrInst>(TI) && in SplitCriticalEdge()
342 auto *IBI = dyn_cast<IndirectBrInst>(BB.getTerminator()); in SplitIndirectBrCriticalEdges()
DEvaluator.cpp599 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(CurInst)) { in EvaluateBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-diff/
DDifferenceEngine.cpp306 } else if (isa<IndirectBrInst>(L)) { in diff()
307 IndirectBrInst *LI = cast<IndirectBrInst>(L); in diff()
308 IndirectBrInst *RI = cast<IndirectBrInst>(R); in diff()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp3215 void IndirectBrInst::init(Value *Address, unsigned NumDests) { in init()
3229 void IndirectBrInst::growOperands() { in growOperands()
3242 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() function in IndirectBrInst
3249 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() function in IndirectBrInst
3256 IndirectBrInst::IndirectBrInst(const IndirectBrInst &IBI) in IndirectBrInst() function in IndirectBrInst
3266 IndirectBrInst::~IndirectBrInst() { in ~IndirectBrInst()
3272 void IndirectBrInst::addDestination(BasicBlock *DestBB) { in addDestination()
3284 void IndirectBrInst::removeDestination(unsigned idx) { in removeDestination()
3298 BasicBlock *IndirectBrInst::getSuccessorV(unsigned idx) const { in getSuccessorV()
3301 unsigned IndirectBrInst::getNumSuccessorsV() const { in getNumSuccessorsV()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/
DInstructions.h2563 class IndirectBrInst : public TerminatorInst {
2570 IndirectBrInst(const IndirectBrInst &IBI);
2581 IndirectBrInst(Value *Address, unsigned NumDests, Instruction *InsertBefore);
2587 IndirectBrInst(Value *Address, unsigned NumDests, BasicBlock *InsertAtEnd);
2589 virtual IndirectBrInst *clone_impl() const;
2591 static IndirectBrInst *Create(Value *Address, unsigned NumDests,
2593 return new IndirectBrInst(Address, NumDests, InsertBefore);
2595 static IndirectBrInst *Create(Value *Address, unsigned NumDests,
2597 return new IndirectBrInst(Address, NumDests, InsertAtEnd);
2599 ~IndirectBrInst();
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DJumpThreading.cpp255 if (isa<IndirectBrInst>(I)) in getJumpThreadDuplicationCost()
667 } else if (IndirectBrInst *IB = dyn_cast<IndirectBrInst>(Terminator)) { in ProcessBlock()
915 if (isa<IndirectBrInst>(P->getTerminator())) in SimplifyPartiallyRedundantLoad()
1075 if (isa<IndirectBrInst>(Pred->getTerminator())) in ProcessThreadableEdges()
1088 assert(isa<IndirectBrInst>(BB->getTerminator()) in ProcessThreadableEdges()
/external/llvm/lib/IR/
DInstructions.cpp3798 void IndirectBrInst::init(Value *Address, unsigned NumDests) { in init()
3812 void IndirectBrInst::growOperands() { in growOperands()
3820 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() function in IndirectBrInst
3827 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() function in IndirectBrInst
3834 IndirectBrInst::IndirectBrInst(const IndirectBrInst &IBI) in IndirectBrInst() function in IndirectBrInst
3847 void IndirectBrInst::addDestination(BasicBlock *DestBB) { in addDestination()
3859 void IndirectBrInst::removeDestination(unsigned idx) { in removeDestination()
3873 BasicBlock *IndirectBrInst::getSuccessorV(unsigned idx) const { in getSuccessorV()
3876 unsigned IndirectBrInst::getNumSuccessorsV() const { in getNumSuccessorsV()
3879 void IndirectBrInst::setSuccessorV(unsigned idx, BasicBlock *B) { in setSuccessorV()
[all …]
/external/llvm/lib/Analysis/
DCodeMetrics.cpp182 notDuplicatable |= isa<IndirectBrInst>(BB->getTerminator()); in analyzeBasicBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCodeMetrics.cpp195 notDuplicatable |= isa<IndirectBrInst>(BB->getTerminator()); in analyzeBasicBlock()
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp276 if (isa<IndirectBrInst>(BBTerm)) in getJumpThreadDuplicationCost()
745 } else if (IndirectBrInst *IB = dyn_cast<IndirectBrInst>(Terminator)) { in ProcessBlock()
1041 if (isa<IndirectBrInst>(P->getTerminator())) in SimplifyPartiallyRedundantLoad()
1211 if (isa<IndirectBrInst>(Pred->getTerminator())) in ProcessThreadableEdges()
1224 assert(isa<IndirectBrInst>(BB->getTerminator()) in ProcessThreadableEdges()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DCallSiteSplitting.cpp196 if (Preds.size() != 2 || isa<IndirectBrInst>(Preds[0]->getTerminator()) || in canSplitCallSite()
197 isa<IndirectBrInst>(Preds[1]->getTerminator())) in canSplitCallSite()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp3605 void IndirectBrInst::init(Value *Address, unsigned NumDests) { in init()
3619 void IndirectBrInst::growOperands() { in growOperands()
3627 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() function in IndirectBrInst
3634 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() function in IndirectBrInst
3641 IndirectBrInst::IndirectBrInst(const IndirectBrInst &IBI) in IndirectBrInst() function in IndirectBrInst
3654 void IndirectBrInst::addDestination(BasicBlock *DestBB) { in addDestination()
3666 void IndirectBrInst::removeDestination(unsigned idx) { in removeDestination()
3849 IndirectBrInst *IndirectBrInst::cloneImpl() const { in cloneImpl()
3850 return new IndirectBrInst(*this); in cloneImpl()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DInstVisitor.h163 RetTy visitIndirectBrInst(IndirectBrInst &I) { DELEGATE(TerminatorInst);} in visitIndirectBrInst()
/external/llvm/include/llvm/IR/
DInstructions.h3291 class IndirectBrInst : public TerminatorInst {
3298 IndirectBrInst(const IndirectBrInst &IBI);
3309 IndirectBrInst(Value *Address, unsigned NumDests, Instruction *InsertBefore);
3315 IndirectBrInst(Value *Address, unsigned NumDests, BasicBlock *InsertAtEnd);
3320 IndirectBrInst *cloneImpl() const;
3323 static IndirectBrInst *Create(Value *Address, unsigned NumDests,
3325 return new IndirectBrInst(Address, NumDests, InsertBefore);
3327 static IndirectBrInst *Create(Value *Address, unsigned NumDests,
3329 return new IndirectBrInst(Address, NumDests, InsertAtEnd);
3379 struct OperandTraits<IndirectBrInst> : public HungoffOperandTraits<1> {
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h49 class IndirectBrInst; variable
429 void visitIndirectBr(const IndirectBrInst &I);

12345