Home
last modified time | relevance | path

Searched refs:ShouldSwap (Results 1 – 5 of 5) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1011 bool ShouldSwap; in foldAndOfICmps() local
1014 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() local
1938 ShouldSwap = LHSC->getValue().sgt(RHSC->getValue()); in foldOrOfICmps()
1940 ShouldSwap = LHSC->getValue().ugt(RHSC->getValue()); in foldOrOfICmps()
1942 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-7.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp1848 bool ShouldSwap = false; in optimizeCompareInstr() local
1850 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()