/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | InstVisitor.h | 160 RetTy visitReturnInst(ReturnInst &I) { DELEGATE(TerminatorInst);} in visitReturnInst() 161 RetTy visitBranchInst(BranchInst &I) { DELEGATE(TerminatorInst);} in visitBranchInst() 162 RetTy visitSwitchInst(SwitchInst &I) { DELEGATE(TerminatorInst);} in visitSwitchInst() 163 RetTy visitIndirectBrInst(IndirectBrInst &I) { DELEGATE(TerminatorInst);} in visitIndirectBrInst() 164 RetTy visitInvokeInst(InvokeInst &I) { DELEGATE(TerminatorInst);} in visitInvokeInst() 165 RetTy visitUnwindInst(UnwindInst &I) { DELEGATE(TerminatorInst);} in visitUnwindInst() 166 RetTy visitResumeInst(ResumeInst &I) { DELEGATE(TerminatorInst);} in visitResumeInst() 167 RetTy visitUnreachableInst(UnreachableInst &I) { DELEGATE(TerminatorInst);} in visitUnreachableInst() 204 RetTy visitTerminatorInst(TerminatorInst &I) { DELEGATE(Instruction); } in visitTerminatorInst()
|
D | CFG.h | 37 while (!It.atEnd() && !isa<TerminatorInst>(*It)) in advancePastNonTerminators() 55 return cast<TerminatorInst>(*It)->getParent(); 216 typedef SuccIterator<TerminatorInst*, BasicBlock> succ_iterator; 217 typedef SuccIterator<const TerminatorInst*,
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | BasicBlockUtils.h | 32 class TerminatorInst; variable 121 BasicBlock *SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, 141 TerminatorInst *TI = (*PI)->getTerminator(); 155 TerminatorInst *TI = Src->getTerminator(); 250 TerminatorInst *SplitBlockAndInsertIfThen(Value *Cond, Instruction *SplitBefore, 271 TerminatorInst **ThenTerm, 272 TerminatorInst **ElseTerm,
|
/external/llvm/include/llvm/IR/ |
D | InstVisitor.h | 166 RetTy visitReturnInst(ReturnInst &I) { DELEGATE(TerminatorInst);} in visitReturnInst() 167 RetTy visitBranchInst(BranchInst &I) { DELEGATE(TerminatorInst);} in visitBranchInst() 168 RetTy visitSwitchInst(SwitchInst &I) { DELEGATE(TerminatorInst);} in visitSwitchInst() 169 RetTy visitIndirectBrInst(IndirectBrInst &I) { DELEGATE(TerminatorInst);} in visitIndirectBrInst() 170 RetTy visitResumeInst(ResumeInst &I) { DELEGATE(TerminatorInst);} in visitResumeInst() 171 RetTy visitUnreachableInst(UnreachableInst &I) { DELEGATE(TerminatorInst);} in visitUnreachableInst() 172 RetTy visitCleanupReturnInst(CleanupReturnInst &I) { DELEGATE(TerminatorInst);} in visitCleanupReturnInst() 173 RetTy visitCatchReturnInst(CatchReturnInst &I) { DELEGATE(TerminatorInst); } in visitCatchReturnInst() 174 RetTy visitCatchSwitchInst(CatchSwitchInst &I) { DELEGATE(TerminatorInst);} in visitCatchSwitchInst() 240 RetTy visitTerminatorInst(TerminatorInst &I) { DELEGATE(Instruction);} in visitTerminatorInst() [all …]
|
D | CFG.h | 39 while (!It.atEnd() && !isa<TerminatorInst>(*It)) in advancePastNonTerminators() 58 return cast<TerminatorInst>(*It)->getParent(); 113 typedef TerminatorInst::SuccIterator<TerminatorInst *, BasicBlock> 115 typedef TerminatorInst::SuccIterator<const TerminatorInst *, const BasicBlock> 143 struct isPodLike<TerminatorInst::SuccIterator<T, U>> {
|
D | BasicBlock.h | 28 class TerminatorInst; variable 111 TerminatorInst *getTerminator(); 112 const TerminatorInst *getTerminator() const;
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
D | BasicBlockUtils.h | 90 bool isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum, 111 BasicBlock *SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, 127 TerminatorInst *TI = (*PI)->getTerminator(); 142 TerminatorInst *TI = Src->getTerminator();
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | BasicBlock.cpp | 120 TerminatorInst *BasicBlock::getTerminator() { in getTerminator() 122 return dyn_cast<TerminatorInst>(&InstList.back()); in getTerminator() 125 const TerminatorInst *BasicBlock::getTerminator() const { in getTerminator() 127 return dyn_cast<TerminatorInst>(&InstList.back()); in getTerminator() 338 TerminatorInst *TI = getTerminator(); in replaceSuccessorsPhiUsesWith()
|
D | Instructions.cpp | 44 TerminatorInst::~TerminatorInst() { in ~TerminatorInst() 539 : TerminatorInst(II.getType(), Instruction::Invoke, in InvokeInst() 588 : TerminatorInst(Type::getVoidTy(RI.getContext()), Instruction::Ret, in ReturnInst() 598 : TerminatorInst(Type::getVoidTy(C), Instruction::Ret, in ReturnInst() 605 : TerminatorInst(Type::getVoidTy(C), Instruction::Ret, in ReturnInst() 612 : TerminatorInst(Type::getVoidTy(Context), Instruction::Ret, in ReturnInst() 639 : TerminatorInst(Type::getVoidTy(Context), Instruction::Unwind, in UnwindInst() 643 : TerminatorInst(Type::getVoidTy(Context), Instruction::Unwind, in UnwindInst() 666 : TerminatorInst(Type::getVoidTy(RI.getContext()), Instruction::Resume, in ResumeInst() 672 : TerminatorInst(Type::getVoidTy(Exn->getContext()), Instruction::Resume, in ResumeInst() [all …]
|
/external/llvm/lib/Analysis/ |
D | SparsePropagation.cpp | 121 void SparseSolver::getFeasibleSuccessors(TerminatorInst &TI, in getFeasibleSuccessors() 208 TerminatorInst *TI = From->getTerminator(); in isEdgeFeasible() 218 void SparseSolver::visitTerminatorInst(TerminatorInst &TI) { in visitTerminatorInst() 289 if (TerminatorInst *TI = dyn_cast<TerminatorInst>(&I)) in visitInst()
|
D | DivergenceAnalysis.cpp | 95 void exploreSyncDependency(TerminatorInst *TI); 130 void DivergencePropagator::exploreSyncDependency(TerminatorInst *TI) { in exploreSyncDependency() 254 if (TerminatorInst *TI = dyn_cast<TerminatorInst>(V)) { in propagate()
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | SparsePropagation.h | 29 class TerminatorInst; variable 195 void getFeasibleSuccessors(TerminatorInst &TI, SmallVectorImpl<bool> &Succs, 200 void visitTerminatorInst(TerminatorInst &TI);
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | SparsePropagation.cpp | 120 void SparseSolver::getFeasibleSuccessors(TerminatorInst &TI, in getFeasibleSuccessors() 207 TerminatorInst *TI = From->getTerminator(); in isEdgeFeasible() 217 void SparseSolver::visitTerminatorInst(TerminatorInst &TI) { in visitTerminatorInst() 288 if (TerminatorInst *TI = dyn_cast<TerminatorInst>(&I)) in visitInst()
|
/external/llvm/include/llvm/Analysis/ |
D | CFG.h | 28 class TerminatorInst; variable 49 bool isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum,
|
D | SparsePropagation.h | 30 class TerminatorInst; variable 192 void getFeasibleSuccessors(TerminatorInst &TI, SmallVectorImpl<bool> &Succs, 197 void visitTerminatorInst(TerminatorInst &TI);
|
/external/llvm/lib/IR/ |
D | BasicBlock.cpp | 124 TerminatorInst *BasicBlock::getTerminator() { in getTerminator() 126 return dyn_cast<TerminatorInst>(&InstList.back()); in getTerminator() 129 const TerminatorInst *BasicBlock::getTerminator() const { in getTerminator() 131 return dyn_cast<TerminatorInst>(&InstList.back()); in getTerminator() 415 TerminatorInst *TI = getTerminator(); in replaceSuccessorsPhiUsesWith()
|
D | Instructions.cpp | 45 TerminatorInst::~TerminatorInst() { in ~TerminatorInst() 668 : TerminatorInst(II.getType(), Instruction::Invoke, in InvokeInst() 807 : TerminatorInst(Type::getVoidTy(RI.getContext()), Instruction::Ret, in ReturnInst() 817 : TerminatorInst(Type::getVoidTy(C), Instruction::Ret, in ReturnInst() 824 : TerminatorInst(Type::getVoidTy(C), Instruction::Ret, in ReturnInst() 831 : TerminatorInst(Type::getVoidTy(Context), Instruction::Ret, in ReturnInst() 857 : TerminatorInst(Type::getVoidTy(RI.getContext()), Instruction::Resume, in ResumeInst() 863 : TerminatorInst(Type::getVoidTy(Exn->getContext()), Instruction::Resume, in ResumeInst() 869 : TerminatorInst(Type::getVoidTy(Exn->getContext()), Instruction::Resume, in ResumeInst() 891 : TerminatorInst(CRI.getType(), Instruction::CleanupRet, in CleanupReturnInst() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | BasicBlock.h | 26 class TerminatorInst; variable 123 TerminatorInst *getTerminator(); 124 const TerminatorInst *getTerminator() const;
|
D | InstrTypes.h | 35 class TerminatorInst : public Instruction { 37 TerminatorInst(Type *Ty, Instruction::TermOps iType, 42 TerminatorInst(Type *Ty, Instruction::TermOps iType, in TerminatorInst() function 47 ~TerminatorInst(); 54 virtual TerminatorInst *clone_impl() const = 0; 76 static inline bool classof(const TerminatorInst *) { return true; } in classof() argument
|
/external/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 38 TerminatorInst *BBTerm = BB->getTerminator(); in DeleteDeadBlock() 215 TerminatorInst *LatchTerm = BB->getTerminator(); in SplitEdge() 242 TerminatorInst *TI = BB.getTerminator(); in SplitAllCriticalEdges() 615 TerminatorInst * 621 TerminatorInst *HeadOldTerm = Head->getTerminator(); in SplitBlockAndInsertIfThen() 624 TerminatorInst *CheckTerm; in SplitBlockAndInsertIfThen() 658 TerminatorInst **ThenTerm, in SplitBlockAndInsertIfThenElse() 659 TerminatorInst **ElseTerm, in SplitBlockAndInsertIfThenElse() 663 TerminatorInst *HeadOldTerm = Head->getTerminator(); in SplitBlockAndInsertIfThenElse()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 57 Value *isValueEqualityComparison(TerminatorInst *TI); 58 BasicBlock *GetValueEqualityComparisonCases(TerminatorInst *TI, 60 bool SimplifyEqualityComparisonWithOnlyPredecessor(TerminatorInst *TI, 63 bool FoldValueComparisonIntoPredecessors(TerminatorInst *TI, 84 static bool SafeToMergeTerminators(TerminatorInst *SI1, TerminatorInst *SI2) { in SafeToMergeTerminators() 434 static void EraseTerminatorInstAndDCECond(TerminatorInst *TI) { in EraseTerminatorInstAndDCECond() 451 Value *SimplifyCFGOpt::isValueEqualityComparison(TerminatorInst *TI) { in isValueEqualityComparison() 477 GetValueEqualityComparisonCases(TerminatorInst *TI, in GetValueEqualityComparisonCases() 549 SimplifyEqualityComparisonWithOnlyPredecessor(TerminatorInst *TI, in SimplifyEqualityComparisonWithOnlyPredecessor() 684 bool SimplifyCFGOpt::FoldValueComparisonIntoPredecessors(TerminatorInst *TI, in FoldValueComparisonIntoPredecessors() [all …]
|
D | BreakCriticalEdges.cpp | 71 TerminatorInst *TI = I->getTerminator(); in runOnFunction() 91 bool llvm::isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum, in isCriticalEdge() 169 BasicBlock *llvm::SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, in SplitCriticalEdge()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 242 TerminatorInst *TI = nullptr); 244 BasicBlock *ExitBlock, TerminatorInst *TI); 246 TerminatorInst *TI); 255 TerminatorInst *TI); 583 TerminatorInst *TI = (*I)->getTerminator(); in processCurrentLoop() 711 TerminatorInst *TI) { in UnswitchIfProfitable() 787 TerminatorInst *TI) { in EmitPreheaderBranchOnCondition() 819 TerminatorInst *TI) { in UnswitchTrivialCondition() 867 TerminatorInst *CurrentTerm = CurrentBB->getTerminator(); in TryTrivialLoopUnswitch() 1027 Loop *L, TerminatorInst *TI) { in UnswitchNontrivialCondition()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopRotation.cpp | 227 TerminatorInst *LoopEntryBranch = OrigPreheader->getTerminator(); in rotateLoop() 239 !isa<TerminatorInst>(Inst) && !isa<DbgInfoIntrinsic>(Inst)) { in rotateLoop() 271 TerminatorInst *TI = OrigHeader->getTerminator(); in rotateLoop()
|
D | SCCP.cpp | 454 void getFeasibleSuccessors(TerminatorInst &TI, SmallVector<bool, 16> &Succs); 507 void visitTerminatorInst(TerminatorInst &TI); 532 void visitResumeInst (TerminatorInst &I) { /*returns void*/ } in visitResumeInst() 533 void visitUnwindInst (TerminatorInst &I) { /*returns void*/ } in visitUnwindInst() 534 void visitUnreachableInst(TerminatorInst &I) { /*returns void*/ } in visitUnreachableInst() 554 void SCCPSolver::getFeasibleSuccessors(TerminatorInst &TI, in getFeasibleSuccessors() 627 TerminatorInst *TI = From->getTerminator(); in isEdgeFeasible() 797 void SCCPSolver::visitTerminatorInst(TerminatorInst &TI) { in visitTerminatorInst() 1634 TerminatorInst *TI = BB->getTerminator(); in ResolvedUndefsIn() 1712 if (isa<TerminatorInst>(BB->begin())) in DeleteInstructionInBlock() [all …]
|