Home
last modified time | relevance | path

Searched refs:StorageSize (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGRecordLayout.h78 unsigned StorageSize; member
96 : Offset(), Size(), IsSigned(), StorageSize(), VolatileOffset(), in CGBitFieldInfo()
100 unsigned StorageSize, CharUnits StorageOffset) in CGBitFieldInfo()
102 StorageSize(StorageSize), StorageOffset(StorageOffset) {} in CGBitFieldInfo()
113 uint64_t StorageSize,
H A DCGRecordLayoutBuilder.cpp246 if (Info.Size > Info.StorageSize) in setBitFieldInfo()
247 Info.Size = Info.StorageSize; in setBitFieldInfo()
572 if (Info.StorageSize == StorageSize && (OldOffset % StorageSize == 0)) in computeVolatileBitfields()
581 if (Offset + Info.Size > StorageSize) in computeVolatileBitfields()
586 Offset = StorageSize - (Offset + Info.Size); in computeVolatileBitfields()
643 Info.VolatileStorageSize = StorageSize; in computeVolatileBitfields()
871 Offset = StorageSize - (Offset + Size); in MakeInfo()
985 Info.StorageSize && in ComputeRecordLayout()
990 assert(Info.StorageSize <= SL->getSizeInBits() && in ComputeRecordLayout()
993 assert((Info.StorageSize == in ComputeRecordLayout()
[all …]
H A DCGObjCRuntime.cpp94 CharUnits StorageSize = CGF.CGM.getContext().toCharUnitsFromBits( in EmitValueForIvarAtOffset() local
106 CGF.CGM.getContext().toBits(StorageSize), in EmitValueForIvarAtOffset()
112 Info->StorageSize)); in EmitValueForIvarAtOffset()
H A DCGExpr.cpp2034 const unsigned StorageSize = in EmitLoadOfBitfieldLValue() local
2035 UseVolatile ? Info.VolatileStorageSize : Info.StorageSize; in EmitLoadOfBitfieldLValue()
2038 unsigned HighBits = StorageSize - Offset - Info.Size; in EmitLoadOfBitfieldLValue()
2046 if (static_cast<unsigned>(Offset) + Info.Size < StorageSize) in EmitLoadOfBitfieldLValue()
2269 const unsigned StorageSize = in EmitStoreThroughBitfieldLValue() local
2270 UseVolatile ? Info.VolatileStorageSize : Info.StorageSize; in EmitStoreThroughBitfieldLValue()
2274 if (StorageSize != Info.Size) { in EmitStoreThroughBitfieldLValue()
2275 assert(StorageSize > Info.Size && "Invalid bitfield size."); in EmitStoreThroughBitfieldLValue()
2316 assert(Info.Size <= StorageSize); in EmitStoreThroughBitfieldLValue()
2317 unsigned HighBits = StorageSize - Info.Size; in EmitStoreThroughBitfieldLValue()
[all …]
H A DCGCall.cpp3329 int StorageSize, int BitOffset, int BitWidth, in setBitRange() argument
3332 SmallVector<uint64_t, 8> TmpBits(StorageSize); in setBitRange()
3369 BFI.StorageSize / CharWidth, BFI.Offset, in setUsedBits()
H A DCGAtomic.cpp94 BFI.StorageSize = AtomicSizeInBits; in AtomicInfo()
H A DCGDebugInfo.cpp1451 Offset = BitFieldInfo.StorageSize - BitFieldInfo.Size - Offset; in createBitFieldType()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DFileIndex.cpp375 size_t StorageSize = in buildIndex() local
378 StorageSize += Slab->bytes(); in buildIndex()
380 StorageSize += RefSlab->bytes(); in buildIndex()
390 StorageSize); in buildIndex()
397 StorageSize); in buildIndex()