Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp350 CmpInst *RHSCmp = cast<CmpInst>(RHSI); 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.cpp6795 if (const ICmpInst *RHSCmp = dyn_cast<ICmpInst>(RHS)) in isImpliedCondition() local
6796 return isImpliedCondition(LHS, RHSCmp->getPredicate(), in isImpliedCondition()
6797 RHSCmp->getOperand(0), RHSCmp->getOperand(1), DL, in isImpliedCondition()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprScalar.cpp3239 llvm::Value *RHSCmp = Builder.CreateICmpNE(Ops.RHS, NegOne); in EmitUndefinedBehaviorIntegerDivAndRemCheck() local
3240 llvm::Value *NotOverflow = Builder.CreateOr(LHSCmp, RHSCmp, "or"); in EmitUndefinedBehaviorIntegerDivAndRemCheck()