Home
last modified time | relevance | path

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

12

/netbsd/external/apache2/llvm/dist/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
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1607 Pred = Cmp.getSwappedPredicate(Pred); in foldICmpXorConstant()
1961 Pred = ICmpInst::getSwappedPredicate(Pred); in foldICmpMulConstant()
2486 Pred = ICmpInst::getSwappedPredicate(Pred); in foldICmpDivConstant()
2561 return new ICmpInst(Cmp.getSwappedPredicate(), Y, in foldICmpSubConstant()
2703 PredB = ICmpInst::getSwappedPredicate(PredB); in matchThreeWayIntCompare()
3755 Pred = ICmpInst::getSwappedPredicate(Pred); in foldICmpXNegX()
4002 return new ICmpInst(I.getSwappedPredicate(), X, in foldICmpBinOp()
4070 NewPred = I.getSwappedPredicate(NewPred); in foldICmpBinOp()
4162 Pred = Cmp.getSwappedPredicate(); in foldICmpWithMinMax()
5731 return new ICmpInst(I.getSwappedPredicate(), A, in visitICmpInst()
[all …]
H A DInstCombineSelect.cpp742 Pred = ICmpInst::getSwappedPredicate(Pred); in canonicalizeSaturatedSubtract()
808 Pred = CmpInst::getSwappedPredicate(Pred); in canonicalizeSaturatedAdd()
1018 Pred = ICmpInst::getSwappedPredicate(Pred); in adjustMinMax()
1427 Pred = ICmpInst::getSwappedPredicate(Pred); // Yes, swapped. in tryToReuseConstantFromSelectInComparison()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp191 Pred = ICmpInst::getSwappedPredicate(Pred); in matchSelectWithOptionalNotCond()
230 CmpInst::Predicate SwappedPred = CI->getSwappedPredicate(); in getHashValueImpl()
359 LHSCmp->getSwappedPredicate() == RHSCmp->getPredicate(); in isEqualImpl()
H A DConstraintElimination.cpp149 return getConstraint(CmpInst::getSwappedPredicate(Pred), Op1, Op0, in getConstraint()
H A DGVN.cpp320 Predicate = CmpInst::getSwappedPredicate(Predicate); in createExpr()
347 Predicate = CmpInst::getSwappedPredicate(Predicate); in createCmpExpr()
2052 CmpInst::getSwappedPredicate( in phiTranslateImpl()
H A DNewGVN.cpp1165 Predicate = CmpInst::getSwappedPredicate(Predicate); in createExpression()
1576 Predicate = CmpInst::getSwappedPredicate(Predicate); in performSymbolicPredicateInfoEvaluation()
1813 OurPredicate = CI->getSwappedPredicate(); in performSymbolicCmpEvaluation()
1883 BranchPredicate = BranchCond->getSwappedPredicate(); in performSymbolicCmpEvaluation()
H A DLoopPredication.cpp390 Pred = ICmpInst::getSwappedPredicate(Pred); in parseLoopICmp()
H A DInductiveRangeCheckElimination.cpp813 Pred = ICmpInst::getSwappedPredicate(Pred); in parseLoopStructure()
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInstructionSimplify.cpp139 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS && in isSameCompare()
477 Pred = CmpInst::getSwappedPredicate(Pred); in ThreadCmpOverSelect()
565 Pred = CmpInst::getSwappedPredicate(Pred); in ThreadCmpOverPHI()
1493 UnsignedPred = ICmpInst::getSwappedPredicate(UnsignedPred); in simplifyUnsignedRangeCheck()
3144 P = CmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax()
3152 P = CmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax()
3218 P = CmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax()
3226 P = CmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax()
3281 Pred = ICmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax()
3345 Pred = CmpInst::getSwappedPredicate(Pred); in SimplifyICmpInst()
[all …]
H A DIRSimilarityIdentifier.cpp62 return CI->getSwappedPredicate(); in predicateForConsistency()
H A DScalarEvolution.cpp7817 Pred = ICmpInst::getSwappedPredicate(Pred); in computeExitLimitFromICmp()
9379 Pred = ICmpInst::getSwappedPredicate(Pred); in SimplifyICmpOperands()
9390 Pred = ICmpInst::getSwappedPredicate(Pred); in SimplifyICmpOperands()
9765 Pred = ICmpInst::getSwappedPredicate(Pred); in getLoopInvariantPredicate()
9819 Pred = ICmpInst::getSwappedPredicate(Pred); in getLoopInvariantExitCondDuringFirstIterations()
10360 FoundPred = ICmpInst::getSwappedPredicate(FoundPred); in isImpliedCondBalancedTypes()
10363 Pred = ICmpInst::getSwappedPredicate(Pred); in isImpliedCondBalancedTypes()
10373 if (ICmpInst::getSwappedPredicate(FoundPred) == Pred) { in isImpliedCondBalancedTypes()
10740 Pred = ICmpInst::getSwappedPredicate(Pred); in isImpliedViaMerge()
10916 Pred = CmpInst::getSwappedPredicate(Pred); in isImpliedViaOperations()
[all …]
H A DValueTracking.cpp5570 Pred = ICmpInst::getSwappedPredicate(Pred); in matchClamp()
5624 Pred = ICmpInst::getSwappedPredicate(Pred); in matchMinMaxOfMinMax()
5632 Pred = ICmpInst::getSwappedPredicate(Pred); in matchMinMaxOfMinMax()
5640 Pred = ICmpInst::getSwappedPredicate(Pred); in matchMinMaxOfMinMax()
5648 Pred = ICmpInst::getSwappedPredicate(Pred); in matchMinMaxOfMinMax()
5905 Pred = CmpInst::getSwappedPredicate(Pred); in matchSelectPattern()
6407 BPred = ICmpInst::getSwappedPredicate(BPred); in isImpliedCondMatchingOperands()
H A DLazyValueInfo.cpp1102 CmpInst::Predicate SwappedPred = CmpInst::getSwappedPredicate(EdgePred); in getValueFromICmpCondition()
1832 return getPredicateAt(CmpInst::getSwappedPredicate(Pred), RHS, C, CxtI, in getPredicateAt()
H A DLoopInfo.cpp250 Pred = ICmpInst::getSwappedPredicate(Pred); in getCanonicalPredicate()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp221 CmpInst::getSwappedPredicate(Cmp2->getInversePredicate()) && in isInverse()
H A DSimplifyIndVar.cpp203 Pred = ICmpInst::getSwappedPredicate(Pred); in makeIVComparisonInvariant()
273 Pred = ICmpInst::getSwappedPredicate(Pred); in eliminateIVComparison()
610 if (IsSwapped) Pred = ICmpInst::getSwappedPredicate(Pred); in eliminateTrunc()
H A DLoopPeel.cpp222 Pred = ICmpInst::getSwappedPredicate(Pred); in countToEliminateCompares()
H A DPredicateInfo.cpp790 Pred = Cmp->getSwappedPredicate(); in getConstraint()
/netbsd/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstantFold.cpp1646 return FCmpInst::getSwappedPredicate(SwappedRelation); in evaluateFCmpRelation()
1737 return ICmpInst::getSwappedPredicate(SwappedRelation); in evaluateICmpRelation()
1744 return ICmpInst::getSwappedPredicate(SwappedRelation); in evaluateICmpRelation()
1772 return ICmpInst::getSwappedPredicate(SwappedRelation); in evaluateICmpRelation()
2306 pred = ICmpInst::getSwappedPredicate((ICmpInst::Predicate)pred); in ConstantFoldCompareInstruction()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DInstrTypes.h839 Predicate getSwappedPredicate() const {
840 return getSwappedPredicate(getPredicate());
846 static Predicate getSwappedPredicate(Predicate pred);
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp844 MI.getOperand(1).setPredicate(CmpInst::getSwappedPredicate(Pred)); in applySwapICmpOperands()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp597 CmpInst::getSwappedPredicate(static_cast<CmpInst::Predicate>(CCVal)); in instCombineIntrinsic()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp1365 NewPredicate2 = (unsigned)PPC::getSwappedPredicate(Pred); in eliminateRedundantCompare()

12