Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
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,
DCGRecordLayoutBuilder.cpp230 Info.StorageSize = (unsigned)DataLayout.getTypeAllocSizeInBits(StorageType); in setBitFieldInfo()
232 if (Info.Size > Info.StorageSize) in setBitFieldInfo()
233 Info.Size = Info.StorageSize; in setBitFieldInfo()
239 Info.Offset = Info.StorageSize - (Info.Offset + Info.Size); in setBitFieldInfo()
649 uint64_t StorageSize, in MakeInfo() argument
679 Offset = StorageSize - (Offset + Size); in MakeInfo()
682 return CGBitFieldInfo(Offset, Size, IsSigned, StorageSize, StorageOffset); in MakeInfo()
794 Info.StorageSize && in ComputeRecordLayout()
799 assert(Info.StorageSize <= SL->getSizeInBits() && in ComputeRecordLayout()
802 assert(Info.StorageSize == in ComputeRecordLayout()
[all …]
DCGObjCRuntime.cpp123 CharUnits StorageSize = CGF.CGM.getContext().toCharUnitsFromBits( in EmitValueForIvarAtOffset() local
135 CGF.CGM.getContext().toBits(StorageSize), in EmitValueForIvarAtOffset()
141 Info->StorageSize)); in EmitValueForIvarAtOffset()
DCGExpr.cpp1496 assert(static_cast<unsigned>(Info.Offset + Info.Size) <= Info.StorageSize); in EmitLoadOfBitfieldLValue()
1497 unsigned HighBits = Info.StorageSize - Info.Offset - Info.Size; in EmitLoadOfBitfieldLValue()
1505 if (static_cast<unsigned>(Info.Offset) + Info.Size < Info.StorageSize) in EmitLoadOfBitfieldLValue()
1506 Val = Builder.CreateAnd(Val, llvm::APInt::getLowBitsSet(Info.StorageSize, in EmitLoadOfBitfieldLValue()
1698 if (Info.StorageSize != Info.Size) { in EmitStoreThroughBitfieldLValue()
1699 assert(Info.StorageSize > Info.Size && "Invalid bitfield size."); in EmitStoreThroughBitfieldLValue()
1706 llvm::APInt::getLowBitsSet(Info.StorageSize, in EmitStoreThroughBitfieldLValue()
1715 ~llvm::APInt::getBitsSet(Info.StorageSize, in EmitStoreThroughBitfieldLValue()
1735 assert(Info.Size <= Info.StorageSize); in EmitStoreThroughBitfieldLValue()
1736 unsigned HighBits = Info.StorageSize - Info.Size; in EmitStoreThroughBitfieldLValue()
[all …]
DCGAtomic.cpp95 BFI.StorageSize = AtomicSizeInBits; in AtomicInfo()
/external/skia/src/core/
DSkTextBlob.cpp38 size_t SkTextBlob::RunRecord::StorageSize(uint32_t glyphCount, uint32_t textSize, in StorageSize() function in SkTextBlob::RunRecord
101 + StorageSize(run->glyphCount(), run->textSize(), run->positioning(), &safe)); in NextUnchecked()
438 SkTextBlob::RunRecord::StorageSize(run->glyphCount() + count, 0, positioning, &safe) - in mergeRun()
439 SkTextBlob::RunRecord::StorageSize(run->glyphCount() , 0, positioning, &safe); in mergeRun()
477 size_t runSize = SkTextBlob::RunRecord::StorageSize(count, textSize, positioning, &safe); in allocInternal()
602 validateSize += SkTextBlob::RunRecord::StorageSize( in make()
DSkTextBlobPriv.h154 static size_t StorageSize(uint32_t glyphCount, uint32_t textSize,
/external/skqp/src/core/
DSkTextBlob.cpp38 size_t SkTextBlob::RunRecord::StorageSize(uint32_t glyphCount, uint32_t textSize, in StorageSize() function in SkTextBlob::RunRecord
101 + StorageSize(run->glyphCount(), run->textSize(), run->positioning(), &safe)); in NextUnchecked()
438 SkTextBlob::RunRecord::StorageSize(run->glyphCount() + count, 0, positioning, &safe) - in mergeRun()
439 SkTextBlob::RunRecord::StorageSize(run->glyphCount() , 0, positioning, &safe); in mergeRun()
477 size_t runSize = SkTextBlob::RunRecord::StorageSize(count, textSize, positioning, &safe); in allocInternal()
602 validateSize += SkTextBlob::RunRecord::StorageSize( in make()
DSkTextBlobPriv.h154 static size_t StorageSize(uint32_t glyphCount, uint32_t textSize,