Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp135 if (isa<IndirectBrInst>(P->getTerminator())) return nullptr; in InsertPreheaderForLoop()
171 if (isa<IndirectBrInst>(P->getTerminator())) return nullptr; in rewriteLoopExitBlock()
278 if (isa<IndirectBrInst>(PN->getIncomingBlock(i)->getTerminator())) in separateNestedLoop()
383 if (isa<IndirectBrInst>(P->getTerminator())) in insertUniqueBackedgeBlock()
832 if (isa<IndirectBrInst>((*PI)->getTerminator())) {
847 if (isa<IndirectBrInst>((ExitingBlocks[i])->getTerminator())) {
DBasicBlockUtils.cpp267 if (TI->getNumSuccessors() > 1 && !isa<IndirectBrInst>(TI)) in SplitAllCriticalEdges()
500 assert(!isa<IndirectBrInst>(Preds[i]->getTerminator()) && in SplitBlockPredecessors()
562 assert(!isa<IndirectBrInst>(Preds[i]->getTerminator()) && in SplitLandingPadPredecessors()
580 assert(!isa<IndirectBrInst>(Pred->getTerminator()) && in SplitLandingPadPredecessors()
DBreakCriticalEdges.cpp138 assert(!isa<IndirectBrInst>(TI) && in SplitCriticalEdge()
DSimplifyCFG.cpp129 bool SimplifyIndirectBr(IndirectBrInst *IBI);
514 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(TI)) { in EraseTerminatorInstAndDCECond()
1720 if (isa<IndirectBrInst>(PredBB->getTerminator())) continue; in FoldCondBranchOnPHI()
2667 static bool SimplifyIndirectBrOnSelect(IndirectBrInst *IBI, SelectInst *SI) { in SimplifyIndirectBrOnSelect()
4315 bool SimplifyCFGOpt::SimplifyIndirectBr(IndirectBrInst *IBI) { in SimplifyIndirectBr()
4681 } else if (IndirectBrInst *IBI = in run()
4682 dyn_cast<IndirectBrInst>(BB->getTerminator())) { in run()
DLocal.cpp238 if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(T)) { in ConstantFoldTerminator()
/external/llvm/lib/IR/
DInstructions.cpp3414 void IndirectBrInst::init(Value *Address, unsigned NumDests) { in init()
3428 void IndirectBrInst::growOperands() { in growOperands()
3441 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() function in IndirectBrInst
3448 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() function in IndirectBrInst
3455 IndirectBrInst::IndirectBrInst(const IndirectBrInst &IBI) in IndirectBrInst() function in IndirectBrInst
3465 IndirectBrInst::~IndirectBrInst() { in ~IndirectBrInst()
3471 void IndirectBrInst::addDestination(BasicBlock *DestBB) { in addDestination()
3483 void IndirectBrInst::removeDestination(unsigned idx) { in removeDestination()
3497 BasicBlock *IndirectBrInst::getSuccessorV(unsigned idx) const { in getSuccessorV()
3500 unsigned IndirectBrInst::getNumSuccessorsV() const { in getNumSuccessorsV()
[all …]
/external/llvm/include/llvm/IR/
DInstructions.h2926 class IndirectBrInst : public TerminatorInst {
2933 IndirectBrInst(const IndirectBrInst &IBI);
2944 IndirectBrInst(Value *Address, unsigned NumDests, Instruction *InsertBefore);
2950 IndirectBrInst(Value *Address, unsigned NumDests, BasicBlock *InsertAtEnd);
2952 IndirectBrInst *clone_impl() const override;
2954 static IndirectBrInst *Create(Value *Address, unsigned NumDests,
2956 return new IndirectBrInst(Address, NumDests, InsertBefore);
2958 static IndirectBrInst *Create(Value *Address, unsigned NumDests,
2960 return new IndirectBrInst(Address, NumDests, InsertAtEnd);
2962 ~IndirectBrInst() override;
[all …]
DInstVisitor.h169 RetTy visitIndirectBrInst(IndirectBrInst &I) { DELEGATE(TerminatorInst);} in visitIndirectBrInst()
DInstruction.def100 HANDLE_TERM_INST ( 4, IndirectBr , IndirectBrInst)
DIRBuilder.h630 IndirectBrInst *CreateIndirectBr(Value *Addr, unsigned NumDests = 10) {
631 return Insert(IndirectBrInst::Create(Addr, NumDests));
/external/llvm/lib/Analysis/
DCodeMetrics.cpp183 notDuplicatable |= isa<IndirectBrInst>(BB->getTerminator()); in analyzeBasicBlock()
DSparsePropagation.cpp169 if (isa<IndirectBrInst>(TI)) { in getFeasibleSuccessors()
DLint.cpp96 void visitIndirectBrInst(IndirectBrInst &I);
777 void Lint::visitIndirectBrInst(IndirectBrInst &I) { in visitIndirectBrInst()
DLoopInfo.cpp215 if (isa<IndirectBrInst>((*I)->getTerminator())) in isSafeToClone()
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp288 if (isa<IndirectBrInst>(I)) in getJumpThreadDuplicationCost()
698 } else if (IndirectBrInst *IB = dyn_cast<IndirectBrInst>(Terminator)) { in ProcessBlock()
986 if (isa<IndirectBrInst>(P->getTerminator())) in SimplifyPartiallyRedundantLoad()
1158 if (isa<IndirectBrInst>(Pred->getTerminator())) in ProcessThreadableEdges()
1171 assert(isa<IndirectBrInst>(BB->getTerminator()) in ProcessThreadableEdges()
DLoopRotation.cpp542 if (isa<IndirectBrInst>((*PI)->getTerminator())) in rotateLoop()
DSCCP.cpp568 if (isa<IndirectBrInst>(&TI)) { in getFeasibleSuccessors()
627 if (isa<IndirectBrInst>(TI)) in isEdgeFeasible()
/external/llvm/docs/
DBranchWeightMetadata.rst54 ``IndirectBrInst``
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h147 void visitIndirectBrInst(IndirectBrInst &I);
/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp482 IndirectBrInst *Branch = IndirectBrInst::Create(Recover, 0, NewLPadBB); in prepareExceptionHandlers()
726 IndirectBrInst *IBr = IndirectBrInst::Create(EHActions, 0, OutlinedBB); in completeNestedLandingPad()
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp141 bool visitIndirectBrInst(IndirectBrInst &IBI);
848 bool CallAnalyzer::visitIndirectBrInst(IndirectBrInst &IBI) { in visitIndirectBrInst()
1361 if (isa<IndirectBrInst>(BI->getTerminator()) || BI->hasAddressTaken()) in isInlineViable()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h52 class IndirectBrInst; variable
670 void visitIndirectBr(const IndirectBrInst &I);
/external/llvm/test/Transforms/LoopStrengthReduce/
D2012-01-16-nopreheader.ll3 ; <rdar://10701050> "Cannot split an edge from an IndirectBrInst" assert.
/external/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp279 if (isa<const IndirectBrInst>(Instr)) in shouldConvertUse()
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp397 } else if (isa<IndirectBrInst>(J) || isa<InvokeInst>(J)) { in mightUseCTR()

12