Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp895 bool ShouldSwap; in FoldAndOfICmps() local
899 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldAndOfICmps()
901 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldAndOfICmps()
903 if (ShouldSwap) { in FoldAndOfICmps()
1675 bool ShouldSwap; in FoldOrOfICmps() local
1679 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldOrOfICmps()
1681 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldOrOfICmps()
1683 if (ShouldSwap) { in FoldOrOfICmps()
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp1495 bool ShouldSwap = false; in optimizeCompareInstr() local
1497 ShouldSwap = SrcReg2 != 0 && Sub->getOperand(1).getReg() == SrcReg2 && in optimizeCompareInstr()
1502 ShouldSwap = !ShouldSwap; in optimizeCompareInstr()
1505 if (ShouldSwap) in optimizeCompareInstr()