Home
last modified time | relevance | path

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

/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp1690 bool ShouldSwap = false; in optimizeCompareInstr() local
1692 ShouldSwap = SrcReg2 != 0 && Sub->getOperand(1).getReg() == SrcReg2 && in optimizeCompareInstr()
1697 ShouldSwap = !ShouldSwap; in optimizeCompareInstr()
1700 if (ShouldSwap) in optimizeCompareInstr()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp992 bool ShouldSwap; in FoldAndOfICmps() local
996 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldAndOfICmps()
998 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldAndOfICmps()
1000 if (ShouldSwap) { in FoldAndOfICmps()
1966 bool ShouldSwap; in FoldOrOfICmps() local
1970 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldOrOfICmps()
1972 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldOrOfICmps()
1974 if (ShouldSwap) { in FoldOrOfICmps()