/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueLattice.cpp | 49 if (CR.icmp(CmpInst::getInversePredicate(Pred), OtherCR)) in getCompare()
|
H A D | LazyValueInfo.cpp | 1145 Pred = ICmpInst::getInversePredicate(Pred); in getRangeViaSLT() 1167 isTrueDest ? ICI->getPredicate() : ICI->getInversePredicate(); in getValueFromICmpCondition() 1801 if (CR.icmp(CmpInst::getInversePredicate(Pred), RHS)) in getPredicateResult()
|
H A D | ValueTracking.cpp | 741 Invert ? Cmp->getInversePredicate() : Cmp->getPredicate(); in computeKnownBitsFromICmpCond() 1575 Pred = CmpInst::getInversePredicate(Pred); in computeKnownBitsFromOperator() 2502 else if (cmpExcludesZero(CmpInst::getInversePredicate(Pred), RHS)) in isKnownNonNullFromDominatingCondition() 2930 Pred = ICmpInst::getInversePredicate(Pred); in isKnownNonZeroFromOperator() 2963 Pred = CmpInst::getInversePredicate(Pred); in isKnownNonZeroFromOperator() 8091 Pred = CmpInst::getInversePredicate(Pred); in matchFastFloatClamp() 8387 return Pred1 == ICmpInst::getInversePredicate(Pred2); in isKnownInversion() 9057 if (DomCR.icmp(CmpInst::getInversePredicate(RPred), RCR)) in isImpliedCondCommonOperandWithCR() 9076 LHSIsTrue ? LHS->getPredicate() : LHS->getInversePredicate(); in isImpliedCondICmps()
|
H A D | LoopInfo.cpp | 248 : LatchCmpInst->getInversePredicate(); in getCanonicalPredicate()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CodeMoverUtils.cpp | 217 if (Cmp1->getPredicate() == Cmp2->getInversePredicate() && in isInverse() 223 CmpInst::getSwappedPredicate(Cmp2->getInversePredicate()) && in isInverse()
|
H A D | LoopPeel.cpp | 365 return SE.isKnownPredicate(ICmpInst::getInversePredicate(Pred), IterVal, in countToEliminateCompares() 426 Pred = ICmpInst::getInversePredicate(Pred); in countToEliminateCompares() 438 !SE.isKnownPredicate(ICmpInst::getInversePredicate(Pred), NextIterVal, in countToEliminateCompares()
|
H A D | FlattenCFG.cpp | 260 CI->setPredicate(ICmpInst::getInversePredicate(Predicate)); in FlattenParallelAndOr()
|
H A D | PredicateInfo.cpp | 812 Pred = CmpInst::getInversePredicate(Pred); in getConstraint()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64GlobalISelUtils.cpp | 212 changeFCMPPredToAArch64CC(CmpInst::getInversePredicate(P), CondCode, in changeVectorFCMPPredToAArch64CC()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAndOrXor.cpp | 618 CC = IsNot ? CmpInst::getInversePredicate(CC) : CC; in foldLogOpOfMaskedICmps() 661 ICmpInst::Predicate Pred0 = (Inverted ? Cmp0->getInversePredicate() : in simplifyRangeCheck() 669 ICmpInst::Predicate Pred1 = (Inverted ? Cmp1->getInversePredicate() : in simplifyRangeCheck() 699 NewPred = ICmpInst::getInversePredicate(NewPred); in simplifyRangeCheck() 1294 IsAnd ? ICmpInst::getInversePredicate(Pred1) : Pred1, *C1); in foldAndOrOfICmpsUsingRanges() 1299 IsAnd ? ICmpInst::getInversePredicate(Pred2) : Pred2, *C2); in foldAndOrOfICmpsUsingRanges() 3239 IsAnd ? LHS->getInversePredicate() : LHS->getPredicate(); in foldAndOrOfICmpEqConstantAndICmp() 3241 IsAnd ? RHS->getInversePredicate() : RHS->getPredicate(); in foldAndOrOfICmpEqConstantAndICmp() 4199 Y->setPredicate(Y->getInversePredicate()); in foldXorOfICmps() 4550 cast<CmpInst>(NotOp)->setPredicate(CmpInst::getInversePredicate(Pred)); in foldNot() [all …]
|
H A D | InstCombineSelect.cpp | 914 Pred = ICmpInst::getInversePredicate(Pred); in canonicalizeSaturatedSubtract() 994 Pred = CmpInst::getInversePredicate(Pred); in canonicalizeSaturatedAdd() 1411 Pred0 = ICmpInst::getInversePredicate(Pred0); in canonicalizeClampLike() 1700 CPred = ICI->getInversePredicate(); in foldSelectInstWithICmpConst() 3420 CmpInst::getInversePredicate(Pred), *Cond1); in isSafeToRemoveBitCeilSelect() 3504 Pred = CmpInst::getInversePredicate(Pred); in foldBitCeil() 3666 FCmpInst::Predicate InvPred = FCmp->getInversePredicate(); in visitSelectInst()
|
H A D | InstCombineCompares.cpp | 969 Pred = CmpInst::getInversePredicate(Pred); in foldICmpShrConstConst() 1028 Pred = CmpInst::getInversePredicate(Pred); in foldICmpShlConstConst() 1401 handleDomCond(CmpInst::getInversePredicate(DomPred), DomC)) in foldICmpWithDominatingICmp() 5430 NewPred = ICmpInst::getInversePredicate(NewPred); in foldICmpWithMinMax() 5762 return new ICmpInst(CmpInst::getInversePredicate(Pred), Op0, in foldICmpEquality() 5767 return new ICmpInst(CmpInst::getInversePredicate(Pred), Op1, in foldICmpEquality() 6612 return new ICmpInst(CmpInst::getInversePredicate(Pred), Op0, in foldICmpUsingKnownBits() 6890 I.setPredicate(CmpInst::getInversePredicate(Pred)); in canonicalizeICmpPredicate() 7493 return new ICmpInst(I.getInversePredicate(), Builder.CreateAnd(X, Y), in visitICmpInst()
|
H A D | InstructionCombining.cpp | 2548 return Builder->CreateCmp(I->getInversePredicate(), I->getOperand(0), in getFreelyInvertedImpl() 3690 Cmp->setPredicate(CmpInst::getInversePredicate(Pred)); in visitBranchInst() 3733 Pred = ICmpInst::getInversePredicate(Pred); in simplifySwitchOnSelectUsingRanges() 3951 return new ICmpInst(ICmpInst::getInversePredicate(Pred), NewLHS, in foldExtractOfOverflowIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | ConstraintElimination.cpp | 1164 IsOr ? CmpInst::getInversePredicate(Cmp->getPredicate()) in addInfoFor() 1194 CmpInst::getInversePredicate(CmpI->getPredicate()), CmpI->getOperand(0), in addInfoFor() 1388 dbgs(), *ImpliedCondition ? Pred : CmpInst::getInversePredicate(Pred), in checkCondition() 1520 Pred = CmpInst::getInversePredicate(Pred); in checkOrAndOpImpliedByOther()
|
H A D | EarlyCSE.cpp | 289 if (CmpInst::getInversePredicate(Pred) < Pred) { in getHashValueImpl() 290 Pred = CmpInst::getInversePredicate(Pred); in getHashValueImpl() 458 CmpInst::getInversePredicate(PredL) == PredR) in isEqualImpl()
|
H A D | CallSiteSplitting.cpp | 145 : Cmp->getInversePredicate()}); in recordCondition()
|
H A D | LoopPredication.cpp | 386 if (SE->isLoopEntryGuardedByCond(L, ICmpInst::getInversePredicate(Pred), in run() 839 Result->Pred = ICmpInst::getInversePredicate(Result->Pred);
|
H A D | IndVarSimplify.cpp | 1257 InvariantPred = ICmpInst::getInversePredicate(InvariantPred); in createInvariantCond() 1275 Pred = CmpInst::getInversePredicate(Pred); in createReplacement()
|
H A D | StructurizeCFG.cpp | 615 InvertedCmp->setPredicate(InvertedCmp->getInversePredicate()); in simplifyConditions()
|
H A D | LoopIdiomRecognize.cpp | 2508 Pred = ICmpInst::getInversePredicate(Pred); in detectShiftUntilBitTestIdiom() 2861 Pred = ICmpInst::getInversePredicate(Pred); in detectShiftUntilZeroIdiom()
|
H A D | LICM.cpp | 2439 P = ICmpInst::getInversePredicate(P); in hoistMinMax() 2474 P = ICmpInst::getInversePredicate(P); in hoistMinMax()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | StackProtector.cpp | 684 Cmp->setPredicate(Cmp->getInversePredicate());
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPostLegalizerCombiner.cpp | 183 Info.Pred = CmpInst::getInversePredicate(Info.Pred); in matchFMinFMaxLegacy()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | InstrTypes.h | 871 Predicate getInversePredicate() const { 872 return getInversePredicate(getPredicate()); 901 static Predicate getInversePredicate(Predicate pred);
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantRange.cpp | 153 return makeAllowedICmpRegion(CmpInst::getInversePredicate(Pred), CR) in makeSatisfyingICmpRegion() 200 return CmpInst::getInversePredicate(FlippedSignednessPred); in getEquivalentPredWithFlippedSignedness()
|