Searched refs:ShouldSwap (Results 1 – 2 of 2) sorted by relevance
895 bool ShouldSwap; in FoldAndOfICmps() local899 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldAndOfICmps()901 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldAndOfICmps()903 if (ShouldSwap) { in FoldAndOfICmps()1675 bool ShouldSwap; in FoldOrOfICmps() local1679 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldOrOfICmps()1681 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldOrOfICmps()1683 if (ShouldSwap) { in FoldOrOfICmps()
1495 bool ShouldSwap = false; in optimizeCompareInstr() local1497 ShouldSwap = SrcReg2 != 0 && Sub->getOperand(1).getReg() == SrcReg2 && in optimizeCompareInstr()1502 ShouldSwap = !ShouldSwap; in optimizeCompareInstr()1505 if (ShouldSwap) in optimizeCompareInstr()