Searched refs:RHSCmp (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | EarlyCSE.cpp | 389 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 D | InstCombineAndOrXor.cpp | 3561 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 D | ValueTracking.cpp | 9488 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 D | CGExprScalar.cpp | 3987 llvm::Value *RHSCmp = Builder.CreateICmpNE(Ops.RHS, NegOne); in EmitUndefinedBehaviorIntegerDivAndRemCheck() local 3988 llvm::Value *NotOverflow = Builder.CreateOr(LHSCmp, RHSCmp, "or"); in EmitUndefinedBehaviorIntegerDivAndRemCheck()
|