Home
last modified time | relevance | path

Searched refs:TermInst (Results 1 – 8 of 8) sorted by relevance

/external/llvm/include/llvm/IR/
DInstrTypes.h111 Term TermInst;
116 return idx < TermInst->getNumSuccessors(); in index_is_valid()
134 it.TermInst->setSuccessor(it.idx, r);
143 explicit inline SuccIterator(Term T) : TermInst(T), idx(0) {} in SuccIterator()
145 inline SuccIterator(Term T, bool) : TermInst(T) { in SuccIterator()
146 if (TermInst) in SuccIterator()
147 idx = TermInst->getNumSuccessors(); in SuccIterator()
165 inline reference operator*() const { return TermInst->getSuccessor(idx); }
190 assert(TermInst == x.TermInst &&
196 assert(TermInst == x.TermInst &&
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp784 const auto *TermInst = PredBB->getTerminator(); in tryToSpeculatePHIs() local
785 if (isa<IndirectBrInst>(TermInst) || in tryToSpeculatePHIs()
786 isa<InvokeInst>(TermInst) || in tryToSpeculatePHIs()
787 isa<CallBrInst>(TermInst)) { in tryToSpeculatePHIs()
DIndVarSimplify.cpp464 auto *TermInst = IncomingBB->getTerminator(); in rewriteFirstIterationLoopExitValues() local
467 if (auto *BI = dyn_cast<BranchInst>(TermInst)) { in rewriteFirstIterationLoopExitValues()
471 } else if (auto *SI = dyn_cast<SwitchInst>(TermInst)) in rewriteFirstIterationLoopExitValues()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp780 const auto *TermInst = PredBB->getTerminator(); in tryToSpeculatePHIs() local
781 if (isa<IndirectBrInst>(TermInst) || in tryToSpeculatePHIs()
782 isa<InvokeInst>(TermInst) || in tryToSpeculatePHIs()
783 isa<CallBrInst>(TermInst)) { in tryToSpeculatePHIs()
DIndVarSimplify.cpp776 auto *TermInst = IncomingBB->getTerminator(); in rewriteFirstIterationLoopExitValues() local
779 if (auto *BI = dyn_cast<BranchInst>(TermInst)) { in rewriteFirstIterationLoopExitValues()
783 } else if (auto *SI = dyn_cast<SwitchInst>(TermInst)) in rewriteFirstIterationLoopExitValues()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDebugInfo.cpp335 auto *TermInst = BB.getTerminator(); in stripDebugInfo() local
336 if (!TermInst) in stripDebugInfo()
339 if (auto *LoopID = TermInst->getMetadata(LLVMContext::MD_loop)) { in stripDebugInfo()
344 TermInst->setMetadata(LLVMContext::MD_loop, NewLoopID); in stripDebugInfo()
/external/llvm-project/llvm/lib/IR/
DDebugInfo.cpp343 auto *TermInst = BB.getTerminator(); in stripDebugInfo() local
344 if (!TermInst) in stripDebugInfo()
347 if (auto *LoopID = TermInst->getMetadata(LLVMContext::MD_loop)) { in stripDebugInfo()
352 TermInst->setMetadata(LLVMContext::MD_loop, NewLoopID); in stripDebugInfo()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp696 auto *TermInst = IncomingBB->getTerminator(); in rewriteFirstIterationLoopExitValues() local
699 if (auto *BI = dyn_cast<BranchInst>(TermInst)) { in rewriteFirstIterationLoopExitValues()
703 } else if (auto *SI = dyn_cast<SwitchInst>(TermInst)) in rewriteFirstIterationLoopExitValues()