Home
last modified time | relevance | path

Searched refs:CurrentTerm (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp1154 Instruction *CurrentTerm = CurrentBB->getTerminator(); in tryTrivialLoopUnswitch() local
1188 if (BranchInst *BI = dyn_cast<BranchInst>(CurrentTerm)) { in tryTrivialLoopUnswitch()
1199 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(CurrentTerm)) { in tryTrivialLoopUnswitch()
1212 CurrentTerm = CurrentBB->getTerminator(); in tryTrivialLoopUnswitch()
1220 if (BranchInst *BI = dyn_cast<BranchInst>(CurrentTerm)) { in tryTrivialLoopUnswitch()
1255 CurrentTerm); in tryTrivialLoopUnswitch()
1258 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(CurrentTerm)) { in tryTrivialLoopUnswitch()
H A DSimpleLoopUnswitch.cpp928 Instruction *CurrentTerm = CurrentBB->getTerminator(); in unswitchAllTrivialConditions() local
930 if (auto *SI = dyn_cast<SwitchInst>(CurrentTerm)) { in unswitchAllTrivialConditions()
956 auto *BI = dyn_cast<BranchInst>(CurrentTerm); in unswitchAllTrivialConditions()