Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()