Home
last modified time | relevance | path

Searched refs:StorageSize (Results 1 – 19 of 19) 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/llvm-project/clang/lib/CodeGen/
DCGRecordLayout.h78 unsigned StorageSize; member
96 : Offset(), Size(), IsSigned(), StorageSize(), StorageOffset(), in CGBitFieldInfo()
100 unsigned StorageSize, CharUnits StorageOffset) in CGBitFieldInfo()
102 StorageSize(StorageSize), StorageOffset(StorageOffset) {} in CGBitFieldInfo()
113 uint64_t StorageSize,
DCGRecordLayoutBuilder.cpp239 Info.StorageSize = (unsigned)DataLayout.getTypeAllocSizeInBits(StorageType); in setBitFieldInfo()
241 if (Info.Size > Info.StorageSize) in setBitFieldInfo()
242 Info.Size = Info.StorageSize; in setBitFieldInfo()
248 Info.Offset = Info.StorageSize - (Info.Offset + Info.Size); in setBitFieldInfo()
558 isBE() ? Info.StorageSize - (Info.Offset + Info.Size) : Info.Offset; in computeVolatileBitfields()
564 const unsigned StorageSize = ResLTy->getPrimitiveSizeInBits(); in computeVolatileBitfields() local
567 if (Info.StorageSize == StorageSize && (OldOffset % StorageSize == 0)) in computeVolatileBitfields()
571 unsigned Offset = AbsoluteOffset & (StorageSize - 1); in computeVolatileBitfields()
576 if (Offset + Info.Size > StorageSize) in computeVolatileBitfields()
581 Offset = StorageSize - (Offset + Info.Size); in computeVolatileBitfields()
[all …]
DCGObjCRuntime.cpp94 CharUnits StorageSize = CGF.CGM.getContext().toCharUnitsFromBits( in EmitValueForIvarAtOffset() local
106 CGF.CGM.getContext().toBits(StorageSize), in EmitValueForIvarAtOffset()
112 Info->StorageSize)); in EmitValueForIvarAtOffset()
DCGExpr.cpp1967 const unsigned StorageSize = in EmitLoadOfBitfieldLValue() local
1968 UseVolatile ? Info.VolatileStorageSize : Info.StorageSize; in EmitLoadOfBitfieldLValue()
1970 assert(static_cast<unsigned>(Offset + Info.Size) <= StorageSize); in EmitLoadOfBitfieldLValue()
1971 unsigned HighBits = StorageSize - Offset - Info.Size; in EmitLoadOfBitfieldLValue()
1979 if (static_cast<unsigned>(Offset) + Info.Size < StorageSize) in EmitLoadOfBitfieldLValue()
1981 Val, llvm::APInt::getLowBitsSet(StorageSize, Info.Size), "bf.clear"); in EmitLoadOfBitfieldLValue()
2186 const unsigned StorageSize = in EmitStoreThroughBitfieldLValue() local
2187 UseVolatile ? Info.VolatileStorageSize : Info.StorageSize; in EmitStoreThroughBitfieldLValue()
2191 if (StorageSize != Info.Size) { in EmitStoreThroughBitfieldLValue()
2192 assert(StorageSize > Info.Size && "Invalid bitfield size."); in EmitStoreThroughBitfieldLValue()
[all …]
DCGCall.cpp3046 int StorageSize, int BitOffset, int BitWidth, in setBitRange() argument
3049 SmallVector<uint64_t, 8> TmpBits(StorageSize); in setBitRange()
3086 BFI.StorageSize / CharWidth, BFI.Offset, in setUsedBits()
DCGAtomic.cpp95 BFI.StorageSize = AtomicSizeInBits; in AtomicInfo()
DCGDebugInfo.cpp1338 Offset = BitFieldInfo.StorageSize - BitFieldInfo.Size - Offset; in createBitFieldType()
/external/llvm-project/libc/benchmarks/
DLibcMemoryBenchmark.h114 template <typename Context, size_t StorageSize = 8 * 1024>
117 ByteConstrainedArray<ParameterType, StorageSize> Parameters;
/external/llvm-project/clang-tools-extra/clangd/index/
DFileIndex.cpp363 size_t StorageSize = in buildIndex() local
366 StorageSize += Slab->bytes(); in buildIndex()
368 StorageSize += RefSlab->bytes(); in buildIndex()
378 StorageSize); in buildIndex()
385 StorageSize); in buildIndex()
/external/skia/src/core/
DSkTextBlob.cpp39 size_t SkTextBlob::RunRecord::StorageSize(uint32_t glyphCount, uint32_t textSize, in StorageSize() function in SkTextBlob::RunRecord
102 + StorageSize(run->glyphCount(), run->textSize(), run->positioning(), &safe)); in NextUnchecked()
450 SkTextBlob::RunRecord::StorageSize(run->glyphCount() + count, 0, positioning, &safe) - in mergeRun()
451 SkTextBlob::RunRecord::StorageSize(run->glyphCount() , 0, positioning, &safe); in mergeRun()
489 size_t runSize = SkTextBlob::RunRecord::StorageSize(count, textSize, positioning, &safe); in allocInternal()
630 validateSize += SkTextBlob::RunRecord::StorageSize( in make()
DSkTextBlobPriv.h136 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,
/external/ruy/ruy/
Dtest.h1995 int StorageSize(const Matrix<Scalar>& matrix) {
2046 const int each_matmul_set_size = StorageSize(lhs.matrix) +
2047 StorageSize(rhs.matrix) +
2048 StorageSize(result->storage_matrix.matrix);
2164 StorageSize(result->storage_matrix.matrix));