Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp163 uint64_t ShiftAmt = DL.getTypeStoreSizeInBits(StoredValTy).getFixedValue() - in coerceAvailableValueToLoadType()
164 DL.getTypeStoreSizeInBits(LoadedTy).getFixedValue(); in coerceAvailableValueToLoadType()
212 uint64_t LoadSize = DL.getTypeSizeInBits(LoadTy).getFixedValue(); in analyzeLoadFromClobberingWrite()
247 DL.getTypeSizeInBits(DepSI->getValueOperand()->getType()).getFixedValue(); in analyzeLoadFromClobberingStore()
265 uint64_t DepSize = DL.getTypeSizeInBits(DepLI->getType()).getFixedValue(); in analyzeLoadFromClobberingLoad()
348 (DL.getTypeSizeInBits(SrcVal->getType()).getFixedValue() + 7) / 8; in getStoreValueForLoadHelper()
349 uint64_t LoadSize = (DL.getTypeSizeInBits(LoadTy).getFixedValue() + 7) / 8; in getStoreValueForLoadHelper()
399 unsigned SrcValSize = DL.getTypeStoreSize(SrcVal->getType()).getFixedValue(); in getConstantValueForLoad()
400 unsigned LoadSize = DL.getTypeStoreSize(LoadTy).getFixedValue(); in getConstantValueForLoad()
412 uint64_t LoadSize = DL.getTypeSizeInBits(LoadTy).getFixedValue() / 8; in getMemInstValueForLoad()
[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.cpp1036 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType()).getFixedValue()), in SliceBuilder()
1131 return handleLoadOrStore(LI.getType(), LI, Offset, Size.getFixedValue(), in visitLoadInst()
1151 uint64_t Size = StoreSize.getFixedValue(); in visitStoreInst()
1307 Size = std::max(Size, LoadSize.getFixedValue()); in hasUnsafePHIOrSelectUse()
1319 Size = std::max(Size, StoreSize.getFixedValue()); in hasUnsafePHIOrSelectUse()
1598 APInt(APWidth, DL.getTypeStoreSize(LoadType).getFixedValue()); in isSafePHIToSpeculate()
2192 DL.getTypeSizeInBits(VTy->getElementType()).getFixedValue(); in checkVectorTypeForPromotion()
2198 assert((DL.getTypeSizeInBits(VTy).getFixedValue() % 8) == 0 && in checkVectorTypeForPromotion()
2251 assert(DL.getTypeSizeInBits(RHSTy).getFixedValue() == in checkVectorTypesForPromotion()
2252 DL.getTypeSizeInBits(LHSTy).getFixedValue() && in checkVectorTypesForPromotion()
[all …]
H A DLoopStrengthReduce.cpp1431 Step->getAPInt() == F.BaseOffset.getFixedValue()) || in RateRegister()
1805 BaseOffset.isScalable() ? 0 : BaseOffset.getFixedValue(); in isAMCompletelyFolded()
1842 BaseOffset = BaseOffset.getFixed(-(uint64_t)BaseOffset.getFixedValue()); in isAMCompletelyFolded()
1843 return TTI.isLegalICmpImmediate(BaseOffset.getFixedValue()); in isAMCompletelyFolded()
1930 return TTI.isLegalAddImmediate(Offset.getFixedValue()); in isLegalAddImmediate()
1970 FixedMin = (F.BaseOffset + LU.MinOffset).getFixedValue(); in getScalingFactorCost()
1971 FixedMax = (F.BaseOffset + LU.MaxOffset).getFixedValue(); in getScalingFactorCost()
3949 TTI.isLegalAddImmediate((uint64_t)F.UnfoldedOffset.getFixedValue() + in GenerateReassociationsImpl()
3952 Immediate::getFixed((uint64_t)F.UnfoldedOffset.getFixedValue() + in GenerateReassociationsImpl()
3967 TTI.isLegalAddImmediate((uint64_t)F.UnfoldedOffset.getFixedValue() + in GenerateReassociationsImpl()
[all …]
H A DLoopPredication.cpp417 assert(DL.getTypeSizeInBits(LatchCheck.IV->getType()).getFixedValue() > in isSafeToTruncateWideIVType()
418 DL.getTypeSizeInBits(RangeCheckType).getFixedValue() && in isSafeToTruncateWideIVType()
438 DL.getTypeSizeInBits(RangeCheckType).getFixedValue(); in isSafeToTruncateWideIVType()
455 if (DL.getTypeSizeInBits(LatchType).getFixedValue() < in generateLoopLatchCheck()
456 DL.getTypeSizeInBits(RangeCheckType).getFixedValue()) in generateLoopLatchCheck()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DTypeSize.cpp57 return getFixedValue(); in operator TypeSize::ScalarTy()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h377 return getSizeInBits().getFixedValue(); in getFixedSizeInBits()
381 return getScalarType().getSizeInBits().getFixedValue(); in getScalarSizeInBits()
398 return getScalarType().getStoreSize().getFixedValue(); in getScalarStoreSize()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVRegisterBankInfo.cpp269 Mapping = getFPValueMapping(Size.getFixedValue()); in getInstrMapping()
328 if (GPRSize == 32 && Size.getFixedValue() == 64) { in getInstrMapping()
362 if (GPRSize == 32 && Size.getFixedValue() == 64) { in getInstrMapping()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/
H A DMachineValueType.h345 return getSizeInBits().getFixedValue(); in getFixedSizeInBits()
349 return getScalarType().getSizeInBits().getFixedValue(); in getScalarSizeInBits()
366 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/Vectorize/SandboxVectorizer/Passes/
H A DSeedCollection.cpp47 .getFixedValue(); in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.cpp238 if (InputEVT == MVT::i16 && VF.getFixedValue() == 8) in getPartialReductionCost()
242 if (InputEVT == MVT::i8 && VF.getFixedValue() == 16) in getPartialReductionCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerBufferFatPointers.cpp781 T = IRB.getIntNTy(Size.getFixedValue()); in legalNonAggregateFor()
788 unsigned ElemSize = DL.getTypeSizeInBits(ElemTy).getFixedValue(); in legalNonAggregateFor()
802 Size.getFixedValue() / BestVectorElemType->getIntegerBitWidth(); in legalNonAggregateFor()
814 Type *ShortScalarTy = IRB.getIntNTy(SourceSize.getFixedValue()); in makeLegalNonAggregate()
815 Type *ByteScalarTy = IRB.getIntNTy(TargetSize.getFixedValue()); in makeLegalNonAggregate()
830 Type *ShortScalarTy = IRB.getIntNTy(OrigSize.getFixedValue()); in makeIllegalNonAggregate()
831 Type *ByteScalarTy = IRB.getIntNTy(LegalSize.getFixedValue()); in makeIllegalNonAggregate()
877 DL.getTypeSizeInBits(VT->getElementType()).getFixedValue(); in getVecSlices()
964 AggByteOff + Offset.getFixedValue(), Result, in visitLoadImpl()
980 AggByteOff + I * ElemStoreSize.getFixedValue(), in visitLoadImpl()
[all …]
H A DAMDGPULateCodeGenPrepare.cpp234 uint64_t OriginalElementCount = VTy->getElementCount().getFixedValue(); in convertToOptType()
276 unsigned NarrowElementCount = NewVTy->getElementCount().getFixedValue(); in convertFromOptType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExpandVariadics.cpp232 uint64_t AsInt = AllocaTypeSize ? AllocaTypeSize->getFixedValue() : 0; in sizeOfAlloca()
658 DL.getTypeAllocSize(UnderlyingType).getFixedValue(); in expandCall()
710 CurrentOffset += DL.getTypeAllocSize(FrameFieldType).getFixedValue(); in expandCall()
884 uint64_t Size = DL.getTypeAllocSize(VaListTy).getFixedValue(); in expandVAIntrinsicCall()
/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.cpp62 unsigned NumElements = VTy->getElementCount().getFixedValue(); in scalarize()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp182 unsigned VecWidth = VecTy->getPrimitiveSizeInBits().getFixedValue(); in getMemoryOpCost()
186 .getFixedValue(); in getMemoryOpCost()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp170 getPrimitiveSizeInBits().getFixedValue() == 8192) in canLosslesslyBitCastTo()
173 Ty->getPrimitiveSizeInBits().getFixedValue() == 8192) in canLosslesslyBitCastTo()
224 return {ETS.getFixedValue() * EC.getKnownMinValue(), EC.isScalable()}; in getPrimitiveSizeInBits()
233 return getScalarType()->getPrimitiveSizeInBits().getFixedValue(); in getScalarSizeInBits()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp296 DL.getTypeStoreSize(LI->getType()).getFixedValue()); in isDereferenceableAndAlignedInLoop()
520 APInt Size(DL.getIndexTypeSizeInBits(V->getType()), TySize.getFixedValue()); in isSafeToLoadUnconditionally()
650 uint64_t LoadSize = LoadTypeSize.getFixedValue(); in getAvailableLoadStore()
H A DLint.cpp463 BaseSize = DL->getTypeAllocSize(ATy).getFixedValue(); in visitMemoryReference()
628 Check(EC.isScalable() || CI->getValue().ult(EC.getFixedValue()), in visitExtractElementInst()
637 Check(EC.isScalable() || CI->getValue().ult(EC.getFixedValue()), in visitInsertElementInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.h121 auto NumElements = InTy->getElementCount().getFixedValue();
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h168 return VF.getFixedValue(); in getMaxNumElements()
349 unsigned VectorBits = NumElements.getFixedValue() * ElementBits; in isLegalBroadcastLoad()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp1230 unsigned LCM = std::lcm(EltTy.getSizeInBits().getFixedValue() * in getLCMType()
1232 ScalarTy.getSizeInBits().getFixedValue()); in getLCMType()
1240 unsigned LCM = std::lcm(OrigTy.getSizeInBits().getFixedValue(), in getLCMType()
1241 TargetTy.getSizeInBits().getFixedValue()); in getLCMType()
1300 ElementCount::get(GCD / OrigElt.getSizeInBits().getFixedValue(), in getGCDType()
1320 unsigned GCD = std::gcd(OrigScalar.getSizeInBits().getFixedValue(), in getGCDType()
1321 TargetScalar.getSizeInBits().getFixedValue()); in getGCDType()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp144 static_cast<uint32_t>(r.second.getFixedValue())); in EmitDevicePrintfCallExpr()

12345