Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCPredicates.h75 Predicate getSwappedPredicate(Predicate Opcode);
H A DPPCPredicates.cpp53 PPC::Predicate PPC::getSwappedPredicate(PPC::Predicate Opcode) { in getSwappedPredicate() function in PPC
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp952 ICmpInst::getSwappedPredicate(Cond), I); in foldGEPICmp()
1513 Pred = Cmp.getSwappedPredicate(Pred); in foldICmpXorConstant()
1828 Pred = ICmpInst::getSwappedPredicate(Pred); in foldICmpMulConstant()
2254 Pred = ICmpInst::getSwappedPredicate(Pred); in foldICmpDivConstant()
3319 return new ICmpInst(I.getSwappedPredicate(), X, in foldICmpBinOp()
3376 NewPred = I.getSwappedPredicate(NewPred); in foldICmpBinOp()
3466 Pred = Cmp.getSwappedPredicate(); in foldICmpWithMinMax()
4700 Pred = Cmp.getSwappedPredicate(); in foldICmpWithHighBitMask()
4723 Pred = Cmp.getSwappedPredicate(); in foldICmpWithHighBitMask()
4977 return new ICmpInst(I.getSwappedPredicate(), A, in visitICmpInst()
[all …]
H A DInstCombineSelect.cpp654 Pred = ICmpInst::getSwappedPredicate(Pred); in canonicalizeSaturatedSubtract()
816 Pred = ICmpInst::getSwappedPredicate(Pred); in adjustMinMax()
H A DInstCombineAndOrXor.cpp782 Pred1 = ICmpInst::getSwappedPredicate(Pred1); in simplifyRangeCheck()
1220 PredR = FCmpInst::getSwappedPredicate(PredR); in foldLogicOfFCmps()
H A DInstCombineCalls.cpp3726 = CmpInst::getSwappedPredicate(static_cast<CmpInst::Predicate>(CCVal)); in visitCallInst()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstantFold.cpp1390 return FCmpInst::getSwappedPredicate(SwappedRelation); in evaluateFCmpRelation()
1481 return ICmpInst::getSwappedPredicate(SwappedRelation); in evaluateICmpRelation()
1488 return ICmpInst::getSwappedPredicate(SwappedRelation); in evaluateICmpRelation()
1516 return ICmpInst::getSwappedPredicate(SwappedRelation); in evaluateICmpRelation()
2017 pred = ICmpInst::getSwappedPredicate((ICmpInst::Predicate)pred); in ConstantFoldCompareInstruction()
H A DInstructions.cpp3478 CmpInst::Predicate CmpInst::getSwappedPredicate(Predicate pred) { in getSwappedPredicate() function in CmpInst
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp182 Pred = ICmpInst::getSwappedPredicate(Pred); in makeIVComparisonInvariant()
252 Pred = ICmpInst::getSwappedPredicate(Pred); in eliminateIVComparison()
H A DLoopUnrollPeel.cpp186 Pred = ICmpInst::getSwappedPredicate(Pred); in countToEliminateCompares()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DInstrTypes.h761 Predicate getSwappedPredicate() const {
762 return getSwappedPredicate(getPredicate());
768 static Predicate getSwappedPredicate(Predicate pred);
H A DInstructions.h1311 setPredicate(getSwappedPredicate());
1419 setPredicate(getSwappedPredicate());
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DInstructionSimplify.cpp132 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS && in isSameCompare()
407 Pred = CmpInst::getSwappedPredicate(Pred); in ThreadCmpOverSelect()
531 Pred = CmpInst::getSwappedPredicate(Pred); in ThreadCmpOverPHI()
1406 UnsignedPred = ICmpInst::getSwappedPredicate(UnsignedPred); in simplifyUnsignedRangeCheck()
2117 if (Pred == CmpInst::getSwappedPredicate(Cmp->getPredicate()) && in ExtractEquivalentCondition()
3126 P = CmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax()
3134 P = CmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax()
3200 P = CmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax()
3208 P = CmpInst::getSwappedPredicate(Pred); in simplifyICmpWithMinMax()
3320 Pred = CmpInst::getSwappedPredicate(Pred); in SimplifyICmpInst()
[all …]
H A DValueTracking.cpp4576 Pred = ICmpInst::getSwappedPredicate(Pred); in matchClamp()
4630 Pred = ICmpInst::getSwappedPredicate(Pred); in matchMinMaxOfMinMax()
4638 Pred = ICmpInst::getSwappedPredicate(Pred); in matchMinMaxOfMinMax()
4646 Pred = ICmpInst::getSwappedPredicate(Pred); in matchMinMaxOfMinMax()
4654 Pred = ICmpInst::getSwappedPredicate(Pred); in matchMinMaxOfMinMax()
4884 Pred = CmpInst::getSwappedPredicate(Pred); in matchSelectPattern()
5259 BPred = ICmpInst::getSwappedPredicate(BPred); in isImpliedCondMatchingOperands()
H A DScalarEvolution.cpp7330 Pred = ICmpInst::getSwappedPredicate(Pred); in computeExitLimitFromICmp()
8842 Pred = ICmpInst::getSwappedPredicate(Pred); in SimplifyICmpOperands()
8853 Pred = ICmpInst::getSwappedPredicate(Pred); in SimplifyICmpOperands()
9125 LHS, ICmpInst::getSwappedPredicate(Pred), IncreasingSwapped); in isMonotonicPredicate()
9202 Pred = ICmpInst::getSwappedPredicate(Pred); in isLoopInvariantPredicate()
9671 FoundPred = ICmpInst::getSwappedPredicate(FoundPred); in isImpliedCond()
9674 Pred = ICmpInst::getSwappedPredicate(Pred); in isImpliedCond()
9684 if (ICmpInst::getSwappedPredicate(FoundPred) == Pred) { in isImpliedCond()
9688 return isImpliedCondOperands(ICmpInst::getSwappedPredicate(Pred), in isImpliedCond()
9970 Pred = ICmpInst::getSwappedPredicate(Pred); in isImpliedViaMerge()
H A DLazyValueInfo.cpp1104 Predicate = CmpInst::getSwappedPredicate(Predicate); in getValueFromICmpCondition()
H A DConstantFolding.cpp1259 Predicate = ICmpInst::getSwappedPredicate((ICmpInst::Predicate)Predicate); in ConstantFoldCompareInstOperands()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp147 Pred = CI->getSwappedPredicate(); in getHashValue()
225 LHSCmp->getSwappedPredicate() == RHSCmp->getPredicate(); in isEqual()
H A DLoopPredication.cpp372 Pred = ICmpInst::getSwappedPredicate(Pred); in parseLoopICmp()
H A DGVN.cpp294 Predicate = CmpInst::getSwappedPredicate(Predicate); in createExpr()
320 Predicate = CmpInst::getSwappedPredicate(Predicate); in createCmpExpr()
1582 CmpInst::getSwappedPredicate( in phiTranslateImpl()
H A DNewGVN.cpp1143 Predicate = CmpInst::getSwappedPredicate(Predicate); in createExpression()
1589 SwappedOps ? Cmp->getSwappedPredicate() : Cmp->getPredicate(); in performSymbolicPredicateInfoEvaluation()
1867 OurPredicate = CI->getSwappedPredicate(); in performSymbolicCmpEvaluation()
1934 BranchPredicate = BranchCond->getSwappedPredicate(); in performSymbolicCmpEvaluation()
H A DInductiveRangeCheckElimination.cpp816 Pred = ICmpInst::getSwappedPredicate(Pred); in parseLoopStructure()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp1124 NewPredicate2 = (unsigned)PPC::getSwappedPredicate(Pred); in eliminateRedundantCompare()
H A DPPCInstrInfo.cpp1868 PPC::getSwappedPredicate(Pred))); in optimizeCompareInstr()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp2291 pre = I.getSwappedPredicate(); in handleSignedRelationalComparison()