| /llvm-project-15.0.7/llvm/lib/Target/AVR/MCTargetDesc/ |
| H A D | AVRMCELFStreamer.cpp | 24 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 D | AVRMCELFStreamer.h | 45 const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc = SMLoc(),
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_ring_buffer.h | 26 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 D | User.cpp | 96 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 D | descriptor.h | 109 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 D | descriptor.cpp | 24 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 D | internal-unit.cpp | 33 terminator, that.SizeInBytes() <= d.SizeInBytes(maxRank, true, 0)); in InternalDescriptorUnit()
|
| H A D | type-info.cpp | 76 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 D | file.h | 112 std::int64_t SizeInBytes(const char *path);
|
| H A D | assign.cpp | 202 std::size_t componentByteSize{comp.SizeInBytes(to)}; in Assign() 212 std::size_t componentByteSize{comp.SizeInBytes(to)}; in Assign()
|
| H A D | type-info.h | 83 std::size_t SizeInBytes(const Descriptor &) const;
|
| /llvm-project-15.0.7/compiler-rt/lib/profile/ |
| H A D | InstrProfiling.c | 36 __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 D | InstrProfiling.h | 70 uint8_t __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes);
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCExpr.h | 152 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 D | AVRAsmParser.cpp | 91 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 D | Alignment.h | 146 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 D | hwasan_thread.cpp | 82 sizeof(Thread), heap_allocations_->SizeInBytes(), in InitStackRingBuffer()
|
| H A D | hwasan_thread_list.h | 147 res += HeapAllocationsRingBuffer::SizeInBytes(sz); in MemoryUsedPerThread()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | AddressSanitizer.cpp | 666 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 D | HWAddressSanitizer.cpp | 1512 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 D | MCExpr.cpp | 48 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 D | BitstreamReader.h | 310 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 D | LoopIdiomRecognize.cpp | 852 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 D | InstrProfReader.h | 352 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 D | CodeViewDebug.cpp | 1892 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()
|