Searched refs:ShouldSwap (Results 1 – 7 of 7) sorted by relevance
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()
1269 bool ShouldSwap; in foldAndOfICmps() local1272 ShouldSwap = LHSC->getValue().sgt(RHSC->getValue()); in foldAndOfICmps()1274 ShouldSwap = LHSC->getValue().ugt(RHSC->getValue()); in foldAndOfICmps()1276 if (ShouldSwap) { in foldAndOfICmps()2361 bool ShouldSwap; in foldOrOfICmps() local2364 ShouldSwap = LHSC->getValue().sgt(RHSC->getValue()); in foldOrOfICmps()2366 ShouldSwap = LHSC->getValue().ugt(RHSC->getValue()); in foldOrOfICmps()2368 if (ShouldSwap) { in foldOrOfICmps()
1256 bool ShouldSwap; in foldAndOfICmps() local1259 ShouldSwap = LHSC->getValue().sgt(RHSC->getValue()); in foldAndOfICmps()1261 ShouldSwap = LHSC->getValue().ugt(RHSC->getValue()); in foldAndOfICmps()1263 if (ShouldSwap) { in foldAndOfICmps()2451 bool ShouldSwap; in foldOrOfICmps() local2454 ShouldSwap = LHSC->getValue().sgt(RHSC->getValue()); in foldOrOfICmps()2456 ShouldSwap = LHSC->getValue().ugt(RHSC->getValue()); in foldOrOfICmps()2458 if (ShouldSwap) { in foldOrOfICmps()
148 const bool ShouldSwap = sys::IsLittleEndianHost != IsLittleEndianTarget; in emitIntValue() local149 const APInt Swapped = ShouldSwap ? Value.byteSwap() : Value; in emitIntValue()
1847 bool ShouldSwap = false; in optimizeCompareInstr() local1849 ShouldSwap = SrcReg2 != 0 && Sub->getOperand(1).getReg() == SrcReg2 && in optimizeCompareInstr()1854 ShouldSwap = !ShouldSwap; in optimizeCompareInstr()1857 if (ShouldSwap) in optimizeCompareInstr()1887 assert(!(Value != 0 && ShouldSwap) && in optimizeCompareInstr()
2149 bool ShouldSwap = false; in optimizeCompareInstr() local2151 ShouldSwap = SrcReg2 != 0 && Sub->getOperand(1).getReg() == SrcReg2 && in optimizeCompareInstr()2156 ShouldSwap = !ShouldSwap; in optimizeCompareInstr()2159 if (ShouldSwap) in optimizeCompareInstr()2189 assert(!(Value != 0 && ShouldSwap) && in optimizeCompareInstr()