Home
last modified time | relevance | path

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

1234

/freebsd-14.2/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()
189 uint64_t LoadSize = DL.getTypeSizeInBits(LoadTy).getFixedValue(); in analyzeLoadFromClobberingWrite()
308 (DL.getTypeSizeInBits(SrcVal->getType()).getFixedValue() + 7) / 8; in getStoreValueForLoadHelper()
340 unsigned LoadSize = DL.getTypeStoreSize(LoadTy).getFixedValue(); in getValueForLoad()
352 unsigned LoadSize = DL.getTypeStoreSize(LoadTy).getFixedValue(); in getConstantValueForLoad()
364 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-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1182 uint64_t Size = StoreSize.getFixedValue(); in visitStoreInst()
1344 Size = std::max(Size, LoadSize.getFixedValue()); in hasUnsafePHIOrSelectUse()
1356 Size = std::max(Size, StoreSize.getFixedValue()); in hasUnsafePHIOrSelectUse()
1967 if (DL.getTypeSizeInBits(NewTy).getFixedValue() != in canConvertValue()
1968 DL.getTypeSizeInBits(OldTy).getFixedValue()) in canConvertValue()
2320 if (DL.getTypeSizeInBits(VTy).getFixedValue() != in isVectorPromotionViable()
2321 DL.getTypeSizeInBits(V).getFixedValue()) { in isVectorPromotionViable()
2525 DL.getTypeStoreSize(IntTy).getFixedValue() && in extractInteger()
2737 .getFixedValue()) in AllocaSliceRewriter()
4135 if (Offset > DL.getTypeAllocSize(Ty).getFixedValue() || in getTypePartition()
[all …]
H A DLoopPredication.cpp418 assert(DL.getTypeSizeInBits(LatchCheck.IV->getType()).getFixedValue() > in isSafeToTruncateWideIVType()
419 DL.getTypeSizeInBits(RangeCheckType).getFixedValue() && in isSafeToTruncateWideIVType()
439 DL.getTypeSizeInBits(RangeCheckType).getFixedValue(); in isSafeToTruncateWideIVType()
456 if (DL.getTypeSizeInBits(LatchType).getFixedValue() < in generateLoopLatchCheck()
457 DL.getTypeSizeInBits(RangeCheckType).getFixedValue()) in generateLoopLatchCheck()
H A DNaryReassociate.cpp406 DL->getTypeSizeInBits(LHS->getType()).getFixedValue() < in tryReassociateGEPAtIndex()
408 .getFixedValue()) { in tryReassociateGEPAtIndex()
H A DLowerMatrixIntrinsics.cpp479 return std::ceil((ST->getPrimitiveSizeInBits() * N).getFixedValue() / in getNumOps()
482 .getFixedValue())); in getNumOps()
1481 .getFixedValue() / in emitMatrixMultiply()
1482 Result.getElementType()->getPrimitiveSizeInBits().getFixedValue(), in emitMatrixMultiply()
1659 .getFixedValue() / in isFusionProfitable()
1660 EltType->getPrimitiveSizeInBits().getFixedValue(), in isFusionProfitable()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DTypeSize.cpp56 return getFixedValue(); in operator TypeSize::ScalarTy()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h360 return getSizeInBits().getFixedValue(); in getFixedSizeInBits()
364 return getScalarType().getSizeInBits().getFixedValue(); in getScalarSizeInBits()
381 return getScalarType().getStoreSize().getFixedValue(); in getScalarStoreSize()
H A DMachineValueType.h339 return getSizeInBits().getFixedValue(); in getFixedSizeInBits()
343 return getScalarType().getSizeInBits().getFixedValue(); in getScalarSizeInBits()
360 return getScalarType().getStoreSize().getFixedValue(); in getScalarStoreSize()
H A DLowLevelType.h70 ScalarTy.getSizeInBits().getFixedValue(), in vector()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryLocation.h127 return upperBound(Value.getFixedValue()); in upperBound()
297 return T.isScalable() ? UnknownSize : T.getFixedValue(); in getSizeOrUnknown()
H A DTargetTransformInfoImpl.h612 if (!DstSize.isScalable() && DL.isLegalInteger(DstSize.getFixedValue())) in getCastInstrCost()
945 VT->getElementType()->getPrimitiveSizeInBits().getFixedValue(); in minRequiredElementSize()
1062 GTI.getSequentialElementStride(DL).getFixedValue(); in getGEPCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp147 FixedOffsets->push_back(Offset.getFixedValue()); in ComputeValueVTs()
172 FixedOffsets->push_back(Offset.getFixedValue()); in ComputeValueVTs()
198 uint64_t EltSize = DL.getTypeAllocSize(EltTy).getFixedValue(); in computeValueLLTs()
373 I->getType()->getPrimitiveSizeInBits().getFixedValue()); in getNoopInput()
H A DGlobalMerge.cpp239 return DL.getTypeAllocSize(GV1->getValueType()).getFixedValue() < in doMerge()
240 DL.getTypeAllocSize(GV2->getValueType()).getFixedValue(); in doMerge()
H A DTypePromotion.cpp778 TypeSize = OrigTy->getPrimitiveSizeInBits().getFixedValue(); in TryToPromote()
923 TTI.getRegisterBitWidth(TargetTransformInfo::RGK_Scalar).getFixedValue(); in run()
H A DExpandVectorPredication.cpp246 unsigned NumElems = ElemCount.getFixedValue(); in convertEVLToMask()
652 MaxEVL = ConstantInt::get(Int32Ty, StaticElemCount.getFixedValue(), false); in discardEVLParameter()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp268 DL.getTypeStoreSize(LI->getType()).getFixedValue()); in isDereferenceableAndAlignedInLoop()
436 APInt Size(DL.getIndexTypeSizeInBits(V->getType()), TySize.getFixedValue()); in isSafeToLoadUnconditionally()
566 uint64_t LoadSize = LoadTypeSize.getFixedValue(); in getAvailableLoadStore()
H A DStackSafetyAnalysis.cpp162 APInt APSize(PointerSize, TS.getFixedValue(), true); in getStaticAllocaSizeRange()
310 APInt APSize(PointerSize, Size.getFixedValue(), true); in getAccessRange()
351 const SCEV *SV = SE.getConstant(CalculationTy, TS.getFixedValue()); in isSafeAccess()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp195 unsigned VecWidth = VecTy->getPrimitiveSizeInBits().getFixedValue(); in getMemoryOpCost()
199 .getFixedValue(); in getMemoryOpCost()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp166 static_cast<uint32_t>(r.second.getFixedValue())); in EmitDevicePrintfCallExpr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp311 unsigned MaxSizeBits = NumPow2 * OrigTy.getSizeInBits().getFixedValue(); in mergeStores()
357 LLT::scalar(NumStores * SmallTy.getSizeInBits().getFixedValue()); in doSingleStoreMerge()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DTypeSize.h187 constexpr ScalarTy getFixedValue() const { in getFixedValue() function

1234