Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp347 if (CmpInst *LHSCmp = dyn_cast<CmpInst>(LHSI)) { in isEqualImpl() local
352 return LHSCmp->getOperand(0) == RHSCmp->getOperand(1) && in isEqualImpl()
353 LHSCmp->getOperand(1) == RHSCmp->getOperand(0) && in isEqualImpl()
354 LHSCmp->getSwappedPredicate() == RHSCmp->getPredicate(); in isEqualImpl()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DValueTracking.cpp6770 const ICmpInst *LHSCmp = dyn_cast<ICmpInst>(LHS); in isImpliedCondition() local
6771 if (LHSCmp) in isImpliedCondition()
6772 return isImpliedCondICmps(LHSCmp, RHSPred, RHSOp0, RHSOp1, DL, LHSIsTrue, in isImpliedCondition()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprScalar.cpp3238 llvm::Value *LHSCmp = Builder.CreateICmpNE(Ops.LHS, IntMin); in EmitUndefinedBehaviorIntegerDivAndRemCheck() local
3240 llvm::Value *NotOverflow = Builder.CreateOr(LHSCmp, RHSCmp, "or"); in EmitUndefinedBehaviorIntegerDivAndRemCheck()