Lines Matching refs:dyn_cast
122 return dyn_cast<TerminatorInst>(&InstList.back()); in getTerminator()
127 return dyn_cast<TerminatorInst>(&InstList.back()); in getTerminator()
133 ReturnInst *RI = dyn_cast<ReturnInst>(&InstList.back()); in getTerminatingMustTailCall()
146 if (auto *BI = dyn_cast<BitCastInst>(Prev)) { in getTerminatingMustTailCall()
154 if (auto *CI = dyn_cast<CallInst>(Prev)) { in getTerminatingMustTailCall()
191 const IntrinsicInst *II = dyn_cast<IntrinsicInst>(i); in getFirstNonPHIOrDbgOrLifetime()
268 PHINode *APN = dyn_cast<PHINode>(&front()); in removePredecessor()
295 while (PHINode *PN = dyn_cast<PHINode>(&front())) { in removePredecessor()
316 for (iterator II = begin(); (PN = dyn_cast<PHINode>(II)); ) { in removePredecessor()
371 (PN = dyn_cast<PHINode>(II)); ++II) { in splitBasicBlock()
393 PHINode *PN = dyn_cast<PHINode>(II); in replaceSuccessorsPhiUsesWith()
411 return dyn_cast<LandingPadInst>(getFirstNonPHI()); in getLandingPadInst()
414 return dyn_cast<LandingPadInst>(getFirstNonPHI()); in getLandingPadInst()