Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/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()
583 if (Info.StorageSize == StorageSize && (OldOffset % StorageSize == 0)) in computeVolatileBitfields()
592 if (Offset + Info.Size > StorageSize) in computeVolatileBitfields()
597 Offset = StorageSize - (Offset + Info.Size); in computeVolatileBitfields()
654 Info.VolatileStorageSize = StorageSize; in computeVolatileBitfields()
883 Offset = StorageSize - (Offset + Size); in MakeInfo()
997 Info.StorageSize && in ComputeRecordLayout()
1002 assert(Info.StorageSize <= SL->getSizeInBits() && in ComputeRecordLayout()
1005 assert((Info.StorageSize == in ComputeRecordLayout()
[all …]
H A DCGObjCRuntime.cpp93 CharUnits StorageSize = CGF.CGM.getContext().toCharUnitsFromBits( in EmitValueForIvarAtOffset() local
105 CGF.CGM.getContext().toBits(StorageSize), in EmitValueForIvarAtOffset()
109 Address(V, llvm::Type::getIntNTy(CGF.getLLVMContext(), Info->StorageSize), in EmitValueForIvarAtOffset()
H A DCGExpr.cpp2249 const unsigned StorageSize = in EmitLoadOfBitfieldLValue() local
2250 UseVolatile ? Info.VolatileStorageSize : Info.StorageSize; in EmitLoadOfBitfieldLValue()
2253 unsigned HighBits = StorageSize - Offset - Info.Size; in EmitLoadOfBitfieldLValue()
2261 if (static_cast<unsigned>(Offset) + Info.Size < StorageSize) in EmitLoadOfBitfieldLValue()
2490 const unsigned StorageSize = in EmitStoreThroughBitfieldLValue() local
2491 UseVolatile ? Info.VolatileStorageSize : Info.StorageSize; in EmitStoreThroughBitfieldLValue()
2495 if (StorageSize != Info.Size) { in EmitStoreThroughBitfieldLValue()
2496 assert(StorageSize > Info.Size && "Invalid bitfield size."); in EmitStoreThroughBitfieldLValue()
2537 assert(Info.Size <= StorageSize); in EmitStoreThroughBitfieldLValue()
2538 unsigned HighBits = StorageSize - Info.Size; in EmitStoreThroughBitfieldLValue()
[all …]
H A DCGCall.cpp3615 int StorageSize, int BitOffset, int BitWidth, in setBitRange() argument
3618 SmallVector<uint64_t, 8> TmpBits(StorageSize); in setBitRange()
3655 BFI.StorageSize / CharWidth, BFI.Offset, in setUsedBits()
H A DCGAtomic.cpp93 BFI.StorageSize = AtomicSizeInBits; in AtomicInfo()
H A DCGDebugInfo.cpp1526 Offset = BitFieldInfo.StorageSize - BitFieldInfo.Size - Offset; in createBitFieldType()