Searched refs:CurrentTerm (Results 1 – 3 of 3) sorted by relevance
1029 TerminatorInst *CurrentTerm = CurrentBB->getTerminator(); in TryTrivialLoopUnswitch() local1063 if (BranchInst *BI = dyn_cast<BranchInst>(CurrentTerm)) { in TryTrivialLoopUnswitch()1074 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(CurrentTerm)) { in TryTrivialLoopUnswitch()1087 CurrentTerm = CurrentBB->getTerminator(); in TryTrivialLoopUnswitch()1095 if (BranchInst *BI = dyn_cast<BranchInst>(CurrentTerm)) { in TryTrivialLoopUnswitch()1129 CurrentTerm); in TryTrivialLoopUnswitch()1132 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(CurrentTerm)) { in TryTrivialLoopUnswitch()
783 TerminatorInst *CurrentTerm = CurrentBB->getTerminator(); in unswitchAllTrivialConditions() local785 if (auto *SI = dyn_cast<SwitchInst>(CurrentTerm)) { in unswitchAllTrivialConditions()811 auto *BI = dyn_cast<BranchInst>(CurrentTerm); in unswitchAllTrivialConditions()
867 TerminatorInst *CurrentTerm = CurrentBB->getTerminator(); in TryTrivialLoopUnswitch() local902 if (BranchInst *BI = dyn_cast<BranchInst>(CurrentTerm)) { in TryTrivialLoopUnswitch()917 CurrentTerm = CurrentBB->getTerminator(); in TryTrivialLoopUnswitch()925 if (BranchInst *BI = dyn_cast<BranchInst>(CurrentTerm)) { in TryTrivialLoopUnswitch()956 CurrentTerm); in TryTrivialLoopUnswitch()959 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(CurrentTerm)) { in TryTrivialLoopUnswitch()