Home
last modified time | relevance | path

Searched refs:getSwappedPredicate (Results 1 – 25 of 37) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCPredicates.h74 Predicate getSwappedPredicate(Predicate Opcode);
H A DPPCPredicates.cpp52 PPC::Predicate PPC::getSwappedPredicate(PPC::Predicate Opcode) { in getSwappedPredicate() function in PPC
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp841 ICmpInst::getSwappedPredicate(Cond), I); in foldGEPICmp()
1547 Pred = Cmp.getSwappedPredicate(Pred); in foldICmpXorConstant()
1968 Pred = ICmpInst::getSwappedPredicate(Pred); in foldICmpMulConstant()
2000 Pred = ICmpInst::getSwappedPredicate(Pred); in foldICmpMulConstant()
2577 Pred = ICmpInst::getSwappedPredicate(Pred); in foldICmpDivConstant()
2645 ICmpInst::Predicate SwappedPred = Cmp.getSwappedPredicate(); in foldICmpSubConstant()
2847 PredB = ICmpInst::getSwappedPredicate(PredB); in matchThreeWayIntCompare()
4014 Pred = ICmpInst::getSwappedPredicate(Pred); in foldICmpXNegX()
4315 return new ICmpInst(I.getSwappedPredicate(), X, in foldICmpBinOp()
4343 switch (SRem == BO0 ? ICmpInst::getSwappedPredicate(Pred) : Pred) { in foldICmpBinOp()
[all …]
H A DInstCombineSelect.cpp396 if (TPred == FPred || TPred == CmpInst::getSwappedPredicate(FPred)) { in foldSelectOpOp()
403 MatchIsOpZero ? TPred : CmpInst::getSwappedPredicate(TPred), in foldSelectOpOp()
834 Pred = ICmpInst::getSwappedPredicate(Pred); in canonicalizeSaturatedSubtract()
900 Pred = CmpInst::getSwappedPredicate(Pred); in canonicalizeSaturatedAdd()
1117 Pred = ICmpInst::getSwappedPredicate(Pred); in adjustMinMax()
1562 Pred = ICmpInst::getSwappedPredicate(Pred); // Yes, swapped. in tryToReuseConstantFromSelectInComparison()
2657 Pred = FCmpInst::getSwappedPredicate(Pred); in foldSelectWithFCmpToFabs()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp202 Pred = ICmpInst::getSwappedPredicate(Pred); in matchSelectWithOptionalNotCond()
241 CmpInst::Predicate SwappedPred = CI->getSwappedPredicate(); in getHashValueImpl()
370 LHSCmp->getSwappedPredicate() == RHSCmp->getPredicate(); in isEqualImpl()
H A DLoopBoundSplit.cpp64 Cond.Pred = ICmpInst::getSwappedPredicate(Cond.Pred); in analyzeICmp()
H A DConstraintElimination.cpp399 Pred = CmpInst::getSwappedPredicate(Pred); in getConstraint()
414 Pred = CmpInst::getSwappedPredicate(CmpInst::ICMP_UGT); in getConstraint()
H A DNewGVN.cpp1170 Predicate = CmpInst::getSwappedPredicate(Predicate); in createExpression()
1580 Predicate = CmpInst::getSwappedPredicate(Predicate); in performSymbolicPredicateInfoEvaluation()
1843 OurPredicate = CI->getSwappedPredicate(); in performSymbolicCmpEvaluation()
1913 BranchPredicate = BranchCond->getSwappedPredicate(); in performSymbolicCmpEvaluation()
H A DGVN.cpp350 Predicate = CmpInst::getSwappedPredicate(Predicate); in createExpr()
376 Predicate = CmpInst::getSwappedPredicate(Predicate); in createCmpExpr()
2176 CmpInst::getSwappedPredicate( in phiTranslateImpl()
H A DLoopPredication.cpp405 Pred = ICmpInst::getSwappedPredicate(Pred); in parseLoopICmp()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DInstructionSimplify.cpp138 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS && in isSameCompare()
483 Pred = CmpInst::getSwappedPredicate(Pred); in threadCmpOverSelect()
571 Pred = CmpInst::getSwappedPredicate(Pred); in threadCmpOverPHI()
1609 UnsignedPred = ICmpInst::getSwappedPredicate(UnsignedPred); in simplifyUnsignedRangeCheck()
2630 if (Pred == CmpInst::getSwappedPredicate(Cmp->getPredicate()) && in extractEquivalentCondition()
3341 ICmpInst::getSwappedPredicate(Pred), RBO, LHS, Q, MaxRecurse)) in simplifyICmpWithBinOp()
3466 P = CmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax()
3474 P = CmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax()
3540 P = CmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax()
3548 P = CmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax()
[all …]
H A DScalarEvolution.cpp9145 Pred = ICmpInst::getSwappedPredicate(Pred); in computeExitLimitFromICmp()
10646 Pred = ICmpInst::getSwappedPredicate(Pred); in SimplifyICmpOperands()
10657 Pred = ICmpInst::getSwappedPredicate(Pred); in SimplifyICmpOperands()
10971 getMonotonicPredicateTypeImpl(LHS, ICmpInst::getSwappedPredicate(Pred)); in getMonotonicPredicateType()
11036 Pred = ICmpInst::getSwappedPredicate(Pred); in getLoopInvariantPredicate()
11149 Pred = ICmpInst::getSwappedPredicate(Pred); in getLoopInvariantExitCondDuringFirstIterationsImpl()
11186 NoOverflowPred = CmpInst::getSwappedPredicate(NoOverflowPred); in getLoopInvariantExitCondDuringFirstIterationsImpl()
11709 FoundPred = ICmpInst::getSwappedPredicate(FoundPred); in isImpliedCondBalancedTypes()
11712 Pred = ICmpInst::getSwappedPredicate(Pred); in isImpliedCondBalancedTypes()
11722 if (ICmpInst::getSwappedPredicate(FoundPred) == Pred) { in isImpliedCondBalancedTypes()
[all …]
H A DValueTracking.cpp6008 Pred = ICmpInst::getSwappedPredicate(Pred); in matchClamp()
6062 Pred = ICmpInst::getSwappedPredicate(Pred); in matchMinMaxOfMinMax()
6070 Pred = ICmpInst::getSwappedPredicate(Pred); in matchMinMaxOfMinMax()
6078 Pred = ICmpInst::getSwappedPredicate(Pred); in matchMinMaxOfMinMax()
6086 Pred = ICmpInst::getSwappedPredicate(Pred); in matchMinMaxOfMinMax()
6336 Pred = CmpInst::getSwappedPredicate(Pred); in matchSelectPattern()
6843 RPred = ICmpInst::getSwappedPredicate(RPred); in isImpliedCondMatchingOperands()
H A DLazyValueInfo.cpp1106 CmpInst::Predicate SwappedPred = CmpInst::getSwappedPredicate(EdgePred); in getValueFromICmpCondition()
1927 return getPredicateAt(CmpInst::getSwappedPredicate(Pred), RHS, C, CxtI, in getPredicateAt()
H A DLoopInfo.cpp250 Pred = ICmpInst::getSwappedPredicate(Pred); in getCanonicalPredicate()
H A DIRSimilarityIdentifier.cpp176 return CI->getSwappedPredicate(); in predicateForConsistency()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DConstantFold.cpp1352 return FCmpInst::getSwappedPredicate(SwappedRelation); in evaluateFCmpRelation()
1443 return ICmpInst::getSwappedPredicate(SwappedRelation); in evaluateICmpRelation()
1450 return ICmpInst::getSwappedPredicate(SwappedRelation); in evaluateICmpRelation()
1478 return ICmpInst::getSwappedPredicate(SwappedRelation); in evaluateICmpRelation()
1910 Predicate = ICmpInst::getSwappedPredicate(Predicate); in ConstantFoldCompareInstruction()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp223 CmpInst::getSwappedPredicate(Cmp2->getInversePredicate()) && in isInverse()
H A DSimplifyIndVar.cpp202 Pred = ICmpInst::getSwappedPredicate(Pred); in makeIVComparisonInvariant()
244 Pred = ICmpInst::getSwappedPredicate(Pred); in eliminateIVComparison()
547 if (IsSwapped) Pred = ICmpInst::getSwappedPredicate(Pred); in eliminateTrunc()
H A DLoopPeel.cpp376 Pred = ICmpInst::getSwappedPredicate(Pred); in countToEliminateCompares()
H A DPredicateInfo.cpp812 Pred = Cmp->getSwappedPredicate(); in getConstraint()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DInstrTypes.h859 Predicate getSwappedPredicate() const {
860 return getSwappedPredicate(getPredicate());
866 static Predicate getSwappedPredicate(Predicate pred);
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DMIPatternMatch.h666 P.match(MRI, CmpInst::getSwappedPredicate(TmpPred)))
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp887 MI.getOperand(1).setPredicate(CmpInst::getSwappedPredicate(Pred)); in applySwapICmpOperands()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp741 CmpInst::getSwappedPredicate(static_cast<CmpInst::Predicate>(CCVal)); in instCombineIntrinsic()

12