Home
last modified time | relevance | path

Searched refs:SizeInBytes (Results 1 – 25 of 43) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCELFStreamer.cpp24 const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc, in emitValueForModiferKind() argument
29 if (SizeInBytes == SIZE_LONG) in emitValueForModiferKind()
31 else if (SizeInBytes == SIZE_WORD) in emitValueForModiferKind()
40 SizeInBytes, Loc); in emitValueForModiferKind()
H A DAVRMCELFStreamer.h45 const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc = SMLoc(),
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_ring_buffer.h26 void *Ptr = MmapOrDie(SizeInBytes(Size), "RingBuffer"); in New()
28 uptr End = reinterpret_cast<uptr>(Ptr) + SizeInBytes(Size); in New()
33 UnmapOrDie(this, SizeInBytes(size())); in Delete()
41 static uptr SizeInBytes(uptr Size) { in SizeInBytes() function
45 uptr SizeInBytes() { return SizeInBytes(size()); } in SizeInBytes() function
/llvm-project-15.0.7/llvm/lib/IR/
H A DUser.cpp96 intptr_t SizeInBytes; member
109 assert(DI->SizeInBytes != 0 && "Should not have had a descriptor otherwise!"); in getDescriptor()
112 reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes, DI->SizeInBytes); in getDescriptor()
147 DescInfo->SizeInBytes = DescBytes; in allocateFixedOperandUser()
196 uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes; in operator delete()
/llvm-project-15.0.7/flang/include/flang/Runtime/
H A Ddescriptor.h109 static constexpr std::size_t SizeInBytes(int lenParameters) { in SizeInBytes() function
114 std::size_t SizeInBytes() const;
323 static constexpr std::size_t SizeInBytes(
328 bytes += DescriptorAddendum::SizeInBytes(lengthTypeParameters);
333 std::size_t SizeInBytes() const;
398 Descriptor::SizeInBytes(maxRank, hasAddendum, maxLengthTypeParameters)}; in alignas()
407 assert(descriptor().SizeInBytes() <= byteSize); in alignas()
/llvm-project-15.0.7/flang/runtime/
H A Ddescriptor.cpp24 std::memcpy(this, &that, that.SizeInBytes()); in operator =()
87 std::size_t bytes{SizeInBytes(rank, true, derivedTypeLenParameters)}; in Create()
115 std::size_t Descriptor::SizeInBytes() const { in SizeInBytes() function in Fortran::runtime::Descriptor
118 (addendum ? addendum->SizeInBytes() : 0); in SizeInBytes()
254 std::size_t DescriptorAddendum::SizeInBytes() const { in SizeInBytes() function in Fortran::runtime::DescriptorAddendum
255 return SizeInBytes(LenParameters()); in SizeInBytes()
H A Dinternal-unit.cpp33 terminator, that.SizeInBytes() <= d.SizeInBytes(maxRank, true, 0)); in InternalDescriptorUnit()
H A Dtype-info.cpp76 std::size_t Component::SizeInBytes(const Descriptor &instance) const { in SizeInBytes() function in Fortran::runtime::typeInfo::Component
81 return Descriptor::SizeInBytes( in SizeInBytes()
84 return Descriptor::SizeInBytes(rank_); in SizeInBytes()
H A Dfile.h112 std::int64_t SizeInBytes(const char *path);
H A Dassign.cpp202 std::size_t componentByteSize{comp.SizeInBytes(to)}; in Assign()
212 std::size_t componentByteSize{comp.SizeInBytes(to)}; in Assign()
H A Dtype-info.h83 std::size_t SizeInBytes(const Descriptor &) const;
/llvm-project-15.0.7/compiler-rt/lib/profile/
H A DInstrProfiling.c36 __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes) { in __llvm_profile_get_num_padding_bytes() argument
37 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in __llvm_profile_get_num_padding_bytes()
H A DInstrProfiling.h70 uint8_t __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes);
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCExpr.h152 static unsigned encodeSubclassData(bool PrintInHex, unsigned SizeInBytes) { in encodeSubclassData() argument
153 assert(SizeInBytes <= sizeof(int64_t) && "Excessive size"); in encodeSubclassData()
154 return SizeInBytes | (PrintInHex ? PrintInHexBit : 0); in encodeSubclassData()
157 MCConstantExpr(int64_t Value, bool PrintInHex, unsigned SizeInBytes) in MCConstantExpr() argument
159 encodeSubclassData(PrintInHex, SizeInBytes)), Value(Value) {} in MCConstantExpr()
167 unsigned SizeInBytes = 0);
/llvm-project-15.0.7/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp91 bool parseLiteralValues(unsigned SizeInBytes, SMLoc L);
679 bool AVRAsmParser::parseLiteralValues(unsigned SizeInBytes, SMLoc L) { in parseLiteralValues() argument
689 AVRStreamer.emitValueForModiferKind(Symbol, SizeInBytes, L, in parseLiteralValues()
707 AVRStreamer.emitValueForModiferKind(Symbol, SizeInBytes, L, ModifierKind); in parseLiteralValues()
715 Parser.getStreamer().emitValue(Value, SizeInBytes, L); in parseLiteralValues()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DAlignment.h146 inline bool isAligned(Align Lhs, uint64_t SizeInBytes) { in isAligned() argument
147 return SizeInBytes % Lhs.value() == 0; in isAligned()
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_thread.cpp82 sizeof(Thread), heap_allocations_->SizeInBytes(), in InitStackRingBuffer()
H A Dhwasan_thread_list.h147 res += HeapAllocationsRingBuffer::SizeInBytes(sz); in MemoryUsedPerThread()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp666 uint64_t SizeInBytes = in getAllocaSizeInBytes() local
668 return SizeInBytes * ArraySize; in getAllocaSizeInBytes()
834 uint64_t getRedzoneSizeForGlobal(uint64_t SizeInBytes) const;
2258 const uint64_t SizeInBytes = DL.getTypeAllocSize(Ty); in InstrumentGlobals() local
2339 ConstantInt::get(IntptrTy, SizeInBytes), in InstrumentGlobals()
2340 ConstantInt::get(IntptrTy, SizeInBytes + RightRedzoneSize), in InstrumentGlobals()
2394 if (SizeInBytes <= MinRZ / 2) { in getRedzoneSizeForGlobal()
2398 RZ = MinRZ - SizeInBytes; in getRedzoneSizeForGlobal()
2404 if (SizeInBytes % MinRZ) in getRedzoneSizeForGlobal()
2405 RZ += MinRZ - (SizeInBytes % MinRZ); in getRedzoneSizeForGlobal()
[all …]
H A DHWAddressSanitizer.cpp1512 uint64_t SizeInBytes = in instrumentGlobal() local
1514 uint64_t NewSize = alignTo(SizeInBytes, Mapping.getObjectAlignment()); in instrumentGlobal()
1515 if (SizeInBytes != NewSize) { in instrumentGlobal()
1518 std::vector<uint8_t> Init(NewSize - SizeInBytes, 0); in instrumentGlobal()
1551 for (uint64_t DescriptorPos = 0; DescriptorPos < SizeInBytes; in instrumentGlobal()
1563 uint32_t Size = std::min(SizeInBytes - DescriptorPos, MaxDescriptorSize); in instrumentGlobal()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCExpr.cpp48 auto SizeInBytes = cast<MCConstantExpr>(*this).getSizeInBytes(); in print() local
52 switch (SizeInBytes) { in print()
196 unsigned SizeInBytes) { in create() argument
197 return new (Ctx) MCConstantExpr(Value, PrintInHex, SizeInBytes); in create()
/llvm-project-15.0.7/llvm/include/llvm/Bitstream/
H A DBitstreamReader.h310 size_t SizeInBytes() const { return BitcodeBytes.size(); } in SizeInBytes() function
400 using SimpleBitstreamCursor::SizeInBytes;
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp852 uint64_t SizeInBytes = cast<ConstantInt>(MCI->getLength())->getZExtValue(); in processLoopMemCpy() local
853 if ((SizeInBytes >> 32) != 0) in processLoopMemCpy()
871 if (SizeInBytes != StoreStrideValue && SizeInBytes != -StoreStrideValue) { in processLoopMemCpy()
889 Dest, Source, SE->getConstant(Dest->getType(), SizeInBytes), in processLoopMemCpy()
931 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in processLoopMemSet() local
937 if (SizeInBytes != Stride && SizeInBytes != -Stride) in processLoopMemSet()
940 IsNegStride = SizeInBytes == -Stride; in processLoopMemSet()
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h352 inline uint8_t getNumPaddingBytes(uint64_t SizeInBytes) { in getNumPaddingBytes() argument
353 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in getNumPaddingBytes()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1892 translatePtrToMemberRep(unsigned SizeInBytes, bool IsPMF, unsigned Flags) { in translatePtrToMemberRep() argument
1899 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown in translatePtrToMemberRep()
1911 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown in translatePtrToMemberRep()
1937 uint8_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerTypeMemberPointer() local
1939 ClassTI, translatePtrToMemberRep(SizeInBytes, IsPMF, Ty->getFlags())); in lowerTypeMemberPointer()
1940 PointerRecord PR(PointeeTI, PK, PM, PO, SizeInBytes, MPI); in lowerTypeMemberPointer()
2431 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerCompleteTypeClass() local
2434 SizeInBytes, FullName, Ty->getIdentifier()); in lowerCompleteTypeClass()
2470 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerCompleteTypeUnion() local
2473 UnionRecord UR(FieldCount, CO, FieldTI, SizeInBytes, FullName, in lowerCompleteTypeUnion()

12