Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp389 CmpInst *RHSCmp = cast<CmpInst>(RHSI); in isEqualImpl() local
391 return LHSCmp->getOperand(0) == RHSCmp->getOperand(1) && in isEqualImpl()
392 LHSCmp->getOperand(1) == RHSCmp->getOperand(0) && in isEqualImpl()
393 LHSCmp->getSwappedPredicate() == RHSCmp->getPredicate(); in isEqualImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp3561 if (auto *RHSCmp = dyn_cast<ICmpInst>(RHS)) in foldBooleanAndOr() local
3562 if (Value *Res = foldAndOrOfICmps(LHSCmp, RHSCmp, I, IsAnd, IsLogical)) in foldBooleanAndOr()
3566 if (auto *RHSCmp = dyn_cast<FCmpInst>(RHS)) in foldBooleanAndOr() local
3567 if (Value *Res = foldLogicOfFCmps(LHSCmp, RHSCmp, IsAnd, IsLogical)) in foldBooleanAndOr()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp9488 if (const ICmpInst *RHSCmp = dyn_cast<ICmpInst>(RHS)) { in isImpliedCondition() local
9490 LHS, RHSCmp->getCmpPredicate(), RHSCmp->getOperand(0), in isImpliedCondition()
9491 RHSCmp->getOperand(1), DL, LHSIsTrue, Depth)) in isImpliedCondition()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp3987 llvm::Value *RHSCmp = Builder.CreateICmpNE(Ops.RHS, NegOne); in EmitUndefinedBehaviorIntegerDivAndRemCheck() local
3988 llvm::Value *NotOverflow = Builder.CreateOr(LHSCmp, RHSCmp, "or"); in EmitUndefinedBehaviorIntegerDivAndRemCheck()