Home
last modified time | relevance | path

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

/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp1595 bool ShouldSwap = false; in optimizeCompareInstr() local
1597 ShouldSwap = SrcReg2 != 0 && Sub->getOperand(1).getReg() == SrcReg2 && in optimizeCompareInstr()
1602 ShouldSwap = !ShouldSwap; in optimizeCompareInstr()
1605 if (ShouldSwap) in optimizeCompareInstr()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp994 bool ShouldSwap; in FoldAndOfICmps() local
998 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldAndOfICmps()
1000 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldAndOfICmps()
1002 if (ShouldSwap) { in FoldAndOfICmps()
1877 bool ShouldSwap; in FoldOrOfICmps() local
1881 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldOrOfICmps()
1883 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldOrOfICmps()
1885 if (ShouldSwap) { in FoldOrOfICmps()