| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCPredicates.h | 74 Predicate getSwappedPredicate(Predicate Opcode);
|
| H A D | PPCPredicates.cpp | 52 PPC::Predicate PPC::getSwappedPredicate(PPC::Predicate Opcode) { in getSwappedPredicate() function in PPC
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 1636 Pred = Cmp.getSwappedPredicate(Pred); in foldICmpXorConstant() 2000 Pred = ICmpInst::getSwappedPredicate(Pred); in foldICmpMulConstant() 2033 Pred = ICmpInst::getSwappedPredicate(Pred); in foldICmpMulConstant() 2631 Pred = ICmpInst::getSwappedPredicate(Pred); in foldICmpDivConstant() 2894 PredB = ICmpInst::getSwappedPredicate(PredB); in matchThreeWayIntCompare() 4055 Pred = ICmpInst::getSwappedPredicate(Pred); in foldICmpXNegX() 4424 NewPred = I.getSwappedPredicate(NewPred); in foldICmpBinOp() 4516 Pred = Cmp.getSwappedPredicate(); in foldICmpWithMinMax() 6297 return new ICmpInst(I.getSwappedPredicate(), A, in visitICmpInst() 6661 Pred = I.getSwappedPredicate(); in foldFCmpReciprocalAndZero() [all …]
|
| H A D | InstCombineSelect.cpp | 798 Pred = ICmpInst::getSwappedPredicate(Pred); in canonicalizeSaturatedSubtract() 864 Pred = CmpInst::getSwappedPredicate(Pred); in canonicalizeSaturatedAdd() 1074 Pred = ICmpInst::getSwappedPredicate(Pred); in adjustMinMax() 1504 Pred = ICmpInst::getSwappedPredicate(Pred); // Yes, swapped. in tryToReuseConstantFromSelectInComparison() 2547 Pred = FCmpInst::getSwappedPredicate(Pred); in foldSelectWithFCmpToFabs()
|
| H A D | InstCombineAndOrXor.cpp | 694 Pred1 = ICmpInst::getSwappedPredicate(Pred1); in simplifyRangeCheck() 1216 PredR = FCmpInst::getSwappedPredicate(PredR); in foldLogicOfFCmps() 2538 PredL = ICmpInst::getSwappedPredicate(PredL); in foldAndOrOfICmps() 3192 PredL = ICmpInst::getSwappedPredicate(PredL); in foldXorOfICmps()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | EarlyCSE.cpp | 186 Pred = ICmpInst::getSwappedPredicate(Pred); in matchSelectWithOptionalNotCond() 225 CmpInst::Predicate SwappedPred = CI->getSwappedPredicate(); in getHashValueImpl() 354 LHSCmp->getSwappedPredicate() == RHSCmp->getPredicate(); in isEqualImpl()
|
| H A D | ConstraintElimination.cpp | 286 Pred = CmpInst::getSwappedPredicate(Pred); in getConstraint() 301 Pred = CmpInst::getSwappedPredicate(CmpInst::ICMP_UGT); in getConstraint()
|
| H A D | LoopBoundSplit.cpp | 64 Cond.Pred = ICmpInst::getSwappedPredicate(Cond.Pred); in analyzeICmp()
|
| H A D | NewGVN.cpp | 1173 Predicate = CmpInst::getSwappedPredicate(Predicate); in createExpression() 1584 Predicate = CmpInst::getSwappedPredicate(Predicate); in performSymbolicPredicateInfoEvaluation() 1836 OurPredicate = CI->getSwappedPredicate(); in performSymbolicCmpEvaluation() 1906 BranchPredicate = BranchCond->getSwappedPredicate(); in performSymbolicCmpEvaluation()
|
| H A D | GVN.cpp | 339 Predicate = CmpInst::getSwappedPredicate(Predicate); in createExpr() 365 Predicate = CmpInst::getSwappedPredicate(Predicate); in createCmpExpr() 2193 CmpInst::getSwappedPredicate( in phiTranslateImpl()
|
| H A D | LoopPredication.cpp | 396 Pred = ICmpInst::getSwappedPredicate(Pred); in parseLoopICmp()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 1351 return FCmpInst::getSwappedPredicate(SwappedRelation); in evaluateFCmpRelation() 1442 return ICmpInst::getSwappedPredicate(SwappedRelation); in evaluateICmpRelation() 1449 return ICmpInst::getSwappedPredicate(SwappedRelation); in evaluateICmpRelation() 1477 return ICmpInst::getSwappedPredicate(SwappedRelation); in evaluateICmpRelation() 1907 Predicate = ICmpInst::getSwappedPredicate(Predicate); in ConstantFoldCompareInstruction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CodeMoverUtils.cpp | 221 CmpInst::getSwappedPredicate(Cmp2->getInversePredicate()) && in isInverse()
|
| H A D | SimplifyIndVar.cpp | 204 Pred = ICmpInst::getSwappedPredicate(Pred); in makeIVComparisonInvariant() 275 Pred = ICmpInst::getSwappedPredicate(Pred); in eliminateIVComparison() 577 if (IsSwapped) Pred = ICmpInst::getSwappedPredicate(Pred); in eliminateTrunc()
|
| H A D | LoopPeel.cpp | 261 Pred = ICmpInst::getSwappedPredicate(Pred); in countToEliminateCompares()
|
| H A D | PredicateInfo.cpp | 812 Pred = Cmp->getSwappedPredicate(); in getConstraint()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 137 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS && in isSameCompare() 482 Pred = CmpInst::getSwappedPredicate(Pred); in threadCmpOverSelect() 570 Pred = CmpInst::getSwappedPredicate(Pred); in threadCmpOverPHI() 1541 UnsignedPred = ICmpInst::getSwappedPredicate(UnsignedPred); in simplifyUnsignedRangeCheck() 3396 P = CmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax() 3404 P = CmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax() 3470 P = CmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax() 3478 P = CmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax() 3533 Pred = ICmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax() 3596 Pred = CmpInst::getSwappedPredicate(Pred); in simplifyICmpInst() [all …]
|
| H A D | ScalarEvolution.cpp | 8878 Pred = ICmpInst::getSwappedPredicate(Pred); in computeExitLimitFromICmp() 10346 Pred = ICmpInst::getSwappedPredicate(Pred); in SimplifyICmpOperands() 10357 Pred = ICmpInst::getSwappedPredicate(Pred); in SimplifyICmpOperands() 10738 Pred = ICmpInst::getSwappedPredicate(Pred); in getLoopInvariantPredicate() 10792 Pred = ICmpInst::getSwappedPredicate(Pred); in getLoopInvariantExitCondDuringFirstIterations() 11364 Pred = ICmpInst::getSwappedPredicate(Pred); in isImpliedCondBalancedTypes() 11374 if (ICmpInst::getSwappedPredicate(FoundPred) == Pred) { in isImpliedCondBalancedTypes() 11786 Pred = ICmpInst::getSwappedPredicate(Pred); in isImpliedViaMerge() 11860 Pred = ICmpInst::getSwappedPredicate(Pred); in isImpliedCondOperandsViaShift() 12008 Pred = CmpInst::getSwappedPredicate(Pred); in isImpliedViaOperations() [all …]
|
| H A D | LazyValueInfo.cpp | 1101 CmpInst::Predicate SwappedPred = CmpInst::getSwappedPredicate(EdgePred); in getValueFromICmpCondition() 1859 return getPredicateAt(CmpInst::getSwappedPredicate(Pred), RHS, C, CxtI, in getPredicateAt()
|
| H A D | ValueTracking.cpp | 5825 Pred = ICmpInst::getSwappedPredicate(Pred); in matchClamp() 5879 Pred = ICmpInst::getSwappedPredicate(Pred); in matchMinMaxOfMinMax() 5887 Pred = ICmpInst::getSwappedPredicate(Pred); in matchMinMaxOfMinMax() 5895 Pred = ICmpInst::getSwappedPredicate(Pred); in matchMinMaxOfMinMax() 5903 Pred = ICmpInst::getSwappedPredicate(Pred); in matchMinMaxOfMinMax() 6144 Pred = CmpInst::getSwappedPredicate(Pred); in matchSelectPattern() 6655 BPred = ICmpInst::getSwappedPredicate(BPred); in isImpliedCondMatchingOperands()
|
| H A D | LoopInfo.cpp | 246 Pred = ICmpInst::getSwappedPredicate(Pred); in getCanonicalPredicate()
|
| H A D | IRSimilarityIdentifier.cpp | 176 return CI->getSwappedPredicate(); in predicateForConsistency()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | InstrTypes.h | 849 Predicate getSwappedPredicate() const { 850 return getSwappedPredicate(getPredicate()); 856 static Predicate getSwappedPredicate(Predicate pred);
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64PostLegalizerLowering.cpp | 845 MI.getOperand(1).setPredicate(CmpInst::getSwappedPredicate(Pred)); in applySwapICmpOperands()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 756 CmpInst::getSwappedPredicate(static_cast<CmpInst::Predicate>(CCVal)); in instCombineIntrinsic()
|