Searched refs:ShouldSwap (Results 1 – 3 of 3) sorted by relevance
835 bool ShouldSwap; in FoldAndOfICmps() local839 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldAndOfICmps()841 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldAndOfICmps()843 if (ShouldSwap) { in FoldAndOfICmps()1532 bool ShouldSwap; in FoldOrOfICmps() local1536 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldOrOfICmps()1538 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldOrOfICmps()1540 if (ShouldSwap) { in FoldOrOfICmps()
965 bool ShouldSwap; in FoldAndOfICmps() local969 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldAndOfICmps()971 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldAndOfICmps()973 if (ShouldSwap) { in FoldAndOfICmps()1865 bool ShouldSwap; in FoldOrOfICmps() local1869 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldOrOfICmps()1871 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldOrOfICmps()1873 if (ShouldSwap) { in FoldOrOfICmps()
1717 bool ShouldSwap = false; in optimizeCompareInstr() local1719 ShouldSwap = SrcReg2 != 0 && Sub->getOperand(1).getReg() == SrcReg2 && in optimizeCompareInstr()1724 ShouldSwap = !ShouldSwap; in optimizeCompareInstr()1727 if (ShouldSwap) in optimizeCompareInstr()