Searched refs:CurrentTerm (Results 1 – 2 of 2) sorted by relevance
1060 Instruction *CurrentTerm = CurrentBB->getTerminator(); in TryTrivialLoopUnswitch() local1094 if (BranchInst *BI = dyn_cast<BranchInst>(CurrentTerm)) { in TryTrivialLoopUnswitch()1105 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(CurrentTerm)) { in TryTrivialLoopUnswitch()1118 CurrentTerm = CurrentBB->getTerminator(); in TryTrivialLoopUnswitch()1126 if (BranchInst *BI = dyn_cast<BranchInst>(CurrentTerm)) { in TryTrivialLoopUnswitch()1161 CurrentTerm); in TryTrivialLoopUnswitch()1164 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(CurrentTerm)) { in TryTrivialLoopUnswitch()
899 Instruction *CurrentTerm = CurrentBB->getTerminator(); in unswitchAllTrivialConditions() local901 if (auto *SI = dyn_cast<SwitchInst>(CurrentTerm)) { in unswitchAllTrivialConditions()927 auto *BI = dyn_cast<BranchInst>(CurrentTerm); in unswitchAllTrivialConditions()