Searched refs:ShouldSwap (Results 1 – 5 of 5) 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()
1011 bool ShouldSwap; in foldAndOfICmps() local1014 ShouldSwap = LHSC->getValue().sgt(RHSC->getValue()); in foldAndOfICmps()1016 ShouldSwap = LHSC->getValue().ugt(RHSC->getValue()); in foldAndOfICmps()1018 if (ShouldSwap) { in foldAndOfICmps()1935 bool ShouldSwap; in foldOrOfICmps() local1938 ShouldSwap = LHSC->getValue().sgt(RHSC->getValue()); in foldOrOfICmps()1940 ShouldSwap = LHSC->getValue().ugt(RHSC->getValue()); in foldOrOfICmps()1942 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()
1848 bool ShouldSwap = false; in optimizeCompareInstr() local1850 ShouldSwap = SrcReg2 != 0 && Sub->getOperand(1).getReg() == SrcReg2 && in optimizeCompareInstr()1855 ShouldSwap = !ShouldSwap; in optimizeCompareInstr()1858 if (ShouldSwap) in optimizeCompareInstr()1888 assert(!(Value != 0 && ShouldSwap) && in optimizeCompareInstr()