Home
last modified time | relevance | path

Searched refs:ShouldSwap (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp965 bool ShouldSwap; in FoldAndOfICmps() local
969 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() local
1869 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldOrOfICmps()
1871 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldOrOfICmps()
1873 if (ShouldSwap) { in FoldOrOfICmps()
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp1717 bool ShouldSwap = false; in optimizeCompareInstr() local
1719 ShouldSwap = SrcReg2 != 0 && Sub->getOperand(1).getReg() == SrcReg2 && in optimizeCompareInstr()
1724 ShouldSwap = !ShouldSwap; in optimizeCompareInstr()
1727 if (ShouldSwap) in optimizeCompareInstr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1269 bool ShouldSwap; in foldAndOfICmps() local
1272 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() local
2364 ShouldSwap = LHSC->getValue().sgt(RHSC->getValue()); in foldOrOfICmps()
2366 ShouldSwap = LHSC->getValue().ugt(RHSC->getValue()); in foldOrOfICmps()
2368 if (ShouldSwap) { in foldOrOfICmps()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1256 bool ShouldSwap; in foldAndOfICmps() local
1259 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() local
2454 ShouldSwap = LHSC->getValue().sgt(RHSC->getValue()); in foldOrOfICmps()
2456 ShouldSwap = LHSC->getValue().ugt(RHSC->getValue()); in foldOrOfICmps()
2458 if (ShouldSwap) { in foldOrOfICmps()
/external/llvm-project/llvm/lib/MC/
DMCStreamer.cpp148 const bool ShouldSwap = sys::IsLittleEndianHost != IsLittleEndianTarget; in emitIntValue() local
149 const APInt Swapped = ShouldSwap ? Value.byteSwap() : Value; in emitIntValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp1847 bool ShouldSwap = false; in optimizeCompareInstr() local
1849 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()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp2149 bool ShouldSwap = false; in optimizeCompareInstr() local
2151 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()