/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 215 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt, in foldCmpLoadFromIndexedGlobal() 892 ICmp->getType(), ICmp->getPredicate() == ICmpInst::ICMP_NE); in foldAllocaCmp() 968 if (I.getPredicate() == I.ICMP_NE) in foldICmpShrConstConst() 1015 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShrConstConst() 1027 if (I.getPredicate() == I.ICMP_NE) in foldICmpShlConstConst() 1054 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShlConstConst() 1203 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithZero() 1296 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithConstant() 1342 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithDominatingICmp() 1413 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpTruncConstant() [all …]
|
H A D | InstCombineAndOrXor.cpp | 487 ICmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate(); in foldLogOpOfMaskedICmps() 662 Cmp0->getPredicate()); in simplifyRangeCheck() 670 Cmp1->getPredicate()); in simplifyRangeCheck() 714 if (LHS->getPredicate() != Pred || RHS->getPredicate() != Pred) in foldAndOrOfICmpsWithPow2AndWithZero() 751 if (LHS->getPredicate() != Pred || RHS->getPredicate() != Pred) in foldAndOrOfICmpsOfAndWithPow2() 849 CmpInst::Predicate Pred = ICmp->getPredicate(); in foldSignedTruncationCheck() 935 if (JoinedByAnd && Cmp1->getPredicate() == ICmpInst::ICMP_NE) in foldIsPowerOf2() 937 else if (!JoinedByAnd && Cmp1->getPredicate() == ICmpInst::ICMP_EQ) in foldIsPowerOf2() 1044 ICmpInst::Predicate CmpPred0 = Cmp0->getPredicate(), in foldPowerOf2AndShiftedMask() 1045 CmpPred1 = Cmp1->getPredicate(); in foldPowerOf2AndShiftedMask() [all …]
|
H A D | InstCombineSelect.cpp | 137 ICmpInst::Predicate Pred = Cmp->getPredicate(); in foldSelectICmpAnd() 590 Cmp->getPredicate() == ICmpInst::ICMP_EQ && in foldSelectICmpAndAnd() 675 ICmpInst::Predicate Pred = IC->getPredicate(); in foldSelectICmpLshrAshr() 741 CmpInst::Predicate Pred = IC->getPredicate(); in foldSelectICmpAndBinOp() 907 ICmpInst::Predicate Pred = ICI->getPredicate(); in canonicalizeSaturatedSubtract() 978 ICmpInst::Predicate Pred = Cmp->getPredicate(); in canonicalizeSaturatedAdd() 1098 if (ICI->getPredicate() == ICmpInst::ICMP_NE) in foldSelectCtlzToCttz() 1136 ICmpInst::Predicate Pred = ICI->getPredicate(); in foldSelectCttzCtlz() 1294 if (Cmp.getPredicate() == ICmpInst::ICMP_NE) { in foldSelectValueEquivalence() 1403 ICmpInst::Predicate Pred0 = Cmp0.getPredicate(); in canonicalizeClampLike() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | InstrTypes.h | 847 Predicate getPredicate() const { return getSubclassData<PredicateField>(); } 864 bool isFPPredicate() const { return isFPPredicate(getPredicate()); } 865 bool isIntPredicate() const { return isIntPredicate(getPredicate()); } 872 return getInversePredicate(getPredicate()); 883 return getOrderedPredicate(getPredicate()); 894 return getUnorderedPredicate(getPredicate()); 910 return getSwappedPredicate(getPredicate()); 925 bool isStrictPredicate() const { return isStrictPredicate(getPredicate()); } 935 return isNonStrictPredicate(getPredicate()); 941 return getStrictPredicate(getPredicate()); [all …]
|
H A D | IntrinsicInst.h | 683 CmpInst::Predicate getPredicate() const; 730 FCmpInst::Predicate getPredicate() const; 772 static ICmpInst::Predicate getPredicate(Intrinsic::ID ID) { in getPredicate() function 788 ICmpInst::Predicate getPredicate() const { in getPredicate() function 789 return getPredicate(getIntrinsicID()); in getPredicate() 794 return ICmpInst::isSigned(getPredicate(ID)); in isSigned()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFAdjustOpt.cpp | 116 auto Op = Icmp->getPredicate(); in adjustICmpToBuiltin() 229 auto Cond2Op = Cond->getPredicate(); in serializeICMPCrossBB() 239 auto Cond1Op = Cond->getPredicate(); in serializeICMPCrossBB()
|
H A D | BPFCheckAndAdjustIR.cpp | 262 ICmpInst::getSwappedPredicate(ICmp->getPredicate())); in sinkMinMaxInBB() 263 MinMaxSinkInfo Second(ICmp, ICmp->getOperand(0), ICmp->getPredicate()); in sinkMinMaxInBB()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/ |
H A D | GIMatchTree.cpp |
|
H A D | GIMatchDagPredicateDependencyEdge.cpp |
|
H A D | GIMatchDagPredicateDependencyEdge.h |
|
H A D | GIMatchDag.cpp |
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCPredicates.h | 87 inline Predicate getPredicate(unsigned Condition, unsigned Hint) { in getPredicate() function
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BranchProbabilityInfo.cpp | 532 auto Search = PointerTable.find(CI->getPredicate()); in calcPointerHeuristics() 634 CI->getPredicate(), CmpLHSConst, CmpConst, DL); in computeUnlikelySuccessors() 1007 Search = ICmpWithLibCallTable.find(CI->getPredicate()); in calcZeroHeuristics() 1011 Search = ICmpWithZeroTable.find(CI->getPredicate()); in calcZeroHeuristics() 1015 Search = ICmpWithOneTable.find(CI->getPredicate()); in calcZeroHeuristics() 1019 Search = ICmpWithMinusOneTable.find(CI->getPredicate()); in calcZeroHeuristics() 1048 auto Search = FCmpTable.find(FCmp->getPredicate()); in calcFloatingPointHeuristics()
|
H A D | IRSimilarityIdentifier.cpp | 61 if (Predicate != C->getPredicate()) in initializeInstruction() 187 switch (CI->getPredicate()) { in predicateForConsistency() 198 return CI->getPredicate(); in predicateForConsistency() 202 CmpInst::Predicate IRInstructionData::getPredicate() const { in getPredicate() function in IRInstructionData 209 return cast<CmpInst>(Inst)->getPredicate(); in getPredicate() 235 if (A.getPredicate() != B.getPredicate()) in isClose()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LoopVersioning.cpp | 46 Preds(LAI.getPSE().getPredicate()), LAI(LAI), LI(LI), DT(DT), in LoopVersioning() 282 !LAI.getPSE().getPredicate().isAlwaysTrue())) { in runImpl()
|
H A D | CodeMoverUtils.cpp | 217 if (Cmp1->getPredicate() == Cmp2->getInversePredicate() && in isInverse() 222 if (Cmp1->getPredicate() == in isInverse()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTDC.cpp | 129 auto Pred = I.getPredicate(); in convertFCmp() 239 auto Pred = I.getPredicate(); in convertICmp()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | ConstraintElimination.cpp | 1161 IsOr ? CmpInst::getInversePredicate(Cmp->getPredicate()) in addInfoFor() 1162 : Cmp->getPredicate(), in addInfoFor() 1186 DT.getNode(Br->getSuccessor(0)), CmpI->getPredicate(), in addInfoFor() 1191 CmpInst::getInversePredicate(CmpI->getPredicate()), CmpI->getOperand(0), in addInfoFor() 1272 CollectArguments(Cond, ICmpInst::isSigned(Cond->getPredicate())); in generateReproducer() 1348 CloneInstructions(Cond, CmpInst::isSigned(Cond->getPredicate())); in generateReproducer() 1427 checkCondition(Cmp->getPredicate(), Cmp->getOperand(0), in checkAndReplaceCondition() 1443 ICmpInst::getNonStrictPredicate(MinMax->getPredicate()); in checkAndReplaceMinMax() 1528 checkCondition(CmpToCheck->getPredicate(), CmpToCheck->getOperand(0), in checkOrAndOpImpliedByOther() 1823 Pred = ICmpInst::getNonStrictPredicate(MinMax->getPredicate()); in eliminateConstraints()
|
H A D | Float2Int.cpp | 106 if (mapFCmpPred(cast<CmpInst>(&I)->getPredicate()) != in findRoots() 444 CmpInst::Predicate P = mapFCmpPred(cast<CmpInst>(I)->getPredicate()); in convert()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CSEMIRBuilder.cpp | 97 B.addNodeIDImmediate(static_cast<int64_t>(Op.getPredicate())); in profileSrcOp() 188 ConstantFoldICmp(SrcOps[0].getPredicate(), SrcOps[1].getReg(), in buildInstr()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | DAGISelMatcher.cpp | 99 TreePredicateFn CheckPredicateMatcher::getPredicate() const { in getPredicate() function in CheckPredicateMatcher 167 OS.indent(indent) << "CheckPredicate " << getPredicate().getFnName() << '\n'; in printImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorizationLegality.cpp | 725 if (PSE.getPredicate().isAlwaysTrue()) { in addInductionPhi() 1020 if (PSE.getPredicate().isAlwaysTrue()) { in canVectorizeInstrs() 1157 PSE.addPredicate(LAI->getPSE().getPredicate()); in canVectorizeMemory() 1529 if (PSE.getPredicate().getComplexity() > SCEVThreshold) { in canVectorize()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | FastISelEmitter.cpp | 74 const TreePredicateFn &getPredicate(unsigned i) { in getPredicate() function in __anon3cd78fb00211::ImmPredicateSet 137 OS << "_" << ImmPredicates.getPredicate(Code - 1).getFnName(); in printManglingSuffix() 185 TreePredicateFn PredFn = ImmPredicates.getPredicate(Code - 1); in emitImmediatePredicate()
|
H A D | DAGISelMatcherEmitter.cpp | 108 ++PatternPredicateUsage[CPPM->getPredicate()]; in MatcherTableEmitter() 110 ++PredicateUsage[PM->getPredicate().getOrigPatFragRecord()]; in MatcherTableEmitter() 530 StringRef Pred = cast<CheckPatternPredicateMatcher>(N)->getPredicate(); in EmitMatcher() 544 TreePredicateFn Pred = cast<CheckPredicateMatcher>(N)->getPredicate(); in EmitMatcher()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineOperand.cpp | 381 return getPredicate() == Other.getPredicate(); in isIdenticalTo() 446 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getPredicate()); in hash_value() 1005 auto Pred = static_cast<CmpInst::Predicate>(getPredicate()); in print()
|