| /llvm-project/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/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/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() 154 DescInfo->SizeInBytes = DescBytes; in operator new() 202 uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes; in operator delete()
|
| /llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64GlobalsTagging.cpp | |
| /llvm-project/flang/include/flang/Runtime/ |
| H A D | descriptor.h | 114 static constexpr RT_API_ATTRS std::size_t SizeInBytes(int lenParameters) { 119 RT_API_ATTRS std::size_t SizeInBytes() const; in SizeInBytes() function 353 static constexpr RT_API_ATTRS std::size_t SizeInBytes( in Addendum() 358 bytes += DescriptorAddendum::SizeInBytes(lengthTypeParameters); 363 RT_API_ATTRS std::size_t SizeInBytes() const; 454 Descriptor::SizeInBytes(maxRank, hasAddendum, maxLengthTypeParameters)}; 468 assert(descriptor().SizeInBytes() <= byteSize);
|
| /llvm-project/flang/unittests/Runtime/ |
| H A D | TemporaryStack.cpp | 42 ASSERT_EQ(lhsAdd->SizeInBytes() == rhsAdd->SizeInBytes(), true); in descriptorAlmostEqual() 43 ASSERT_EQ(memcmp(lhsAdd, rhsAdd, lhsAdd->SizeInBytes()) == 0, true); in descriptorAlmostEqual() 247 ASSERT_EQ(memcmp(input.get(), out.get(), input->SizeInBytes()), 0); in TEST() 261 ASSERT_EQ(memcmp(input.get(), out.get(), input->SizeInBytes()), 0); in TEST()
|
| /llvm-project/flang/runtime/ |
| H A D | descriptor.cpp | 29 std::memcpy(this, &that, that.SizeInBytes()); in operator =() 110 std::size_t bytes{SizeInBytes(rank, addendum, derivedTypeLenParameters)}; in Create() 142 RT_API_ATTRS std::size_t Descriptor::SizeInBytes() const { in SizeInBytes() 145 (addendum ? addendum->SizeInBytes() : 0); in Elements() 333 RT_API_ATTRS std::size_t DescriptorAddendum::SizeInBytes() const { in Dump() 334 return SizeInBytes(LenParameters()); 139 RT_API_ATTRS std::size_t Descriptor::SizeInBytes() const { SizeInBytes() function in Fortran::runtime::Descriptor 317 RT_API_ATTRS std::size_t DescriptorAddendum::SizeInBytes() const { SizeInBytes() function in Fortran::runtime::DescriptorAddendum
|
| H A D | assign.cpp | 147 const char *xDescLast{xDesc + x.SizeInBytes() - 1}; 149 const char *yDescLast{yDesc + y.SizeInBytes() - 1}; 266 std::memcpy(deferDeallocation, &to, to.SizeInBytes()); in Assign() 271 auto descBytes{from.SizeInBytes()}; in Assign() 412 std::size_t componentByteSize{comp.SizeInBytes(to)}; in Assign() 419 std::size_t componentByteSize{comp.SizeInBytes(to)}; in Assign()
|
| H A D | internal-unit.cpp | 38 terminator, that.SizeInBytes() <= d.SizeInBytes(maxRank, true, 0)); in InternalDescriptorUnit() 40 that.SizeInBytes() <= MaxDescriptorSizeInBytes(maxRank, true, 0)); in InternalDescriptorUnit()
|
| H A D | type-info.cpp | 82 RT_API_ATTRS std::size_t Component::SizeInBytes( in SizeInBytes() 88 return Descriptor::SizeInBytes( in SizeInBytes() 91 return Descriptor::SizeInBytes(rank_); in SizeInBytes() 81 RT_API_ATTRS std::size_t Component::SizeInBytes( SizeInBytes() function in Fortran::runtime::typeInfo::Component
|
| H A D | file.h | 114 RT_API_ATTRS std::int64_t SizeInBytes(const char *path);
|
| H A D | file.cpp | 448 std::int64_t SizeInBytes(const char *path) { in SizeInBytes() function 475 RT_API_ATTRS std::int64_t SizeInBytes(const char *path) { in SizeInBytes() function
|
| H A D | temporary-stack.cpp | 110 const std::size_t bytes = source.SizeInBytes(); in cloneDescriptor()
|
| /llvm-project/compiler-rt/lib/profile/ |
| H A D | InstrProfiling.c | 44 __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes) { in __llvm_profile_get_num_padding_bytes() argument 45 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in __llvm_profile_get_num_padding_bytes()
|
| H A D | InstrProfiling.h | 98 uint8_t __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes);
|
| /llvm-project/llvm/include/llvm/MC/ |
| H A D | MCExpr.h | 147 // Subclass data stores SizeInBytes in bits 0..7 and PrintInHex in bit 8. 152 static unsigned encodeSubclassData(bool PrintInHex, unsigned SizeInBytes) { 153 assert(SizeInBytes <= sizeof(int64_t) && "Excessive size"); in MCConstantExpr() argument 154 return SizeInBytes | (PrintInHex ? PrintInHexBit : 0); in MCConstantExpr() 157 MCConstantExpr(int64_t Value, bool PrintInHex, unsigned SizeInBytes) 159 encodeSubclassData(PrintInHex, SizeInBytes)), Value(Value) {} 167 unsigned SizeInBytes = 0); 148 encodeSubclassData(bool PrintInHex,unsigned SizeInBytes) encodeSubclassData() argument
|
| /llvm-project/llvm/lib/Target/AVR/AsmParser/ |
| H A D | AVRAsmParser.cpp | 90 ParseStatus parseLiteralValues(unsigned SizeInBytes, SMLoc L); 690 ParseStatus AVRAsmParser::parseLiteralValues(unsigned SizeInBytes, SMLoc L) { in parseLiteralValues() 700 AVRStreamer.emitValueForModiferKind(Symbol, SizeInBytes, L, in parseLiteralValues() 718 AVRStreamer.emitValueForModiferKind(Symbol, SizeInBytes, L, ModifierKind); in parseLiteralValues() 729 Parser.getStreamer().emitValue(Value, SizeInBytes, L); 685 parseLiteralValues(unsigned SizeInBytes,SMLoc L) parseLiteralValues() argument
|
| /llvm-project/llvm/include/llvm/Support/ |
| H A D | Alignment.h | 144 /// Checks that SizeInBytes is a multiple of the alignment. 145 inline bool isAligned(Align Lhs, uint64_t SizeInBytes) { in isAligned() argument 146 return SizeInBytes % Lhs.value() == 0; in isAligned()
|
| /llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopIdiomRecognize.cpp | 783 uint64_t SizeInBytes = cast<ConstantInt>(MCI->getLength())->getZExtValue(); in processLoopMemCpy() 784 if ((SizeInBytes >> 32) != 0) in processLoopMemCpy() 802 if (SizeInBytes != StoreStrideValue && SizeInBytes != -StoreStrideValue) { in processLoopMemCpy() 820 Dest, Source, SE->getConstant(Dest->getType(), SizeInBytes), in processLoopMemSet() 862 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in processLoopMemSet() 868 if (SizeInBytes != Stride && SizeInBytes != -Stride) in processLoopMemSet() 871 IsNegStride = SizeInBytes == -Stride; in processLoopMemSet() 777 uint64_t SizeInBytes = cast<ConstantInt>(MCI->getLength())->getZExtValue(); processLoopMemCpy() local 856 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue(); processLoopMemSet() local
|
| /llvm-project/llvm/lib/MC/ |
| H A D | MCExpr.cpp | 47 auto SizeInBytes = cast<MCConstantExpr>(*this).getSizeInBytes(); in print() local 51 switch (SizeInBytes) { in print() 224 unsigned SizeInBytes) { in getVariantKindName() 225 return new (Ctx) MCConstantExpr(Value, PrintInHex, SizeInBytes); in getVariantKindName() 195 create(int64_t Value,MCContext & Ctx,bool PrintInHex,unsigned SizeInBytes) create() argument
|
| /llvm-project/llvm/include/llvm/Bitstream/ |
| H A D | BitstreamReader.h | 309 size_t SizeInBytes() const { return BitcodeBytes.size(); } in SizeInBytes() function 399 using SimpleBitstreamCursor::SizeInBytes;
|
| /llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_thread_list.h | 151 res += HeapAllocationsRingBuffer::SizeInBytes(sz); in MemoryUsedPerThread()
|
| H A D | hwasan_thread.cpp | 66 sizeof(Thread), heap_allocations_->SizeInBytes(), in Init()
|
| /llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | AddressSanitizer.cpp | 952 uint64_t getRedzoneSizeForGlobal(uint64_t SizeInBytes) const; 2553 const uint64_t SizeInBytes = DL.getTypeAllocSize(Ty); in instrumentGlobals() 2554 const uint64_t RightRedzoneSize = getRedzoneSizeForGlobal(SizeInBytes); in instrumentGlobals() 2634 ConstantInt::get(IntptrTy, SizeInBytes), in instrumentGlobals() 2635 ConstantInt::get(IntptrTy, SizeInBytes + RightRedzoneSize), in instrumentGlobals() 2687 ModuleAddressSanitizer::getRedzoneSizeForGlobal(uint64_t SizeInBytes) const { in instrumentGlobals() 2692 if (SizeInBytes <= MinRZ / 2) { 2694 // at least 32 bytes, optimize when SizeInBytes is less than or equal to in getRedzoneSizeForGlobal() 2696 RZ = MinRZ - SizeInBytes; in getRedzoneSizeForGlobal() 2698 // Calculate RZ, where MinRZ <= RZ <= MaxRZ, and RZ ~ 1/4 * SizeInBytes in getRedzoneSizeForGlobal() 2556 const uint64_t SizeInBytes = DL.getTypeAllocSize(Ty); instrumentGlobals() local [all...] |