Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayout.h79 unsigned StorageSize; member
97 : Offset(), Size(), IsSigned(), StorageSize(), VolatileOffset(), in CGBitFieldInfo()
101 unsigned StorageSize, CharUnits StorageOffset) in CGBitFieldInfo()
103 StorageSize(StorageSize), StorageOffset(StorageOffset) {} in CGBitFieldInfo()
114 uint64_t StorageSize,
H A DCGRecordLayoutBuilder.cpp246 Info.StorageSize = (unsigned)DataLayout.getTypeAllocSizeInBits(StorageType); in setBitFieldInfo()
248 if (Info.Size > Info.StorageSize) in setBitFieldInfo()
249 Info.Size = Info.StorageSize; in setBitFieldInfo()
255 Info.Offset = Info.StorageSize - (Info.Offset + Info.Size); in setBitFieldInfo()
774 isBE() ? Info.StorageSize - (Info.Offset + Info.Size) : Info.Offset; in computeVolatileBitfields()
780 const unsigned StorageSize = ResLTy->getPrimitiveSizeInBits(); in computeVolatileBitfields() local
783 if (Info.StorageSize == StorageSize && (OldOffset % StorageSize == 0)) in computeVolatileBitfields()
787 unsigned Offset = AbsoluteOffset & (StorageSize - 1); in computeVolatileBitfields()
792 if (Offset + Info.Size > StorageSize) in computeVolatileBitfields()
797 Offset = StorageSize - (Offset + Info.Size); in computeVolatileBitfields()
[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 DCodeGenTBAA.cpp375 bool IsFirst = IsBE ? Info.StorageSize - (Info.Offset + Info.Size) == 0 in CollectFields()
379 unsigned CurrentBitFieldSize = Info.StorageSize; in CollectFields()
H A DCGExpr.cpp2266 const unsigned StorageSize = in EmitLoadOfBitfieldLValue() local
2267 UseVolatile ? Info.VolatileStorageSize : Info.StorageSize; in EmitLoadOfBitfieldLValue()
2269 assert(static_cast<unsigned>(Offset + Info.Size) <= StorageSize); in EmitLoadOfBitfieldLValue()
2270 unsigned HighBits = StorageSize - Offset - Info.Size; in EmitLoadOfBitfieldLValue()
2278 if (static_cast<unsigned>(Offset) + Info.Size < StorageSize) in EmitLoadOfBitfieldLValue()
2280 Val, llvm::APInt::getLowBitsSet(StorageSize, Info.Size), "bf.clear"); in EmitLoadOfBitfieldLValue()
2505 const unsigned StorageSize = in EmitStoreThroughBitfieldLValue() local
2506 UseVolatile ? Info.VolatileStorageSize : Info.StorageSize; in EmitStoreThroughBitfieldLValue()
2510 if (StorageSize != Info.Size) { in EmitStoreThroughBitfieldLValue()
2511 assert(StorageSize > Info.Size && "Invalid bitfield size."); in EmitStoreThroughBitfieldLValue()
[all …]
H A DCGCall.cpp3623 int StorageSize, int BitOffset, int BitWidth, in setBitRange() argument
3626 SmallVector<uint64_t, 8> TmpBits(StorageSize); in setBitRange()
3663 BFI.StorageSize / CharWidth, BFI.Offset, in setUsedBits()
H A DCGAtomic.cpp93 BFI.StorageSize = AtomicSizeInBits; in AtomicInfo()
H A DCGDebugInfo.cpp1630 Offset = BitFieldInfo.StorageSize - BitFieldInfo.Size - Offset; in createBitFieldType()