Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGRecordLayout.h79 unsigned StorageSize; member
85 : Offset(), Size(), IsSigned(), StorageSize(), StorageOffset() {} in CGBitFieldInfo()
88 unsigned StorageSize, CharUnits StorageOffset) in CGBitFieldInfo()
90 StorageSize(StorageSize), StorageOffset(StorageOffset) {} in CGBitFieldInfo()
101 uint64_t StorageSize,
H A DCGRecordLayoutBuilder.cpp231 Info.StorageSize = (unsigned)DataLayout.getTypeAllocSizeInBits(StorageType); in setBitFieldInfo()
233 if (Info.Size > Info.StorageSize) in setBitFieldInfo()
234 Info.Size = Info.StorageSize; in setBitFieldInfo()
240 Info.Offset = Info.StorageSize - (Info.Offset + Info.Size); in setBitFieldInfo()
687 uint64_t StorageSize, in MakeInfo() argument
717 Offset = StorageSize - (Offset + Size); in MakeInfo()
720 return CGBitFieldInfo(Offset, Size, IsSigned, StorageSize, StorageOffset); in MakeInfo()
831 Info.StorageSize && in ComputeRecordLayout()
836 assert(Info.StorageSize <= SL->getSizeInBits() && in ComputeRecordLayout()
839 assert(Info.StorageSize == in ComputeRecordLayout()
[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.cpp1817 assert(static_cast<unsigned>(Info.Offset + Info.Size) <= Info.StorageSize); in EmitLoadOfBitfieldLValue()
1818 unsigned HighBits = Info.StorageSize - Info.Offset - Info.Size; in EmitLoadOfBitfieldLValue()
1826 if (static_cast<unsigned>(Info.Offset) + Info.Size < Info.StorageSize) in EmitLoadOfBitfieldLValue()
1827 Val = Builder.CreateAnd(Val, llvm::APInt::getLowBitsSet(Info.StorageSize, in EmitLoadOfBitfieldLValue()
2027 if (Info.StorageSize != Info.Size) { in EmitStoreThroughBitfieldLValue()
2028 assert(Info.StorageSize > Info.Size && "Invalid bitfield size."); in EmitStoreThroughBitfieldLValue()
2035 llvm::APInt::getLowBitsSet(Info.StorageSize, in EmitStoreThroughBitfieldLValue()
2044 ~llvm::APInt::getBitsSet(Info.StorageSize, in EmitStoreThroughBitfieldLValue()
2064 assert(Info.Size <= Info.StorageSize); in EmitStoreThroughBitfieldLValue()
2065 unsigned HighBits = Info.StorageSize - Info.Size; in EmitStoreThroughBitfieldLValue()
[all …]
H A DCGAtomic.cpp97 BFI.StorageSize = AtomicSizeInBits; in AtomicInfo()
H A DCGDebugInfo.cpp1231 Offset = BitFieldInfo.StorageSize - BitFieldInfo.Size - Offset; in createBitFieldType()