Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp31 uint64_t StoreSize = DL.getTypeSizeInBits(StoredTy).getFixedValue(); in canCoerceMustAliasedValueToLoad()
38 if (StoreSize < DL.getTypeSizeInBits(LoadTy).getFixedValue()) in canCoerceMustAliasedValueToLoad()
61 if (StoredNI && StoreSize != DL.getTypeSizeInBits(LoadTy).getFixedValue()) in canCoerceMustAliasedValueToLoad()
87 uint64_t StoredValSize = DL.getTypeSizeInBits(StoredValTy).getFixedValue(); in coerceAvailableValueToLoadType()
88 uint64_t LoadedValSize = DL.getTypeSizeInBits(LoadedTy).getFixedValue(); in coerceAvailableValueToLoadType()
140 uint64_t ShiftAmt = DL.getTypeStoreSizeInBits(StoredValTy).getFixedValue() - in coerceAvailableValueToLoadType()
141 DL.getTypeStoreSizeInBits(LoadedTy).getFixedValue(); in coerceAvailableValueToLoadType()
189 uint64_t LoadSize = DL.getTypeSizeInBits(LoadTy).getFixedValue(); in analyzeLoadFromClobberingWrite()
224 DL.getTypeSizeInBits(DepSI->getValueOperand()->getType()).getFixedValue(); in analyzeLoadFromClobberingStore()
242 uint64_t DepSize = DL.getTypeSizeInBits(DepLI->getType()).getFixedValue(); in analyzeLoadFromClobberingLoad()
[all …]
H A DMemoryOpRemark.cpp313 uint64_t Size = DL.getTypeSizeInBits(Ty).getFixedValue(); in visitVariable()
349 TySize ? std::optional(TySize->getFixedValue()) : std::nullopt; in visitVariable()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1031 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType()).getFixedValue()), in SliceBuilder()
1119 return handleLoadOrStore(LI.getType(), LI, Offset, Size.getFixedValue(), in visitLoadInst()
1134 uint64_t Size = StoreSize.getFixedValue(); in visitStoreInst()
1297 Size = std::max(Size, LoadSize.getFixedValue()); in hasUnsafePHIOrSelectUse()
1309 Size = std::max(Size, StoreSize.getFixedValue()); in hasUnsafePHIOrSelectUse()
1571 APInt(APWidth, DL.getTypeStoreSize(LoadType).getFixedValue()); in isSafePHIToSpeculate()
1920 if (DL.getTypeSizeInBits(NewTy).getFixedValue() != in canConvertValue()
1921 DL.getTypeSizeInBits(OldTy).getFixedValue()) in canConvertValue()
2099 DL.getTypeSizeInBits(VTy->getElementType()).getFixedValue(); in checkVectorTypeForPromotion()
2105 assert((DL.getTypeSizeInBits(VTy).getFixedValue() % 8) == 0 && in checkVectorTypeForPromotion()
[all …]
H A DLoopStrengthReduce.cpp1449 if (Step->getAPInt() == F.BaseOffset.getFixedValue()) in RateRegister()
1823 BaseOffset.isScalable() ? 0 : BaseOffset.getFixedValue(); in isAMCompletelyFolded()
1860 BaseOffset = BaseOffset.getFixed(-(uint64_t)BaseOffset.getFixedValue()); in isAMCompletelyFolded()
1861 return TTI.isLegalICmpImmediate(BaseOffset.getFixedValue()); in isAMCompletelyFolded()
1948 return TTI.isLegalAddImmediate(Offset.getFixedValue()); in isLegalAddImmediate()
1988 FixedMin = (F.BaseOffset + LU.MinOffset).getFixedValue(); in getScalingFactorCost()
1989 FixedMax = (F.BaseOffset + LU.MaxOffset).getFixedValue(); in getScalingFactorCost()
3972 TTI.isLegalAddImmediate((uint64_t)F.UnfoldedOffset.getFixedValue() + in GenerateReassociationsImpl()
3975 Immediate::getFixed((uint64_t)F.UnfoldedOffset.getFixedValue() + in GenerateReassociationsImpl()
3989 TTI.isLegalAddImmediate((uint64_t)F.UnfoldedOffset.getFixedValue() + in GenerateReassociationsImpl()
[all …]
H A DLoopPredication.cpp418 assert(DL.getTypeSizeInBits(LatchCheck.IV->getType()).getFixedValue() > in expandCheck()
419 DL.getTypeSizeInBits(RangeCheckType).getFixedValue() && in expandCheck()
439 DL.getTypeSizeInBits(RangeCheckType).getFixedValue();
456 if (DL.getTypeSizeInBits(LatchType).getFixedValue() < in isSafeToTruncateWideIVType()
457 DL.getTypeSizeInBits(RangeCheckType).getFixedValue()) in isSafeToTruncateWideIVType()
H A DNaryReassociate.cpp406 DL->getTypeSizeInBits(LHS->getType()).getFixedValue() < in tryReassociateGEPAtIndex()
408 .getFixedValue()) { in tryReassociateGEPAtIndex()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DTypeSize.cpp57 return getFixedValue(); in operator TypeSize::ScalarTy()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp130 getPrimitiveSizeInBits().getFixedValue() == 64) in canLosslesslyBitCastTo()
133 Ty->getPrimitiveSizeInBits().getFixedValue() == 64) in canLosslesslyBitCastTo()
138 getPrimitiveSizeInBits().getFixedValue() == 8192) in canLosslesslyBitCastTo()
141 Ty->getPrimitiveSizeInBits().getFixedValue() == 8192) in canLosslesslyBitCastTo()
194 return {ETS.getFixedValue() * EC.getKnownMinValue(), EC.isScalable()}; in getPrimitiveSizeInBits()
203 return getScalarType()->getPrimitiveSizeInBits().getFixedValue(); in getScalarSizeInBits()
H A DVectorBuilder.cpp51 return *ConstantInt::get(IntTy, StaticVectorLength.getFixedValue()); in requestEVL()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h367 return getSizeInBits().getFixedValue(); in getFixedSizeInBits()
371 return getScalarType().getSizeInBits().getFixedValue(); in getScalarSizeInBits()
388 return getScalarType().getStoreSize().getFixedValue(); in getScalarStoreSize()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/
H A DMachineValueType.h332 return getSizeInBits().getFixedValue(); in getFixedSizeInBits()
336 return getScalarType().getSizeInBits().getFixedValue(); in getScalarSizeInBits()
353 return getScalarType().getStoreSize().getFixedValue(); in getScalarStoreSize()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGAddressAnalysis.cpp115 IsAlias = !(static_cast<int64_t>(NumBytes0.getValue().getFixedValue()) <= in computeAliasing()
124 NumBytes1.getValue().getFixedValue())) <= 0); in computeAliasing()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExpandVariadics.cpp250 uint64_t AsInt = AllocaTypeSize ? AllocaTypeSize->getFixedValue() : 0; in sizeOfAlloca()
680 DL.getTypeAllocSize(UnderlyingType).getFixedValue(); in expandCall()
732 CurrentOffset += DL.getTypeAllocSize(FrameFieldType).getFixedValue(); in expandCall()
906 uint64_t Size = DL.getTypeAllocSize(VaListTy).getFixedValue(); in expandVAIntrinsicCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h153 return VF.getFixedValue(); in getMaxNumElements()
309 unsigned VectorBits = NumElements.getFixedValue() * ElementBits; in isLegalBroadcastLoad()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp181 unsigned VecWidth = VecTy->getPrimitiveSizeInBits().getFixedValue(); in getMemoryOpCost()
185 .getFixedValue(); in getMemoryOpCost()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp135 FixedOffsets->push_back(Offset.getFixedValue()); in ComputeValueVTs()
161 uint64_t EltSize = DL.getTypeAllocSize(EltTy).getFixedValue(); in computeValueLLTs()
336 I->getType()->getPrimitiveSizeInBits().getFixedValue()); in getNoopInput()
H A DExpandLargeDivRem.cpp63 unsigned NumElements = VTy->getElementCount().getFixedValue(); in scalarize()
H A DGlobalMerge.cpp259 return DL.getTypeAllocSize(GV1->getValueType()).getFixedValue() < in doMerge()
260 DL.getTypeAllocSize(GV2->getValueType()).getFixedValue(); in doMerge()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp270 DL.getTypeStoreSize(LI->getType()).getFixedValue()); in isDereferenceableAndAlignedInLoop()
445 APInt Size(DL.getIndexTypeSizeInBits(V->getType()), TySize.getFixedValue()); in isSafeToLoadUnconditionally()
575 uint64_t LoadSize = LoadTypeSize.getFixedValue(); in getAvailableLoadStore()
H A DStackSafetyAnalysis.cpp162 APInt APSize(PointerSize, TS.getFixedValue(), true); in getStaticAllocaSizeRange()
334 APInt APSize(PointerSize, Size.getFixedValue(), true); in getAccessRange()
375 const SCEV *SV = SE.getConstant(CalculationTy, TS.getFixedValue()); in isSafeAccess()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp1212 unsigned LCM = std::lcm(EltTy.getSizeInBits().getFixedValue() * in getLCMType()
1214 ScalarTy.getSizeInBits().getFixedValue()); in getLCMType()
1222 unsigned LCM = std::lcm(OrigTy.getSizeInBits().getFixedValue(), in getLCMType()
1223 TargetTy.getSizeInBits().getFixedValue()); in getLCMType()
1282 ElementCount::get(GCD / OrigElt.getSizeInBits().getFixedValue(), in getGCDType()
1302 unsigned GCD = std::gcd(OrigScalar.getSizeInBits().getFixedValue(), in getGCDType()
1303 TargetScalar.getSizeInBits().getFixedValue()); in getGCDType()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULateCodeGenPrepare.cpp228 uint64_t OriginalElementCount = VTy->getElementCount().getFixedValue(); in convertToOptType()
270 unsigned NarrowElementCount = NewVTy->getElementCount().getFixedValue(); in convertFromOptType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DNumericalStabilitySanitizer.cpp345 ScalarExtents.NumElts * VecTy->getElementCount().getFixedValue()}; in getMemoryExtentsOrDie()
484 .getFixedValue(); in getShadowConstant()
860 for (int I = 0, E = VecTy->getElementCount().getFixedValue(); I < E; ++I) { in emitCheckInternal()
1026 .getFixedValue(); in emitFCmpCheck()
1783 const auto LoadSizeBytes = SlotSize.getFixedValue(); in propagateNonFTStore()
1850 cast<VectorType>(CDV->getType())->getElementCount().getFixedValue(); in propagateNonFTStore()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp167 static_cast<uint32_t>(r.second.getFixedValue())); in EmitDevicePrintfCallExpr()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryLocation.h127 return upperBound(Value.getFixedValue()); in upperBound()

12345