Home
last modified time | relevance | path

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

123

/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()
DLocal.cpp184 if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(T)) { in ConstantFoldTerminator()
/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()
DBreakCriticalEdges.cpp120 assert(!isa<IndirectBrInst>(TI) && in SplitCriticalEdge()
/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/Analysis/
DCodeMetrics.cpp182 notDuplicatable |= isa<IndirectBrInst>(BB->getTerminator()); in analyzeBasicBlock()
DSparsePropagation.cpp169 if (isa<IndirectBrInst>(TI)) { in getFeasibleSuccessors()
/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/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/include/llvm/Support/
DInstVisitor.h163 RetTy visitIndirectBrInst(IndirectBrInst &I) { DELEGATE(TerminatorInst);} in visitIndirectBrInst()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h49 class IndirectBrInst; variable
429 void visitIndirectBr(const IndirectBrInst &I);
/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/llvm/docs/
DBranchWeightMetadata.rst54 ``IndirectBrInst``
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
DInterpreter.h138 void visitIndirectBrInst(IndirectBrInst &I);
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h145 void visitIndirectBrInst(IndirectBrInst &I);
/external/swiftshader/third_party/LLVM/lib/Analysis/
DLint.cpp92 void visitIndirectBrInst(IndirectBrInst &I);
514 void Lint::visitIndirectBrInst(IndirectBrInst &I) { in visitIndirectBrInst()
DSparsePropagation.cpp168 if (isa<IndirectBrInst>(TI)) { in getFeasibleSuccessors()
/external/llvm/test/Transforms/LoopStrengthReduce/
D2012-01-16-nopreheader.ll3 ; <rdar://10701050> "Cannot split an edge from an IndirectBrInst" assert.

123