Searched refs:ShouldSwap (Results 1 – 2 of 2) sorted by relevance
1595 bool ShouldSwap = false; in optimizeCompareInstr() local1597 ShouldSwap = SrcReg2 != 0 && Sub->getOperand(1).getReg() == SrcReg2 && in optimizeCompareInstr()1602 ShouldSwap = !ShouldSwap; in optimizeCompareInstr()1605 if (ShouldSwap) in optimizeCompareInstr()
994 bool ShouldSwap; in FoldAndOfICmps() local998 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldAndOfICmps()1000 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldAndOfICmps()1002 if (ShouldSwap) { in FoldAndOfICmps()1877 bool ShouldSwap; in FoldOrOfICmps() local1881 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldOrOfICmps()1883 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldOrOfICmps()1885 if (ShouldSwap) { in FoldOrOfICmps()