/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | IndirectBrExpandPass.cpp | 88 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/ |
D | LoopSimplify.cpp | 374 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()
|
D | BreakCriticalEdges.cpp | 72 if (TI->getNumSuccessors() > 1 && !isa<IndirectBrInst>(TI)) in runOnFunction() 174 assert(!isa<IndirectBrInst>(TI) && in SplitCriticalEdge() 359 if (isa<IndirectBrInst>(P->getTerminator())) { in SplitCriticalEdge()
|
D | BasicBlockUtils.cpp | 471 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()
|
D | SimplifyCFG.cpp | 71 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/ |
D | LoopSimplify.cpp | 131 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())) {
|
D | BasicBlockUtils.cpp | 243 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()
|
D | Evaluator.cpp | 490 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(CurInst)) { in EvaluateBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopSimplify.cpp | 130 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())) {
|
D | BasicBlockUtils.cpp | 296 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()
|
D | BreakCriticalEdges.cpp | 137 assert(!isa<IndirectBrInst>(TI) && in SplitCriticalEdge() 342 auto *IBI = dyn_cast<IndirectBrInst>(BB.getTerminator()); in SplitIndirectBrCriticalEdges()
|
D | Evaluator.cpp | 599 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(CurInst)) { in EvaluateBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-diff/ |
D | DifferenceEngine.cpp | 306 } 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/ |
D | Instructions.cpp | 3215 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/ |
D | Instructions.h | 2563 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/ |
D | JumpThreading.cpp | 255 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/ |
D | Instructions.cpp | 3798 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/ |
D | CodeMetrics.cpp | 182 notDuplicatable |= isa<IndirectBrInst>(BB->getTerminator()); in analyzeBasicBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | CodeMetrics.cpp | 195 notDuplicatable |= isa<IndirectBrInst>(BB->getTerminator()); in analyzeBasicBlock()
|
/external/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 276 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/ |
D | CallSiteSplitting.cpp | 196 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/ |
D | Instructions.cpp | 3605 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/ |
D | InstVisitor.h | 163 RetTy visitIndirectBrInst(IndirectBrInst &I) { DELEGATE(TerminatorInst);} in visitIndirectBrInst()
|
/external/llvm/include/llvm/IR/ |
D | Instructions.h | 3291 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/ |
D | SelectionDAGBuilder.h | 49 class IndirectBrInst; variable 429 void visitIndirectBr(const IndirectBrInst &I);
|