Lines Matching refs:IfThen
669 BasicBlock *IfThen = BI->getSuccessor(0); in checkBiasedBranch() local
671 assert((IfThen == R->getExit() || IfElse == R->getExit()) && in checkBiasedBranch()
672 IfThen != IfElse && in checkBiasedBranch()
674 if (IfThen == R->getExit()) { in checkBiasedBranch()
677 std::swap(IfThen, IfElse); in checkBiasedBranch()
1893 BasicBlock *IfThen = BI->getSuccessor(1); in fixupBranch() local
1897 assert((IfThen == RegionExitBlock || IfElse == RegionExitBlock) && in fixupBranch()
1898 IfThen != IfElse && "Invariant from findScopes"); in fixupBranch()
1899 if (IfThen == RegionExitBlock) { in fixupBranch()
1902 std::swap(IfThen, IfElse); in fixupBranch()
1904 CHR_DEBUG(dbgs() << "IfThen " << IfThen->getName() in fixupBranch()
1907 BasicBlock *HotTarget = IsTrueBiased ? IfThen : IfElse; in fixupBranch()