Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp244 Info.StorageSize = (unsigned)DataLayout.getTypeAllocSizeInBits(StorageType); in setBitFieldInfo()
246 if (Info.Size > Info.StorageSize) in setBitFieldInfo()
247 Info.Size = Info.StorageSize; in setBitFieldInfo()
253 Info.Offset = Info.StorageSize - (Info.Offset + Info.Size); in setBitFieldInfo()
563 isBE() ? Info.StorageSize - (Info.Offset + Info.Size) : Info.Offset; in computeVolatileBitfields()
569 const unsigned StorageSize = ResLTy->getPrimitiveSizeInBits(); in computeVolatileBitfields() local
572 if (Info.StorageSize == StorageSize && (OldOffset % StorageSize == 0)) in computeVolatileBitfields()
576 unsigned Offset = AbsoluteOffset & (StorageSize - 1); in computeVolatileBitfields()
581 if (Offset + Info.Size > StorageSize) in computeVolatileBitfields()
586 Offset = StorageSize - (Offset + Info.Size); in computeVolatileBitfields()
[all …]
H A DCGObjCRuntime.cpp95 CharUnits StorageSize = CGF.CGM.getContext().toCharUnitsFromBits( in EmitValueForIvarAtOffset() local
107 CGF.CGM.getContext().toBits(StorageSize), in EmitValueForIvarAtOffset()
113 Info->StorageSize)); in EmitValueForIvarAtOffset()
H A DCGExpr.cpp1991 const unsigned StorageSize = in EmitLoadOfBitfieldLValue() local
1992 UseVolatile ? Info.VolatileStorageSize : Info.StorageSize; in EmitLoadOfBitfieldLValue()
1994 assert(static_cast<unsigned>(Offset + Info.Size) <= StorageSize); in EmitLoadOfBitfieldLValue()
1995 unsigned HighBits = StorageSize - Offset - Info.Size; in EmitLoadOfBitfieldLValue()
2003 if (static_cast<unsigned>(Offset) + Info.Size < StorageSize) in EmitLoadOfBitfieldLValue()
2005 Val, llvm::APInt::getLowBitsSet(StorageSize, Info.Size), "bf.clear"); in EmitLoadOfBitfieldLValue()
2226 const unsigned StorageSize = in EmitStoreThroughBitfieldLValue() local
2227 UseVolatile ? Info.VolatileStorageSize : Info.StorageSize; in EmitStoreThroughBitfieldLValue()
2231 if (StorageSize != Info.Size) { in EmitStoreThroughBitfieldLValue()
2232 assert(StorageSize > Info.Size && "Invalid bitfield size."); in EmitStoreThroughBitfieldLValue()
[all …]
H A DCGCall.cpp3379 int StorageSize, int BitOffset, int BitWidth, in setBitRange() argument
3382 SmallVector<uint64_t, 8> TmpBits(StorageSize); in setBitRange()
3419 BFI.StorageSize / CharWidth, BFI.Offset, in setUsedBits()
H A DCGAtomic.cpp94 BFI.StorageSize = AtomicSizeInBits; in AtomicInfo()
H A DCGDebugInfo.cpp1482 Offset = BitFieldInfo.StorageSize - BitFieldInfo.Size - Offset; in createBitFieldType()