Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/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(),
/freebsd-14.2/contrib/llvm-project/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
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64GlobalsTagging.cpp94 uint64_t SizeInBytes = in tagGlobalDefinition() local
97 uint64_t NewSize = alignTo(SizeInBytes, kTagGranuleSize); in tagGlobalDefinition()
98 if (SizeInBytes != NewSize) { in tagGlobalDefinition()
100 llvm::SmallVector<uint8_t> Init(NewSize - SizeInBytes, 0); in tagGlobalDefinition()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfiling.c44 __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 DInstrProfiling.h87 uint8_t __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes);
/freebsd-14.2/contrib/llvm-project/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);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp92 ParseStatus parseLiteralValues(unsigned SizeInBytes, SMLoc L);
685 ParseStatus AVRAsmParser::parseLiteralValues(unsigned SizeInBytes, SMLoc L) { in parseLiteralValues() argument
695 AVRStreamer.emitValueForModiferKind(Symbol, SizeInBytes, L, in parseLiteralValues()
713 AVRStreamer.emitValueForModiferKind(Symbol, SizeInBytes, L, ModifierKind); in parseLiteralValues()
724 Parser.getStreamer().emitValue(Value, SizeInBytes, L); in parseLiteralValues()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DAlignment.h145 inline bool isAligned(Align Lhs, uint64_t SizeInBytes) { in isAligned() argument
146 return SizeInBytes % Lhs.value() == 0; in isAligned()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamReader.h309 size_t SizeInBytes() const { return BitcodeBytes.size(); } in SizeInBytes() function
399 using SimpleBitstreamCursor::SizeInBytes;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp779 uint64_t SizeInBytes = cast<ConstantInt>(MCI->getLength())->getZExtValue(); in processLoopMemCpy() local
780 if ((SizeInBytes >> 32) != 0) in processLoopMemCpy()
798 if (SizeInBytes != StoreStrideValue && SizeInBytes != -StoreStrideValue) { in processLoopMemCpy()
816 Dest, Source, SE->getConstant(Dest->getType(), SizeInBytes), in processLoopMemCpy()
858 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in processLoopMemSet() local
864 if (SizeInBytes != Stride && SizeInBytes != -Stride) in processLoopMemSet()
867 IsNegStride = SizeInBytes == -Stride; in processLoopMemSet()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_thread.cpp66 sizeof(Thread), heap_allocations_->SizeInBytes(), in Init()
H A Dhwasan_thread_list.h149 res += HeapAllocationsRingBuffer::SizeInBytes(sz); in MemoryUsedPerThread()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp873 uint64_t getRedzoneSizeForGlobal(uint64_t SizeInBytes) const;
2464 const uint64_t SizeInBytes = DL.getTypeAllocSize(Ty); in instrumentGlobals() local
2465 const uint64_t RightRedzoneSize = getRedzoneSizeForGlobal(SizeInBytes); in instrumentGlobals()
2545 ConstantInt::get(IntptrTy, SizeInBytes), in instrumentGlobals()
2546 ConstantInt::get(IntptrTy, SizeInBytes + RightRedzoneSize), in instrumentGlobals()
2607 if (SizeInBytes <= MinRZ / 2) { in getRedzoneSizeForGlobal()
2611 RZ = MinRZ - SizeInBytes; in getRedzoneSizeForGlobal()
2614 RZ = std::clamp((SizeInBytes / MinRZ / 4) * MinRZ, MinRZ, kMaxRZ); in getRedzoneSizeForGlobal()
2617 if (SizeInBytes % MinRZ) in getRedzoneSizeForGlobal()
2618 RZ += MinRZ - (SizeInBytes % MinRZ); in getRedzoneSizeForGlobal()
[all …]
H A DHWAddressSanitizer.cpp1585 uint64_t SizeInBytes = in instrumentGlobal() local
1587 uint64_t NewSize = alignTo(SizeInBytes, Mapping.getObjectAlignment()); in instrumentGlobal()
1588 if (SizeInBytes != NewSize) { in instrumentGlobal()
1591 std::vector<uint8_t> Init(NewSize - SizeInBytes, 0); in instrumentGlobal()
1624 for (uint64_t DescriptorPos = 0; DescriptorPos < SizeInBytes; in instrumentGlobal()
1636 uint32_t Size = std::min(SizeInBytes - DescriptorPos, MaxDescriptorSize); in instrumentGlobal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1944 translatePtrToMemberRep(unsigned SizeInBytes, bool IsPMF, unsigned Flags) { in translatePtrToMemberRep() argument
1951 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown in translatePtrToMemberRep()
1963 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown in translatePtrToMemberRep()
1989 uint8_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerTypeMemberPointer() local
1991 ClassTI, translatePtrToMemberRep(SizeInBytes, IsPMF, Ty->getFlags())); in lowerTypeMemberPointer()
1992 PointerRecord PR(PointeeTI, PK, PM, PO, SizeInBytes, MPI); in lowerTypeMemberPointer()
2483 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerCompleteTypeClass() local
2486 SizeInBytes, FullName, Ty->getIdentifier()); in lowerCompleteTypeClass()
2522 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerCompleteTypeUnion() local
2525 UnionRecord UR(FieldCount, CO, FieldTI, SizeInBytes, FullName, in lowerCompleteTypeUnion()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h425 inline uint8_t getNumPaddingBytes(uint64_t SizeInBytes) { in getNumPaddingBytes() argument
426 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in getNumPaddingBytes()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp231 unsigned SizeInBytes = SizeInBits / CHAR_BIT; in evaluateBitmap() local
233 assert(ID + SizeInBytes <= BitmapBytes.size() && "BitmapBytes overrun"); in evaluateBitmap()
234 ArrayRef<uint8_t> Bytes(&BitmapBytes[ID], SizeInBytes); in evaluateBitmap()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp419 unsigned SizeInBytes) const;
426 MachineOperand &Offset, unsigned SizeInBytes,
430 unsigned SizeInBytes) const;
437 unsigned SizeInBytes) const;
6941 unsigned SizeInBytes, bool WantsExt) const { in selectExtendedSHL() argument
6963 int64_t LegalShiftVal = Log2_32(SizeInBytes); in selectExtendedSHL()
7054 MachineOperand &Root, unsigned SizeInBytes) const { in selectAddrModeShiftedExtendXReg()
7081 OffsetInst->getOperand(0), SizeInBytes, in selectAddrModeShiftedExtendXReg()
7153 unsigned Scale = Log2_32(SizeInBytes); in selectAddrModeXRO()
7158 if (ImmOff % SizeInBytes == 0 && ImmOff >= 0 && in selectAddrModeXRO()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DAssignmentTrackingAnalysis.cpp2514 uint64_t SizeInBytes = divideCeil(SizeInBits, 8); in removeRedundantDbgLocsUsingBackwardScan() local
2519 if (SizeInBytes == 0 || SizeInBytes > MaxSizeBytes) { in removeRedundantDbgLocsUsingBackwardScan()
2532 VariableDefinedBytes.try_emplace(Aggr, BitVector(SizeInBytes)); in removeRedundantDbgLocsUsingBackwardScan()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerCorpus.h176 size_t SizeInBytes() const { in SizeInBytes() function
H A DFuzzerLoop.cpp337 if (size_t N = Corpus.SizeInBytes()) { in PrintStats()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp366 llvm::Value *SizeInBytes = in visitArray() local
369 CGF.Int8Ty, DstAddr.getPointer(), SizeInBytes); in visitArray()

12