Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp383 if (isa<IndirectBrInst>(P->getTerminator())) return 0; in InsertPreheaderForLoop()
423 if (isa<IndirectBrInst>(P->getTerminator())) return 0; in RewriteLoopExitBlock()
568 if (isa<IndirectBrInst>(PN->getIncomingBlock(i)->getTerminator())) in SeparateNestedLoop()
674 if (isa<IndirectBrInst>(P->getTerminator())) in InsertUniqueBackedgeBlock()
776 if (isa<IndirectBrInst>((*PI)->getTerminator())) { in verifyAnalysis()
791 if (isa<IndirectBrInst>((ExitingBlocks[i])->getTerminator())) { in verifyAnalysis()
DBreakCriticalEdges.cpp73 if (TI->getNumSuccessors() > 1 && !isa<IndirectBrInst>(TI)) in runOnFunction()
148 assert(!isa<IndirectBrInst>(TI) && in SplitCriticalEdge()
330 if (isa<IndirectBrInst>(P->getTerminator())) { in SplitCriticalEdge()
DBasicBlockUtils.cpp454 assert(!isa<IndirectBrInst>(Preds[i]->getTerminator()) && in SplitBlockPredecessors()
514 assert(!isa<IndirectBrInst>(Preds[i]->getTerminator()) && in SplitLandingPadPredecessors()
532 assert(!isa<IndirectBrInst>(Pred->getTerminator()) && in SplitLandingPadPredecessors()
DSimplifyCFG.cpp106 bool SimplifyIndirectBr(IndirectBrInst *IBI);
453 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(TI)) { in EraseTerminatorInstAndDCECond()
1619 if (isa<IndirectBrInst>(PredBB->getTerminator())) continue; in FoldCondBranchOnPHI()
2567 static bool SimplifyIndirectBrOnSelect(IndirectBrInst *IBI, SelectInst *SI) { in SimplifyIndirectBrOnSelect()
3826 bool SimplifyCFGOpt::SimplifyIndirectBr(IndirectBrInst *IBI) { in SimplifyIndirectBr()
4106 } else if (IndirectBrInst *IBI = in run()
4107 dyn_cast<IndirectBrInst>(BB->getTerminator())) { in run()
DLocal.cpp227 if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(T)) { in ConstantFoldTerminator()
/external/llvm/lib/Analysis/
DCodeMetrics.cpp92 notDuplicatable |= isa<IndirectBrInst>(BB->getTerminator()); in analyzeBasicBlock()
DSparsePropagation.cpp168 if (isa<IndirectBrInst>(TI)) { in getFeasibleSuccessors()
DLint.cpp93 void visitIndirectBrInst(IndirectBrInst &I);
551 void Lint::visitIndirectBrInst(IndirectBrInst &I) { in visitIndirectBrInst()
DLoopInfo.cpp223 if (isa<IndirectBrInst>((*I)->getTerminator())) { in isSafeToClone()
/external/llvm/lib/IR/
DInstructions.cpp3371 void IndirectBrInst::init(Value *Address, unsigned NumDests) { in init()
3385 void IndirectBrInst::growOperands() { in growOperands()
3398 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() function in IndirectBrInst
3405 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() function in IndirectBrInst
3412 IndirectBrInst::IndirectBrInst(const IndirectBrInst &IBI) in IndirectBrInst() function in IndirectBrInst
3422 IndirectBrInst::~IndirectBrInst() { in ~IndirectBrInst()
3428 void IndirectBrInst::addDestination(BasicBlock *DestBB) { in addDestination()
3440 void IndirectBrInst::removeDestination(unsigned idx) { in removeDestination()
3454 BasicBlock *IndirectBrInst::getSuccessorV(unsigned idx) const { in getSuccessorV()
3457 unsigned IndirectBrInst::getNumSuccessorsV() const { in getNumSuccessorsV()
[all …]
DVerifier.cpp301 void visitIndirectBrInst(IndirectBrInst &BI);
1181 void Verifier::visitIndirectBrInst(IndirectBrInst &BI) { in visitIndirectBrInst()
/external/llvm/include/llvm/IR/
DInstructions.h2865 class IndirectBrInst : public TerminatorInst {
2872 IndirectBrInst(const IndirectBrInst &IBI);
2883 IndirectBrInst(Value *Address, unsigned NumDests, Instruction *InsertBefore);
2889 IndirectBrInst(Value *Address, unsigned NumDests, BasicBlock *InsertAtEnd);
2891 virtual IndirectBrInst *clone_impl() const;
2893 static IndirectBrInst *Create(Value *Address, unsigned NumDests,
2895 return new IndirectBrInst(Address, NumDests, InsertBefore);
2897 static IndirectBrInst *Create(Value *Address, unsigned NumDests,
2899 return new IndirectBrInst(Address, NumDests, InsertAtEnd);
2901 ~IndirectBrInst();
[all …]
DInstruction.def100 HANDLE_TERM_INST ( 4, IndirectBr , IndirectBrInst)
DIRBuilder.h508 IndirectBrInst *CreateIndirectBr(Value *Addr, unsigned NumDests = 10) {
509 return Insert(IndirectBrInst::Create(Addr, NumDests));
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp271 if (isa<IndirectBrInst>(I)) in getJumpThreadDuplicationCost()
683 } else if (IndirectBrInst *IB = dyn_cast<IndirectBrInst>(Terminator)) { in ProcessBlock()
945 if (isa<IndirectBrInst>(P->getTerminator())) in SimplifyPartiallyRedundantLoad()
1107 if (isa<IndirectBrInst>(Pred->getTerminator())) in ProcessThreadableEdges()
1120 assert(isa<IndirectBrInst>(BB->getTerminator()) in ProcessThreadableEdges()
DSCCP.cpp565 if (isa<IndirectBrInst>(&TI)) { in getFeasibleSuccessors()
624 if (isa<IndirectBrInst>(TI)) in isEdgeFeasible()
DGVN.cpp1529 if (isa<IndirectBrInst>(Pred->getTerminator())) { in PerformLoadPRE()
2460 if (isa<IndirectBrInst>(PREPred->getTerminator())) in performPRE()
/external/llvm/docs/
DBranchWeightMetadata.rst53 ``IndirectBrInst``
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h49 class IndirectBrInst; variable
422 void visitIndirectBr(const IndirectBrInst &I);
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h144 void visitIndirectBrInst(IndirectBrInst &I);
/external/llvm/include/llvm/
DInstVisitor.h169 RetTy visitIndirectBrInst(IndirectBrInst &I) { DELEGATE(TerminatorInst);} in visitIndirectBrInst()
/external/llvm/test/Transforms/LoopStrengthReduce/
D2012-01-16-nopreheader.ll3 ; <rdar://10701050> "Cannot split an edge from an IndirectBrInst" assert.
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp1057 if (isa<IndirectBrInst>(TI)) in analyzeCall()
1221 if (isa<IndirectBrInst>(BI->getTerminator())) in isInlineViable()
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp355 } else if (isa<IndirectBrInst>(J) || isa<InvokeInst>(J)) { in mightUseCTR()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp1152 const IndirectBrInst *IBI = cast<IndirectBrInst>(I); in printInstruction()

12