Home
last modified time | relevance | path

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

123456

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1144 if (I.getPredicate() == I.ICMP_NE) in foldICmpShrConstConst()
1203 if (I.getPredicate() == I.ICMP_NE) in foldICmpShlConstConst()
1720 return new ICmpInst(Cmp.getPredicate(), in foldICmpAndShift()
4794 switch (I.getPredicate()) { in processUMulZExtIdiom()
4911 switch (I.getPredicate()) { in processUMulZExtIdiom()
4954 switch (I.getPredicate()) { in getDemandedBitsLHSMask()
5492 switch (I.getPredicate()) { in canonicalizeICmpBool()
5501 switch (I.getPredicate()) { in canonicalizeICmpBool()
5511 switch (I.getPredicate()) { in canonicalizeICmpBool()
5988 switch (I.getPredicate()) { in foldFCmpIntToFPConst()
[all …]
H A DInstCombineAndOrXor.cpp554 ICmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate(); in foldLogOpOfMaskedICmps()
756 ICmpInst::Predicate Pred = LHS->getPredicate(); in foldAndOrOfEqualityCmpsWithConstants()
757 if (Pred != RHS->getPredicate()) in foldAndOrOfEqualityCmpsWithConstants()
805 if (LHS->getPredicate() != Pred || RHS->getPredicate() != Pred) in foldAndOrOfICmpsOfAndWithPow2()
903 CmpInst::Predicate Pred = ICmp->getPredicate(); in foldSignedTruncationCheck()
1122 if (Cmp0->getPredicate() != Pred || Cmp1->getPredicate() != Pred) in foldEqOfParts()
1216 ICmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate(); in foldAndOfICmps()
1435 FCmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate(); in foldLogicOfFCmps()
2374 ICmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate(); in foldOrOfICmps()
3038 if (predicatesFoldable(LHS->getPredicate(), RHS->getPredicate())) { in foldXorOfICmps()
[all …]
H A DInstCombineSelect.cpp140 ICmpInst::Predicate Pred = Cmp->getPredicate(); in foldSelectICmpAnd()
551 ICmpInst::Predicate Pred = IC->getPredicate(); in foldSelectICmpLshrAshr()
725 ICmpInst::Predicate Pred = ICI->getPredicate(); in canonicalizeSaturatedSubtract()
784 ICmpInst::Predicate Pred = Cmp->getPredicate(); in canonicalizeSaturatedAdd()
861 if (ICI->getPredicate() == ICmpInst::ICMP_NE) in foldSelectCtlzToCttz()
895 ICmpInst::Predicate Pred = ICI->getPredicate(); in foldSelectCttzCtlz()
946 ICmpInst::Predicate Pred = Cmp.getPredicate(); in adjustMinMax()
1056 Cmp.getPredicate() == CanonicalPred) in canonicalizeMinMaxWithConstant()
1132 if (Cmp.getPredicate() == ICmpInst::ICMP_NE) { in foldSelectValueEquivalence()
1248 switch (Cmp0.getPredicate()) { in canonicalizeClampLike()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanPredicator.cpp58 VPValue *BP = PredBB->getPredicate(); in getOrCreateNotPredicate()
138 VPValue *RegionBP = Region->getPredicate(); in createOrPropagatePredicates()
166 IncomingPredicate = PredBlock->getPredicate(); in createOrPropagatePredicates()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h821 return getInversePredicate(getPredicate());
837 return getSwappedPredicate(getPredicate());
862 return isNonStrictPredicate(getPredicate());
868 return getStrictPredicate(getPredicate());
881 return getNonStrictPredicate(getPredicate());
935 return isSigned(getPredicate());
941 return isUnsigned(getPredicate());
954 return getSignedPredicate(getPredicate());
966 return getUnsignedPredicate(getPredicate());
984 return isTrueWhenEqual(getPredicate());
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DIRSimilarityIdentifier.cpp34 if (Predicate != C->getPredicate()) in IRInstructionData()
53 switch (CI->getPredicate()) { in predicateForConsistency()
64 return CI->getPredicate(); in predicateForConsistency()
68 CmpInst::Predicate IRInstructionData::getPredicate() const { in getPredicate() function in IRInstructionData
75 return cast<CmpInst>(Inst)->getPredicate(); in getPredicate()
98 if (A.getPredicate() != B.getPredicate()) in isClose()
H A DBranchProbabilityInfo.cpp480 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics()
582 Constant *Result = ConstantExpr::getCompare(CI->getPredicate(), in computeUnlikelySuccessors()
966 switch (CI->getPredicate()) { in calcZeroHeuristics()
977 switch (CI->getPredicate()) { in calcZeroHeuristics()
997 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
1002 switch (CI->getPredicate()) { in calcZeroHeuristics()
1052 } else if (FCmp->getPredicate() == FCmpInst::FCMP_ORD) { in calcFloatingPointHeuristics()
1057 } else if (FCmp->getPredicate() == FCmpInst::FCMP_UNO) { in calcFloatingPointHeuristics()
H A DCmpInstAnalysis.cpp23 : ICI->getPredicate(); in getICmpCode()
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DGIMatchDagPredicateDependencyEdge.cpp23 OS << " ==> " << getPredicate()->getName() << "[" in print()
H A DGIMatchTree.cpp104 unsigned ID = PredicateIDs.lookup(Dep.value()->getPredicate()); in GIMatchTreeBuilderLeafInfo()
303 TreeLeaf.addUntestedPredicate(BuilderLeaf.getPredicate(PredicateIdx)); in runStep()
414 const auto &P = Leaf.value().getPredicate(PIdx); in repartition()
422 PDep->getRequiredMO() == nullptr && PDep->getPredicate() == P) { in repartition()
445 PDep->getRequiredMO() == nullptr && PDep->getPredicate() == P) { in repartition()
550 << " " << *Leaf.getPredicate(PredIdx) << "\n"); in applyForPartition()
H A DGIMatchDagPredicateDependencyEdge.h46 const GIMatchDagPredicate *getPredicate() const { return Predicate; } in getPredicate() function
H A DGIMatchDag.cpp94 auto To = format(ToFmt, E->getPredicate(), E->getPredicateOp()->getIdx()); in writeDOTGraph()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCPredicates.h87 inline Predicate getPredicate(unsigned Condition, unsigned Hint) { in getPredicate() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAdjustOpt.cpp186 auto Cond2Op = Cond->getPredicate(); in serializeICMPCrossBB()
196 auto Cond1Op = Cond->getPredicate(); in serializeICMPCrossBB()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp133 auto Pred = I.getPredicate(); in convertFCmp()
243 auto Pred = I.getPredicate(); in convertICmp()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp264 if (cast<CmpInst>(L)->getPredicate() in diff()
265 != cast<CmpInst>(R)->getPredicate()) { in diff()
524 if (L->getPredicate() != R->getPredicate()) in equivalentAsOperands()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DIRSimilarityIdentifier.h139 CmpInst::Predicate getPredicate() const;
184 llvm::hash_value(ID.getPredicate()), in hash_value()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp215 if (Cmp1->getPredicate() == Cmp2->getInversePredicate() && in isInverse()
220 if (Cmp1->getPredicate() == in isInverse()
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcher.cpp100 TreePredicateFn CheckPredicateMatcher::getPredicate() const { in getPredicate() function in CheckPredicateMatcher
164 OS.indent(indent) << "CheckPredicate " << getPredicate().getFnName() << '\n'; in printImpl()
H A DFastISelEmitter.cpp71 const TreePredicateFn &getPredicate(unsigned i) { in getPredicate() function in __anon22b6ca640211::ImmPredicateSet
122 OS << "_" << ImmPredicates.getPredicate(Code-1).getFnName(); in printManglingSuffix()
169 TreePredicateFn PredFn = ImmPredicates.getPredicate(Code-1); in emitImmediatePredicate()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp596 (IC->getPredicate() != ICmpInst::ICMP_ULT && in parseRangeChecks()
597 IC->getPredicate() != ICmpInst::ICMP_UGT)) in parseRangeChecks()
601 if (IC->getPredicate() == ICmpInst::ICMP_UGT) in parseRangeChecks()
H A DFloat2Int.cpp140 if (mapFCmpPred(cast<CmpInst>(&I)->getPredicate()) != in findRoots()
476 CmpInst::Predicate P = mapFCmpPred(cast<CmpInst>(I)->getPredicate()); in convert()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp621 auto Pred = static_cast<CmpInst::Predicate>(MI.getOperand(1).getPredicate()); in matchAdjustICmpImmAndPred()
822 auto Pred = static_cast<CmpInst::Predicate>(MI.getOperand(1).getPredicate()); in trySwapICmpOperands()
841 auto Pred = static_cast<CmpInst::Predicate>(MI.getOperand(1).getPredicate()); in applySwapICmpOperands()
920 static_cast<CmpInst::Predicate>(MI.getOperand(1).getPredicate()); in lowerVectorFCMP()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineStableHash.cpp145 MO.getPredicate()); in stableHashValue()
H A DMachineOperand.cpp343 return getPredicate() == Other.getPredicate(); in isIdenticalTo()
393 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getPredicate()); in hash_value()
946 auto Pred = static_cast<CmpInst::Predicate>(getPredicate()); in print()

123456