Lines Matching refs:IfThen
639 BasicBlock *IfThen = BI->getSuccessor(0); in checkBiasedBranch() local
641 assert((IfThen == R->getExit() || IfElse == R->getExit()) && in checkBiasedBranch()
642 IfThen != IfElse && in checkBiasedBranch()
644 if (IfThen == R->getExit()) { in checkBiasedBranch()
647 std::swap(IfThen, IfElse); in checkBiasedBranch()
1903 BasicBlock *IfThen = BI->getSuccessor(1); in fixupBranch() local
1907 assert((IfThen == RegionExitBlock || IfElse == RegionExitBlock) && in fixupBranch()
1908 IfThen != IfElse && "Invariant from findScopes"); in fixupBranch()
1909 if (IfThen == RegionExitBlock) { in fixupBranch()
1912 std::swap(IfThen, IfElse); in fixupBranch()
1914 CHR_DEBUG(dbgs() << "IfThen " << IfThen->getName() in fixupBranch()
1917 BasicBlock *HotTarget = IsTrueBiased ? IfThen : IfElse; in fixupBranch()