Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp835 bool ShouldSwap; in FoldAndOfICmps() local
839 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() local
1536 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldOrOfICmps()
1538 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldOrOfICmps()
1540 if (ShouldSwap) { in FoldOrOfICmps()
/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()