Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGRecordLayout.h79 unsigned StorageSize; member
85 : Offset(), Size(), IsSigned(), StorageSize(), StorageAlignment() {} in CGBitFieldInfo()
88 unsigned StorageSize, unsigned StorageAlignment) in CGBitFieldInfo()
90 StorageSize(StorageSize), StorageAlignment(StorageAlignment) {} in CGBitFieldInfo()
101 uint64_t StorageSize,
DCGRecordLayoutBuilder.cpp219 Info.StorageSize = (unsigned)DataLayout.getTypeAllocSizeInBits(StorageType); in setBitFieldInfo()
225 if (Info.Size > Info.StorageSize) in setBitFieldInfo()
226 Info.Size = Info.StorageSize; in setBitFieldInfo()
232 Info.Offset = Info.StorageSize - (Info.Offset + Info.Size); in setBitFieldInfo()
633 uint64_t StorageSize, in MakeInfo() argument
663 Offset = StorageSize - (Offset + Size); in MakeInfo()
666 return CGBitFieldInfo(Offset, Size, IsSigned, StorageSize, StorageAlignment); in MakeInfo()
778 Info.StorageSize && in ComputeRecordLayout()
783 assert(Info.StorageSize <= SL->getSizeInBits() && in ComputeRecordLayout()
786 assert(Info.StorageSize == in ComputeRecordLayout()
[all …]
DCGObjCRuntime.cpp123 CharUnits StorageSize = in EmitValueForIvarAtOffset() local
136 CGF.CGM.getContext().toBits(StorageSize), in EmitValueForIvarAtOffset()
141 Info->StorageSize)); in EmitValueForIvarAtOffset()
DCGExpr.cpp1368 assert(static_cast<unsigned>(Info.Offset + Info.Size) <= Info.StorageSize); in EmitLoadOfBitfieldLValue()
1369 unsigned HighBits = Info.StorageSize - Info.Offset - Info.Size; in EmitLoadOfBitfieldLValue()
1377 if (static_cast<unsigned>(Info.Offset) + Info.Size < Info.StorageSize) in EmitLoadOfBitfieldLValue()
1378 Val = Builder.CreateAnd(Val, llvm::APInt::getLowBitsSet(Info.StorageSize, in EmitLoadOfBitfieldLValue()
1575 if (Info.StorageSize != Info.Size) { in EmitStoreThroughBitfieldLValue()
1576 assert(Info.StorageSize > Info.Size && "Invalid bitfield size."); in EmitStoreThroughBitfieldLValue()
1584 llvm::APInt::getLowBitsSet(Info.StorageSize, in EmitStoreThroughBitfieldLValue()
1593 ~llvm::APInt::getBitsSet(Info.StorageSize, in EmitStoreThroughBitfieldLValue()
1615 assert(Info.Size <= Info.StorageSize); in EmitStoreThroughBitfieldLValue()
1616 unsigned HighBits = Info.StorageSize - Info.Size; in EmitStoreThroughBitfieldLValue()
[all …]
DCGAtomic.cpp95 BFI.StorageSize = AtomicSizeInBits; in AtomicInfo()
/external/openfst/src/include/fst/extensions/ngram/
Dngram-fst.h132 strm.write(data_, StorageSize()); in Write()
185 BitmapIndex::StorageSize(num_states * 2 + 1) + in Storage()
186 BitmapIndex::StorageSize(num_futures + num_states + 1) + in Storage()
187 BitmapIndex::StorageSize(num_states)); in Storage()
229 *data_size = StorageSize(); in GetData()
241 size_t StorageSize() const { in StorageSize() function
422 offset += BitmapIndex::StorageSize(num_states * 2 + 1) * sizeof(b64); in NGramFstImpl()
425 BitmapIndex::StorageSize(num_futures + num_states + 1) * sizeof(b64); in NGramFstImpl()
427 offset += BitmapIndex::StorageSize(num_states) * sizeof(b64); in NGramFstImpl()
530 offset += BitmapIndex::StorageSize(context_bits) * sizeof(bits); in Init()
[all …]
Dbitmap-index.h43 static size_t StorageSize(size_t size) { in StorageSize() function
67 return StorageSize(size_); in ArraySize()
/external/skia/src/core/
DSkTextBlob.cpp144 static size_t StorageSize(int glyphCount, SkTextBlob::GlyphPositioning positioning) { in StorageSize() function in SkTextBlob::RunRecord
158 + StorageSize(run->glyphCount(), run->positioning())); in Next()
492 size_t sizeDelta = SkTextBlob::RunRecord::StorageSize(run->glyphCount() + count, positioning) - in mergeRun()
493 SkTextBlob::RunRecord::StorageSize(run->glyphCount(), positioning); in mergeRun()
523 size_t runSize = SkTextBlob::RunRecord::StorageSize(count, positioning); in allocInternal()
592 validateSize += SkTextBlob::RunRecord::StorageSize(run->fCount, run->fPositioning); in build()