Home
last modified time | relevance | path

Searched refs:LoadSize (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Analysis/
DLoads.cpp98 uint64_t LoadSize = DL.getTypeStoreSize(AddrTy->getElementType()); in isSafeToLoadUnconditionally() local
110 if (ByteOffset + LoadSize <= DL.getTypeAllocSize(BaseType) && in isSafeToLoadUnconditionally()
159 LoadSize <= DL.getTypeStoreSize(AccessedTy)) in isSafeToLoadUnconditionally()
DValueTracking.cpp3263 uint64_t LoadSize = DL.getTypeStoreSize(Ty); in isDereferenceableAndAlignedPointer() local
3266 return (Offset + LoadSize).ule(DL.getTypeAllocSize(BaseType)) && in isDereferenceableAndAlignedPointer()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp885 uint64_t LoadSize = DL.getTypeSizeInBits(LoadedTy); in CoerceAvailableValueToLoadType() local
888 if (StoreSize == LoadSize) { in CoerceAvailableValueToLoadType()
917 assert(StoreSize >= LoadSize && "CanCoerceMustAliasedValueToLoad fail"); in CoerceAvailableValueToLoadType()
934 StoredVal = IRB.CreateLShr(StoredVal, StoreSize - LoadSize, "tmp"); in CoerceAvailableValueToLoadType()
938 Type *NewIntTy = IntegerType::get(StoredValTy->getContext(), LoadSize); in CoerceAvailableValueToLoadType()
994 uint64_t LoadSize = DL.getTypeSizeInBits(LoadTy); in AnalyzeLoadFromClobberingWrite() local
996 if ((WriteSizeInBits & 7) | (LoadSize & 7)) in AnalyzeLoadFromClobberingWrite()
999 LoadSize >>= 3; in AnalyzeLoadFromClobberingWrite()
1006 isAAFailure = LoadOffset+int64_t(LoadSize) <= StoreOffset; in AnalyzeLoadFromClobberingWrite()
1025 StoreOffset+StoreSize < LoadOffset+LoadSize) in AnalyzeLoadFromClobberingWrite()
[all …]
DSROA.cpp3554 uint64_t LoadSize = Ty->getBitWidth() / 8; in presplitLoadsAndStores() local
3555 assert(LoadSize > 0 && "Cannot have a zero-sized integer load!"); in presplitLoadsAndStores()
3558 assert(LoadSize == Offsets.S->endOffset() - Offsets.S->beginOffset() && in presplitLoadsAndStores()
3561 assert(BaseOffset + LoadSize > BaseOffset && in presplitLoadsAndStores()
3601 PartSize = (Idx < Size ? Offsets.Splits[Idx] : LoadSize) - PartOffset; in presplitLoadsAndStores()
/external/llvm/lib/Target/PowerPC/
DPPCHazardRecognizers.h95 bool isLoadOfStoredAddress(uint64_t LoadSize, int64_t LoadOffset,
DPPCHazardRecognizers.cpp298 isLoadOfStoredAddress(uint64_t LoadSize, int64_t LoadOffset, in isLoadOfStoredAddress() argument
313 if (int64_t(LoadOffset+LoadSize) > StoreOffset[i]) return true; in isLoadOfStoredAddress()