Searched refs:TermInst (Results 1 – 3 of 3) sorted by relevance
780 const auto *TermInst = PredBB->getTerminator(); in tryToSpeculatePHIs() local781 if (isa<IndirectBrInst>(TermInst) || in tryToSpeculatePHIs()782 isa<InvokeInst>(TermInst) || in tryToSpeculatePHIs()783 isa<CallBrInst>(TermInst)) { in tryToSpeculatePHIs()
776 auto *TermInst = IncomingBB->getTerminator(); in rewriteFirstIterationLoopExitValues() local779 if (auto *BI = dyn_cast<BranchInst>(TermInst)) { in rewriteFirstIterationLoopExitValues()783 } else if (auto *SI = dyn_cast<SwitchInst>(TermInst)) in rewriteFirstIterationLoopExitValues()
335 auto *TermInst = BB.getTerminator(); in stripDebugInfo() local336 if (!TermInst) in stripDebugInfo()339 if (auto *LoopID = TermInst->getMetadata(LLVMContext::MD_loop)) { in stripDebugInfo()344 TermInst->setMetadata(LLVMContext::MD_loop, NewLoopID); in stripDebugInfo()