Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp386 if (CmpInst *LHSCmp = dyn_cast<CmpInst>(LHSI)) { 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.cpp3560 if (auto *LHSCmp = dyn_cast<ICmpInst>(LHS)) in foldBooleanAndOr() local
3562 if (Value *Res = foldAndOrOfICmps(LHSCmp, RHSCmp, I, IsAnd, IsLogical)) in foldBooleanAndOr()
3565 if (auto *LHSCmp = dyn_cast<FCmpInst>(LHS)) in foldBooleanAndOr() local
3567 if (Value *Res = foldLogicOfFCmps(LHSCmp, RHSCmp, IsAnd, IsLogical)) in foldBooleanAndOr()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp9450 if (const auto *LHSCmp = dyn_cast<ICmpInst>(LHS)) in isImpliedCondition() local
9451 return isImpliedCondICmps(LHSCmp->getCmpPredicate(), LHSCmp->getOperand(0), in isImpliedCondition()
9452 LHSCmp->getOperand(1), RHSPred, RHSOp0, RHSOp1, in isImpliedCondition()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp3986 llvm::Value *LHSCmp = Builder.CreateICmpNE(Ops.LHS, IntMin); in EmitUndefinedBehaviorIntegerDivAndRemCheck() local
3988 llvm::Value *NotOverflow = Builder.CreateOr(LHSCmp, RHSCmp, "or"); in EmitUndefinedBehaviorIntegerDivAndRemCheck()