| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | DependenceAnalysis.cpp | 1507 APInt AM = ConstSrcCoeff->getAPInt(); in exactSIVtest() 1508 APInt BM = ConstDstCoeff->getAPInt(); in exactSIVtest() 1509 APInt CM = ConstDelta->getAPInt(); in exactSIVtest() 1526 UM = CUB->getAPInt(); in exactSIVtest() 1890 APInt AM = ConstSrcCoeff->getAPInt(); in exactRDIVtest() 1892 APInt CM = ConstDelta->getAPInt(); in exactRDIVtest() 1908 SrcUM = UpperBound->getAPInt(); in exactRDIVtest() 1918 DstUM = UpperBound->getAPInt(); in exactRDIVtest() 3120 APInt Beta = Bconst->getAPInt(); in propagateLine() 3135 APInt Alpha = Aconst->getAPInt(); in propagateLine() [all …]
|
| H A D | ScalarEvolutionDivision.cpp | 112 APInt NumeratorVal = Numerator->getAPInt(); in visitConstant() 113 APInt DenominatorVal = D->getAPInt(); in visitConstant()
|
| H A D | ScalarEvolution.cpp | 2428 Ops[0] = getConstant(LHSC->getAPInt() + RHSC->getAPInt()); in getAddExpr() 2559 auto C2 = C->getAPInt(); in getAddExpr() 2996 Ops[0] = getConstant(LHSC->getAPInt() * RHSC->getAPInt()); in getMulExpr() 3375 DivisorConstant->getAPInt().umul_ov(RHSC->getAPInt(), Overflow); in getUDivExpr() 3716 getContext(), FoldOp(LHSC->getAPInt(), RHSC->getAPInt())); in getMinMaxExpr() 9160 APInt L = LC->getAPInt(); in GetQuadraticEquation() 9161 APInt M = MC->getAPInt(); in GetQuadraticEquation() 9162 APInt N = NC->getAPInt(); in GetQuadraticEquation() 10711 if (Min == C->getAPInt()) { in isImpliedCondBalancedTypes() 10844 return C2->getAPInt(); in computeConstantDifference() [all …]
|
| H A D | LoopAccessAnalysis.cpp | 1104 const APInt &APStepVal = C->getAPInt(); in getPtrStride() 1193 Val = Diff->getAPInt().getSExtValue(); in getPointersDiff() 1541 const APInt &Val = C->getAPInt(); in isDependent()
|
| H A D | VectorUtils.cpp | 240 const APInt &APStepVal = cast<SCEVConstant>(M->getOperand(0))->getAPInt(); in getStrideFromPointer() 1162 int64_t DistanceToB = DistToB->getAPInt().getSExtValue(); in analyzeInterleaving()
|
| H A D | Loads.cpp | 300 if (Step->getAPInt() != EltSize) in isDereferenceableAndAlignedInLoop()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 313 ConstantInt::get(SE.getContext(), C->getAPInt().sdiv(FC->getAPInt())); in FactorOutConstant() 321 Remainder, SE.getConstant(C->getAPInt().srem(FC->getAPInt()))); in FactorOutConstant() 334 if (!C->getAPInt().srem(FC->getAPInt())) { in FactorOutConstant() 336 NewMulOps[0] = SE.getConstant(C->getAPInt().sdiv(FC->getAPInt())); in FactorOutConstant() 914 const APInt &RHS = SC->getAPInt(); in visitUDivExpr() 2305 if (SC->getAPInt().isPowerOf2()) in costAndCollectOperands() 2343 return !SConst || SConst->getAPInt().ugt(1); in costAndCollectOperands() 2414 const APInt &Imm = cast<SCEVConstant>(S)->getAPInt(); in isHighCostExpansionHelper()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopInstrFormPrep.cpp | 392 BucketChain.Elements[j].Offset->getAPInt().urem(Form); in prepareBaseForDispFormChain() 526 ((Form == DSForm) && !BasePtrIncSCEV->getAPInt().urem(4) && in rewriteLoadStores() 784 if (Diff && !Diff->getAPInt().urem(Form)) { in alreadyPrepared()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 689 const APInt &RA = RC->getAPInt(); in getExactSDiv() 706 const APInt &LA = C->getAPInt(); in getExactSDiv() 707 const APInt &RA = RC->getAPInt(); in getExactSDiv() 786 if (C->getAPInt().getMinSignedBits() <= 64) { in ExtractImmediate() 1297 if (Step->getAPInt() == F.BaseOffset) in RateRegister() 3169 if (IncConst->getAPInt().getMinSignedBits() > 64) in canFoldIVIncExpr() 3864 const APInt &StepInt = StepRec->getAPInt(); in GenerateConstantOffsetsImpl() 5910 if (C->getAPInt().getMinSignedBits() > 64) in pushConst() 5913 Expr.push_back(C->getAPInt().getSExtValue()); in pushConst() 6039 if (C->getAPInt().getMinSignedBits() > 64) in isIdentityFunction() [all …]
|
| H A D | LoopIdiomRecognize.cpp | 395 if (BECst->getAPInt() == 0) in runOnCountableLoop() 428 return ConstStride->getAPInt(); in getStoreStride() 867 APInt StoreStrideValue = StoreStride->getAPInt(); in processLoopMemCpy() 868 APInt LoadStrideValue = LoadStride->getAPInt(); in processLoopMemCpy() 926 APInt Stride = ConstStride->getAPInt(); in processLoopMemSet()
|
| H A D | LoopDataPrefetch.cpp | 167 unsigned AbsStride = std::abs(ConstStride->getAPInt().getSExtValue()); in isStrideLargeEnough()
|
| H A D | LoopPredication.cpp | 464 return Start->getAPInt().getActiveBits() < RangeCheckTypeBitSize && in isSafeToTruncateWideIVType() 465 Limit->getAPInt().getActiveBits() < RangeCheckTypeBitSize; in isSafeToTruncateWideIVType()
|
| H A D | LoopLoadElimination.cpp | 126 const APInt &Val = Dist->getAPInt(); in isDependenceDistanceOfOne()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ScalarEvolutionExpressions.h | 57 const APInt &getAPInt() const { return getValue()->getValue(); } in getAPInt() function
|
| H A D | TargetTransformInfoImpl.h | 838 APInt StrideVal = Step->getAPInt(); in isConstantStridedAccessLessThan()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 5935 getAPInt(A, *this, *AI.CB->getArgOperand(0)); in manifest() 5980 Optional<APInt> getAPInt(Attributor &A, const AbstractAttribute &AA, in getAPInt() function 5996 return getAPInt(A, AA, *AI.CB->getArgOperand(0)); in getSize() 6000 return getAPInt(A, AA, *AI.CB->getArgOperand(0)).hasValue() in getSize() 6001 ? getAPInt(A, AA, *AI.CB->getArgOperand(1)) in getSize() 6006 Optional<APInt> Num = getAPInt(A, AA, *AI.CB->getArgOperand(0)); in getSize() 6007 Optional<APInt> Size = getAPInt(A, AA, *AI.CB->getArgOperand(1)); in getSize() 6245 if (!getAPInt(A, *this, *AI.CB->getArgOperand(0)).hasValue()) { in updateImpl()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 1929 return SC->getAPInt().getSExtValue(); in getSCEVStride()
|