Home
last modified time | relevance | path

Searched refs:TermInst (Results 1 – 2 of 2) 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/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()