Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp130 if (isa<IndirectBrInst>(P->getTerminator())) return nullptr; in InsertPreheaderForLoop()
166 if (isa<IndirectBrInst>(P->getTerminator())) return nullptr; in rewriteLoopExitBlock()
271 if (isa<IndirectBrInst>(PN->getIncomingBlock(i)->getTerminator())) in separateNestedLoop()
372 if (isa<IndirectBrInst>(P->getTerminator())) in insertUniqueBackedgeBlock()
818 if (isa<IndirectBrInst>((*PI)->getTerminator())) {
833 if (isa<IndirectBrInst>((ExitingBlocks[i])->getTerminator())) {
DBasicBlockUtils.cpp271 if (TI->getNumSuccessors() > 1 && !isa<IndirectBrInst>(TI)) in SplitAllCriticalEdges()
506 assert(!isa<IndirectBrInst>(Preds[i]->getTerminator()) && in SplitBlockPredecessors()
569 assert(!isa<IndirectBrInst>(Preds[i]->getTerminator()) && in SplitLandingPadPredecessors()
587 assert(!isa<IndirectBrInst>(Pred->getTerminator()) && in SplitLandingPadPredecessors()
DBreakCriticalEdges.cpp137 assert(!isa<IndirectBrInst>(TI) && in SplitCriticalEdge()
DSimplifyCFG.cpp146 bool SimplifyIndirectBr(IndirectBrInst *IBI);
539 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(TI)) { in EraseTerminatorInstAndDCECond()
1745 if (isa<IndirectBrInst>(PredBB->getTerminator())) continue; in FoldCondBranchOnPHI()
2993 static bool SimplifyIndirectBrOnSelect(IndirectBrInst *IBI, SelectInst *SI) { in SimplifyIndirectBrOnSelect()
4756 bool SimplifyCFGOpt::SimplifyIndirectBr(IndirectBrInst *IBI) { in SimplifyIndirectBr()
5143 } else if (IndirectBrInst *IBI = in run()
5144 dyn_cast<IndirectBrInst>(BB->getTerminator())) { in run()
DLocal.cpp245 if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(T)) { in ConstantFoldTerminator()
/external/llvm/lib/Analysis/
DCodeMetrics.cpp180 notDuplicatable |= isa<IndirectBrInst>(BB->getTerminator()); in analyzeBasicBlock()
DSparsePropagation.cpp169 if (isa<IndirectBrInst>(TI)) { in getFeasibleSuccessors()
DInlineCost.cpp157 bool visitIndirectBrInst(IndirectBrInst &IBI);
889 bool CallAnalyzer::visitIndirectBrInst(IndirectBrInst &IBI) { in visitIndirectBrInst()
1423 if (isa<IndirectBrInst>(BI->getTerminator()) || BI->hasAddressTaken()) in isInlineViable()
DLint.cpp97 void visitIndirectBrInst(IndirectBrInst &I);
581 void Lint::visitIndirectBrInst(IndirectBrInst &I) { in visitIndirectBrInst()
DLoopInfo.cpp234 if (isa<IndirectBrInst>((*I)->getTerminator())) in isSafeToClone()
/external/llvm/lib/IR/
DInstructions.cpp3695 void IndirectBrInst::init(Value *Address, unsigned NumDests) { in init()
3709 void IndirectBrInst::growOperands() { in growOperands()
3717 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() function in IndirectBrInst
3724 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() function in IndirectBrInst
3731 IndirectBrInst::IndirectBrInst(const IndirectBrInst &IBI) in IndirectBrInst() function in IndirectBrInst
3744 void IndirectBrInst::addDestination(BasicBlock *DestBB) { in addDestination()
3756 void IndirectBrInst::removeDestination(unsigned idx) { in removeDestination()
3770 BasicBlock *IndirectBrInst::getSuccessorV(unsigned idx) const { in getSuccessorV()
3773 unsigned IndirectBrInst::getNumSuccessorsV() const { in getNumSuccessorsV()
3776 void IndirectBrInst::setSuccessorV(unsigned idx, BasicBlock *B) { in setSuccessorV()
[all …]
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp335 if (isa<IndirectBrInst>(I)) in getJumpThreadDuplicationCost()
746 } else if (IndirectBrInst *IB = dyn_cast<IndirectBrInst>(Terminator)) { in ProcessBlock()
1043 if (isa<IndirectBrInst>(P->getTerminator())) in SimplifyPartiallyRedundantLoad()
1214 if (isa<IndirectBrInst>(Pred->getTerminator())) in ProcessThreadableEdges()
1227 assert(isa<IndirectBrInst>(BB->getTerminator()) in ProcessThreadableEdges()
DLoopRotation.cpp339 if (isa<IndirectBrInst>((*PI)->getTerminator())) in rotateLoop()
DSCCP.cpp576 if (isa<IndirectBrInst>(&TI)) { in getFeasibleSuccessors()
635 if (isa<IndirectBrInst>(TI)) in isEdgeFeasible()
/external/llvm/include/llvm/IR/
DInstructions.h3232 class IndirectBrInst : public TerminatorInst {
3239 IndirectBrInst(const IndirectBrInst &IBI);
3250 IndirectBrInst(Value *Address, unsigned NumDests, Instruction *InsertBefore);
3256 IndirectBrInst(Value *Address, unsigned NumDests, BasicBlock *InsertAtEnd);
3261 IndirectBrInst *cloneImpl() const;
3264 static IndirectBrInst *Create(Value *Address, unsigned NumDests,
3266 return new IndirectBrInst(Address, NumDests, InsertBefore);
3268 static IndirectBrInst *Create(Value *Address, unsigned NumDests,
3270 return new IndirectBrInst(Address, NumDests, InsertAtEnd);
3320 struct OperandTraits<IndirectBrInst> : public HungoffOperandTraits<1> {
[all …]
DInstVisitor.h169 RetTy visitIndirectBrInst(IndirectBrInst &I) { DELEGATE(TerminatorInst);} in visitIndirectBrInst()
DInstruction.def113 HANDLE_TERM_INST ( 4, IndirectBr , IndirectBrInst)
/external/llvm/docs/
DBranchWeightMetadata.rst54 ``IndirectBrInst``
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h145 void visitIndirectBrInst(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/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h53 class IndirectBrInst; variable
737 void visitIndirectBr(const IndirectBrInst &I);
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp413 } else if (isa<IndirectBrInst>(J) || isa<InvokeInst>(J)) { in mightUseCTR()
DPPCFastISel.cpp1760 const IndirectBrInst *IB = cast<IndirectBrInst>(I); in SelectIndirectBr()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp1171 const IndirectBrInst *IBI = cast<IndirectBrInst>(I); in printInstruction()

12