Searched refs:ShouldSwap (Results 1 – 2 of 2) sorted by relevance
1690 bool ShouldSwap = false; in optimizeCompareInstr() local1692 ShouldSwap = SrcReg2 != 0 && Sub->getOperand(1).getReg() == SrcReg2 && in optimizeCompareInstr()1697 ShouldSwap = !ShouldSwap; in optimizeCompareInstr()1700 if (ShouldSwap) in optimizeCompareInstr()
992 bool ShouldSwap; in FoldAndOfICmps() local996 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldAndOfICmps()998 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldAndOfICmps()1000 if (ShouldSwap) { in FoldAndOfICmps()1966 bool ShouldSwap; in FoldOrOfICmps() local1970 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldOrOfICmps()1972 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldOrOfICmps()1974 if (ShouldSwap) { in FoldOrOfICmps()