Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp225 CmpInst::Predicate SwappedPred = CI->getSwappedPredicate(); in getHashValueImpl() local
226 if (std::tie(LHS, Pred) > std::tie(RHS, SwappedPred)) { in getHashValueImpl()
228 Pred = SwappedPred; in getHashValueImpl()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1101 CmpInst::Predicate SwappedPred = CmpInst::getSwappedPredicate(EdgePred); in getValueFromICmpCondition() local
1102 if (matchICmpOperand(Offset, RHS, Val, SwappedPred)) in getValueFromICmpCondition()
1103 return getValueFromSimpleICmpCondition(SwappedPred, LHS, Offset); in getValueFromICmpCondition()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp2699 ICmpInst::Predicate SwappedPred = Cmp.getSwappedPredicate(); in foldICmpSubConstant() local
2705 return new ICmpInst(SwappedPred, Y, ConstantInt::get(Ty, SubResult)); in foldICmpSubConstant()
2762 return new ICmpInst(SwappedPred, Add, ConstantInt::get(Ty, ~C)); in foldICmpSubConstant()