Lines Matching refs:StorageSize
244 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()
589 Context.toCharUnitsFromBits(AbsoluteOffset & ~(StorageSize - 1)); in computeVolatileBitfields()
591 Context.toCharUnitsFromBits(StorageSize) - in computeVolatileBitfields()
642 StorageOffset / Context.toCharUnitsFromBits(StorageSize).getQuantity(); in computeVolatileBitfields()
643 Info.VolatileStorageSize = StorageSize; in computeVolatileBitfields()
841 uint64_t StorageSize, in MakeInfo() argument
871 Offset = StorageSize - (Offset + Size); in MakeInfo()
874 return CGBitFieldInfo(Offset, Size, IsSigned, StorageSize, StorageOffset); in MakeInfo()
985 Info.StorageSize && in ComputeRecordLayout()
990 assert(Info.StorageSize <= SL->getSizeInBits() && in ComputeRecordLayout()
993 assert((Info.StorageSize == in ComputeRecordLayout()
1000 assert(static_cast<unsigned>(Info.Offset) + Info.Size <= Info.StorageSize && in ComputeRecordLayout()
1045 << " StorageSize:" << StorageSize in print()