/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | VNCoercion.cpp | 30 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 …]
|
D | FunctionComparator.cpp | 236 TyLWidth = VecTyL->getPrimitiveSizeInBits().getFixedSize(); in cmpConstants() 238 TyRWidth = VecTyR->getPrimitiveSizeInBits().getFixedSize(); in cmpConstants()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 663 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 …]
|
D | LoopPredication.cpp | 442 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()
|
D | NaryReassociate.cpp | 374 DL->getTypeSizeInBits(LHS->getType()).getFixedSize() < in tryReassociateGEPAtIndex() 375 DL->getTypeSizeInBits(GEP->getOperand(I)->getType()).getFixedSize()) { in tryReassociateGEPAtIndex()
|
D | LoopIdiomRecognize.cpp | 474 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/ |
D | VectorTypesTest.cpp | 289 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/ |
D | MemoryLocation.h | 104 return precise(Value.getFixedSize()); in precise() 118 return upperBound(Value.getFixedSize()); in upperBound() 282 return T.isScalable() ? UnknownSize : T.getFixedSize(); in getSizeOrUnknown()
|
D | TargetTransformInfoImpl.h | 462 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/ |
D | TypeSize.h | 124 uint64_t getFixedSize() const { in getFixedSize() function 151 return getFixedSize(); in uint64_t()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64StackOffset.h | 63 Bytes += Other.first * ((int64_t)Size.getFixedSize() / 8);
|
/external/llvm-project/llvm/lib/IR/ |
D | Type.cpp | 78 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/ |
D | ValueTypes.h | 342 return getSizeInBits().getFixedSize(); in getFixedSizeInBits() 346 return getScalarType().getSizeInBits().getFixedSize(); in getScalarSizeInBits()
|
/external/llvm-project/llvm/unittests/AsmParser/ |
D | AsmParserTest.cpp | 235 ASSERT_TRUE(VT->getPrimitiveSizeInBits().getFixedSize() == 160); in TEST() 367 ASSERT_TRUE(VT->getPrimitiveSizeInBits().getFixedSize() == 160); in TEST()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | TypePromotion.cpp | 137 assert(OrigTy->getPrimitiveSizeInBits().getFixedSize() < in IRPromoter() 138 ExtTy->getPrimitiveSizeInBits().getFixedSize() && in IRPromoter() 813 TypeSize = OrigTy->getPrimitiveSizeInBits().getFixedSize(); in TryToPromote()
|
D | GlobalMerge.cpp | 227 return DL.getTypeAllocSize(GV1->getValueType()).getFixedSize() < in doMerge() 228 DL.getTypeAllocSize(GV2->getValueType()).getFixedSize(); in doMerge()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 2207 .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 …]
|
D | Loads.cpp | 243 DL.getTypeStoreSize(LI->getType()).getFixedSize()); in isDereferenceableAndAlignedInLoop()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | DataLayout.h | 702 getTypeSizeInBits(VTy->getElementType()).getFixedSize(); in getTypeSizeInBits()
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonTargetTransformInfo.cpp | 158 unsigned VecWidth = VecTy->getPrimitiveSizeInBits().getFixedSize(); in getMemoryOpCost()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | DataLayout.h | 660 getTypeSizeInBits(VTy->getElementType()).getFixedSize(); in getTypeSizeInBits()
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | TypeSize.h | 421 ScalarTy getFixedSize() const { return getFixedValue(); }
|
D | MachineValueType.h | 987 return getSizeInBits().getFixedSize(); in getFixedSizeInBits() 991 return getScalarType().getSizeInBits().getFixedSize(); in getScalarSizeInBits()
|
/external/llvm-project/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 596 assert(SrcTy->getPrimitiveSizeInBits().getFixedSize() > in getVectorTruncCost() 597 DstTy->getPrimitiveSizeInBits().getFixedSize() && in getVectorTruncCost()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 1053 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()
|