Home
last modified time | relevance | path

Searched refs:getInversePredicate (Results 1 – 25 of 47) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueLattice.cpp49 if (CR.icmp(CmpInst::getInversePredicate(Pred), OtherCR)) in getCompare()
H A DLazyValueInfo.cpp1145 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 DValueTracking.cpp741 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 DLoopInfo.cpp248 : LatchCmpInst->getInversePredicate(); in getCanonicalPredicate()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp217 if (Cmp1->getPredicate() == Cmp2->getInversePredicate() && in isInverse()
223 CmpInst::getSwappedPredicate(Cmp2->getInversePredicate()) && in isInverse()
H A DLoopPeel.cpp365 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 DFlattenCFG.cpp260 CI->setPredicate(ICmpInst::getInversePredicate(Predicate)); in FlattenParallelAndOr()
H A DPredicateInfo.cpp812 Pred = CmpInst::getInversePredicate(Pred); in getConstraint()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64GlobalISelUtils.cpp212 changeFCMPPredToAArch64CC(CmpInst::getInversePredicate(P), CondCode, in changeVectorFCMPPredToAArch64CC()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp618 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 DInstCombineSelect.cpp914 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 DInstCombineCompares.cpp969 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 DInstructionCombining.cpp2548 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 DConstraintElimination.cpp1164 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 DEarlyCSE.cpp289 if (CmpInst::getInversePredicate(Pred) < Pred) { in getHashValueImpl()
290 Pred = CmpInst::getInversePredicate(Pred); in getHashValueImpl()
458 CmpInst::getInversePredicate(PredL) == PredR) in isEqualImpl()
H A DCallSiteSplitting.cpp145 : Cmp->getInversePredicate()}); in recordCondition()
H A DLoopPredication.cpp386 if (SE->isLoopEntryGuardedByCond(L, ICmpInst::getInversePredicate(Pred), in run()
839 Result->Pred = ICmpInst::getInversePredicate(Result->Pred);
H A DIndVarSimplify.cpp1257 InvariantPred = ICmpInst::getInversePredicate(InvariantPred); in createInvariantCond()
1275 Pred = CmpInst::getInversePredicate(Pred); in createReplacement()
H A DStructurizeCFG.cpp615 InvertedCmp->setPredicate(InvertedCmp->getInversePredicate()); in simplifyConditions()
H A DLoopIdiomRecognize.cpp2508 Pred = ICmpInst::getInversePredicate(Pred); in detectShiftUntilBitTestIdiom()
2861 Pred = ICmpInst::getInversePredicate(Pred); in detectShiftUntilZeroIdiom()
H A DLICM.cpp2439 P = ICmpInst::getInversePredicate(P); in hoistMinMax()
2474 P = ICmpInst::getInversePredicate(P); in hoistMinMax()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackProtector.cpp684 Cmp->setPredicate(Cmp->getInversePredicate());
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPostLegalizerCombiner.cpp183 Info.Pred = CmpInst::getInversePredicate(Info.Pred); in matchFMinFMaxLegacy()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h871 Predicate getInversePredicate() const {
872 return getInversePredicate(getPredicate());
901 static Predicate getInversePredicate(Predicate pred);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp153 return makeAllowedICmpRegion(CmpInst::getInversePredicate(Pred), CR) in makeSatisfyingICmpRegion()
200 return CmpInst::getInversePredicate(FlippedSignednessPred); in getEquivalentPredWithFlippedSignedness()

12