Home
last modified time | relevance | path

Searched refs:getFixedSize (Results 1 – 25 of 71) sorted by relevance

123

/external/llvm-project/llvm/lib/Transforms/Utils/
DVNCoercion.cpp30 uint64_t StoreSize = DL.getTypeSizeInBits(StoredTy).getFixedSize(); in canCoerceMustAliasedValueToLoad()
37 if (StoreSize < DL.getTypeSizeInBits(LoadTy).getFixedSize()) in canCoerceMustAliasedValueToLoad()
60 if (StoredNI && StoreSize != DL.getTypeSizeInBits(LoadTy).getFixedSize()) in canCoerceMustAliasedValueToLoad()
78 uint64_t StoredValSize = DL.getTypeSizeInBits(StoredValTy).getFixedSize(); in coerceAvailableValueToLoadTypeHelper()
79 uint64_t LoadedValSize = DL.getTypeSizeInBits(LoadedTy).getFixedSize(); in coerceAvailableValueToLoadTypeHelper()
131 uint64_t ShiftAmt = DL.getTypeStoreSizeInBits(StoredValTy).getFixedSize() - in coerceAvailableValueToLoadTypeHelper()
132 DL.getTypeStoreSizeInBits(LoadedTy).getFixedSize(); in coerceAvailableValueToLoadTypeHelper()
200 uint64_t LoadSize = DL.getTypeSizeInBits(LoadTy).getFixedSize(); in analyzeLoadFromClobberingWrite()
244 DL.getTypeSizeInBits(DepSI->getValueOperand()->getType()).getFixedSize(); in analyzeLoadFromClobberingStore()
347 uint64_t DepSize = DL.getTypeSizeInBits(DepLI->getType()).getFixedSize(); in analyzeLoadFromClobberingLoad()
[all …]
DFunctionComparator.cpp236 TyLWidth = VecTyL->getPrimitiveSizeInBits().getFixedSize(); in cmpConstants()
238 TyRWidth = VecTyR->getPrimitiveSizeInBits().getFixedSize(); in cmpConstants()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSROA.cpp663 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType()).getFixedSize()), in SliceBuilder()
756 DL.getTypeAllocSize(GTI.getIndexedType()).getFixedSize()); in visitGetElementPtrInst()
794 uint64_t Size = DL.getTypeStoreSize(LI.getType()).getFixedSize(); in visitLoadInst()
812 uint64_t Size = DL.getTypeStoreSize(ValOp->getType()).getFixedSize(); in visitStoreInst()
975 DL.getTypeStoreSize(LI->getType()).getFixedSize()); in hasUnsafePHIOrSelectUse()
983 DL.getTypeStoreSize(Op->getType()).getFixedSize()); in hasUnsafePHIOrSelectUse()
1227 uint64_t Size = DL.getTypeStoreSize(LI->getType()).getFixedSize(); in isSafePHIToSpeculate()
1486 DL.getTypeSizeInBits(VecTy->getScalarType()).getFixedSize(); in getNaturalGEPRecursively()
1504 DL.getTypeAllocSize(ElementTy).getFixedSize()); in getNaturalGEPRecursively()
1526 if (Offset.uge(DL.getTypeAllocSize(ElementTy).getFixedSize())) in getNaturalGEPRecursively()
[all …]
DLoopPredication.cpp442 assert(DL.getTypeSizeInBits(LatchCheck.IV->getType()).getFixedSize() > in isSafeToTruncateWideIVType()
443 DL.getTypeSizeInBits(RangeCheckType).getFixedSize() && in isSafeToTruncateWideIVType()
463 DL.getTypeSizeInBits(RangeCheckType).getFixedSize(); in isSafeToTruncateWideIVType()
480 if (DL.getTypeSizeInBits(LatchType).getFixedSize() < in generateLoopLatchCheck()
481 DL.getTypeSizeInBits(RangeCheckType).getFixedSize()) in generateLoopLatchCheck()
DNaryReassociate.cpp374 DL->getTypeSizeInBits(LHS->getType()).getFixedSize() < in tryReassociateGEPAtIndex()
375 DL->getTypeSizeInBits(GEP->getOperand(I)->getType()).getFixedSize()) { in tryReassociateGEPAtIndex()
DLoopIdiomRecognize.cpp474 if (SizeInBits.isScalable() || (SizeInBits.getFixedSize() & 7) || in isLegalStore()
475 (SizeInBits.getFixedSize() >> 32) != 0) in isLegalStore()
899 if (DL->getTypeSizeInBits(BECount->getType()).getFixedSize() < in getNumBytes()
900 DL->getTypeSizeInBits(IntPtr).getFixedSize() && in getNumBytes()
/external/llvm-project/llvm/unittests/IR/
DVectorTypesTest.cpp289 EXPECT_LT(V2Int32Ty->getPrimitiveSizeInBits().getFixedSize(), in TEST()
290 V4Int32Ty->getPrimitiveSizeInBits().getFixedSize()); in TEST()
291 EXPECT_GT(V2Int64Ty->getPrimitiveSizeInBits().getFixedSize(), in TEST()
292 V2Int32Ty->getPrimitiveSizeInBits().getFixedSize()); in TEST()
299 EXPECT_EQ(V2Int64Ty->getPrimitiveSizeInBits().getFixedSize(), in TEST()
300 V4Int32Ty->getPrimitiveSizeInBits().getFixedSize()); in TEST()
/external/llvm-project/llvm/include/llvm/Analysis/
DMemoryLocation.h104 return precise(Value.getFixedSize()); in precise()
118 return upperBound(Value.getFixedSize()); in upperBound()
282 return T.isScalable() ? UnknownSize : T.getFixedSize(); in getSizeOrUnknown()
DTargetTransformInfoImpl.h462 if (!DstSize.isScalable() && DL.isLegalInteger(DstSize.getFixedSize())) in getCastInstrCost()
704 VT->getElementType()->getPrimitiveSizeInBits().getFixedSize(); in minRequiredElementSize()
825 DL.getTypeAllocSize(GTI.getIndexedType()).getFixedSize();
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTypeSize.h124 uint64_t getFixedSize() const { in getFixedSize() function
151 return getFixedSize(); in uint64_t()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64StackOffset.h63 Bytes += Other.first * ((int64_t)Size.getFixedSize() / 8);
/external/llvm-project/llvm/lib/IR/
DType.cpp78 getPrimitiveSizeInBits().getFixedSize() == 64) in canLosslesslyBitCastTo()
81 Ty->getPrimitiveSizeInBits().getFixedSize() == 64) in canLosslesslyBitCastTo()
131 return {ETS.getFixedSize() * EC.getKnownMinValue(), EC.isScalable()}; in getPrimitiveSizeInBits()
139 return getScalarType()->getPrimitiveSizeInBits().getFixedSize(); in getScalarSizeInBits()
/external/llvm-project/llvm/include/llvm/CodeGen/
DValueTypes.h342 return getSizeInBits().getFixedSize(); in getFixedSizeInBits()
346 return getScalarType().getSizeInBits().getFixedSize(); in getScalarSizeInBits()
/external/llvm-project/llvm/unittests/AsmParser/
DAsmParserTest.cpp235 ASSERT_TRUE(VT->getPrimitiveSizeInBits().getFixedSize() == 160); in TEST()
367 ASSERT_TRUE(VT->getPrimitiveSizeInBits().getFixedSize() == 160); in TEST()
/external/llvm-project/llvm/lib/CodeGen/
DTypePromotion.cpp137 assert(OrigTy->getPrimitiveSizeInBits().getFixedSize() < in IRPromoter()
138 ExtTy->getPrimitiveSizeInBits().getFixedSize() && in IRPromoter()
813 TypeSize = OrigTy->getPrimitiveSizeInBits().getFixedSize(); in TryToPromote()
DGlobalMerge.cpp227 return DL.getTypeAllocSize(GV1->getValueType()).getFixedSize() < in doMerge()
228 DL.getTypeAllocSize(GV2->getValueType()).getFixedSize(); in doMerge()
/external/llvm-project/llvm/lib/Analysis/
DValueTracking.cpp2207 .getFixedSize() <= in isKnownNonZero()
2208 Q.DL.getTypeSizeInBits(CE->getType()).getFixedSize()) in isKnownNonZero()
2305 if (Q.DL.getTypeSizeInBits(I2P->getSrcTy()).getFixedSize() <= in isKnownNonZero()
2306 Q.DL.getTypeSizeInBits(I2P->getDestTy()).getFixedSize()) in isKnownNonZero()
2313 if (Q.DL.getTypeSizeInBits(P2I->getSrcTy()).getFixedSize() <= in isKnownNonZero()
2314 Q.DL.getTypeSizeInBits(P2I->getDestTy()).getFixedSize()) in isKnownNonZero()
3060 if (Op1C->getType()->getPrimitiveSizeInBits().getFixedSize() < in ComputeMultiple()
3061 MulC->getType()->getPrimitiveSizeInBits().getFixedSize()) in ComputeMultiple()
3063 if (Op1C->getType()->getPrimitiveSizeInBits().getFixedSize() > in ComputeMultiple()
3064 MulC->getType()->getPrimitiveSizeInBits().getFixedSize()) in ComputeMultiple()
[all …]
DLoads.cpp243 DL.getTypeStoreSize(LI->getType()).getFixedSize()); in isDereferenceableAndAlignedInLoop()
/external/llvm-project/llvm/include/llvm/IR/
DDataLayout.h702 getTypeSizeInBits(VTy->getElementType()).getFixedSize(); in getTypeSizeInBits()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp158 unsigned VecWidth = VecTy->getPrimitiveSizeInBits().getFixedSize(); in getMemoryOpCost()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDataLayout.h660 getTypeSizeInBits(VTy->getElementType()).getFixedSize(); in getTypeSizeInBits()
/external/llvm-project/llvm/include/llvm/Support/
DTypeSize.h421 ScalarTy getFixedSize() const { return getFixedValue(); }
DMachineValueType.h987 return getSizeInBits().getFixedSize(); in getFixedSizeInBits()
991 return getScalarType().getSizeInBits().getFixedSize(); in getScalarSizeInBits()
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp596 assert(SrcTy->getPrimitiveSizeInBits().getFixedSize() > in getVectorTruncCost()
597 DstTy->getPrimitiveSizeInBits().getFixedSize() && in getVectorTruncCost()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp1053 APInt(Ptr.getValueSizeInBits().getFixedSize(), IncrementSize)); in IncrementPointer()
1715 LoMemVT.getStoreSize().getFixedSize()); in SplitVecRes_MLOAD()
2511 LoMemVT.getStoreSize().getFixedSize()); in SplitVecOp_MSTORE()
5055 unsigned NumElts = WidenWidth.getFixedSize() / NewVTWidth.getFixedSize(); in GenWidenVectorLoads()
5064 assert(WidenWidth.getFixedSize() % NewVTWidth.getFixedSize() == 0); in GenWidenVectorLoads()
5065 unsigned NumConcat = WidenWidth.getFixedSize() / NewVTWidth.getFixedSize(); in GenWidenVectorLoads()
5274 unsigned NumElts = ValWidth.getFixedSize() / NewVTWidth.getFixedSize(); in GenWidenVectorStores()
5278 Idx = Idx * ValEltWidth / NewVTWidth.getFixedSize(); in GenWidenVectorStores()
5291 Idx = Idx * NewVTWidth.getFixedSize() / ValEltWidth; in GenWidenVectorStores()

123