Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp815 bool ShouldSwap; in FoldAndOfICmps() local
819 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldAndOfICmps()
821 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldAndOfICmps()
823 if (ShouldSwap) { in FoldAndOfICmps()
1499 bool ShouldSwap; in FoldOrOfICmps() local
1503 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldOrOfICmps()
1505 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldOrOfICmps()
1507 if (ShouldSwap) { in FoldOrOfICmps()