Home
last modified time | relevance | path

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

12

/freebsd/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/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/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/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64GlobalsTagging.cpp94 uint64_t SizeInBytes = in tagGlobalDefinition()
97 uint64_t NewSize = alignTo(SizeInBytes, kTagGranuleSize); in tagGlobalDefinition()
98 if (SizeInBytes != NewSize) {
100 llvm::SmallVector<uint8_t> Init(NewSize - SizeInBytes, 0);
70 uint64_t SizeInBytes = tagGlobalDefinition() local
H A DAArch64Arm64ECCallLowering.cpp313 auto bitcast = [this](Type *Arm64Ty, uint64_t SizeInBytes) { in canonicalizeThunkType() argument
315 llvm::Type::getIntNTy(M->getContext(), SizeInBytes * 8), in canonicalizeThunkType()
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfiling.c40 /* Return the number of bytes needed to add to SizeInBytes to make it
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 DInstrProfiling.h92 uint8_t __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes);
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCExpr.h148 static unsigned encodeSubclassData(bool PrintInHex, unsigned SizeInBytes) { in encodeSubclassData() argument
149 assert(SizeInBytes <= sizeof(int64_t) && "Excessive size"); in encodeSubclassData()
150 return SizeInBytes | (PrintInHex ? PrintInHexBit : 0); in encodeSubclassData()
153 MCConstantExpr(int64_t Value, bool PrintInHex, unsigned SizeInBytes) in MCConstantExpr() argument
155 encodeSubclassData(PrintInHex, SizeInBytes)), Value(Value) {} in MCConstantExpr()
163 unsigned SizeInBytes = 0);
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp92 ParseStatus parseLiteralValues(unsigned SizeInBytes, SMLoc L);
692 ParseStatus AVRAsmParser::parseLiteralValues(unsigned SizeInBytes, SMLoc L) { in parseLiteralValues() argument
702 AVRStreamer.emitValueForModiferKind(Symbol, SizeInBytes, L, in parseLiteralValues()
720 AVRStreamer.emitValueForModiferKind(Symbol, SizeInBytes, L, ModifierKind); in parseLiteralValues()
731 Parser.getStreamer().emitValue(Value, SizeInBytes, L); in parseLiteralValues()
/freebsd/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/contrib/llvm-project/llvm/lib/MC/
H A DMCExpr.cpp47 auto SizeInBytes = cast<MCConstantExpr>(*this).getSizeInBytes(); in print() local
51 switch (SizeInBytes) { in print()
195 unsigned SizeInBytes) { in create() argument
196 return new (Ctx) MCConstantExpr(Value, PrintInHex, SizeInBytes); in create()
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamReader.h309 size_t SizeInBytes() const { return BitcodeBytes.size(); }
399 using SimpleBitstreamCursor::SizeInBytes;
310 size_t SizeInBytes() const { return BitcodeBytes.size(); } SizeInBytes() function
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp784 uint64_t SizeInBytes = cast<ConstantInt>(MCI->getLength())->getZExtValue(); in processLoopMemCpy() local
785 if ((SizeInBytes >> 32) != 0) in processLoopMemCpy()
803 if (SizeInBytes != StoreStrideValue && SizeInBytes != -StoreStrideValue) { in processLoopMemCpy()
821 Dest, Source, SE->getConstant(Dest->getType(), SizeInBytes), in processLoopMemCpy()
863 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in processLoopMemSet() local
869 if (SizeInBytes != Stride && SizeInBytes != -Stride) in processLoopMemSet()
872 IsNegStride = SizeInBytes == -Stride; in processLoopMemSet()
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_thread.cpp66 sizeof(Thread), heap_allocations_->SizeInBytes(), in Init()
H A Dhwasan_thread_list.h151 res += HeapAllocationsRingBuffer::SizeInBytes(sz); in MemoryUsedPerThread()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp945 uint64_t getRedzoneSizeForGlobal(uint64_t SizeInBytes) const;
2556 const uint64_t SizeInBytes = DL.getTypeAllocSize(Ty); in instrumentGlobals() local
2557 const uint64_t RightRedzoneSize = getRedzoneSizeForGlobal(SizeInBytes); in instrumentGlobals()
2637 ConstantInt::get(IntptrTy, SizeInBytes), in instrumentGlobals()
2638 ConstantInt::get(IntptrTy, SizeInBytes + RightRedzoneSize), in instrumentGlobals()
2694 ModuleAddressSanitizer::getRedzoneSizeForGlobal(uint64_t SizeInBytes) const { in getRedzoneSizeForGlobal()
2699 if (SizeInBytes <= MinRZ / 2) { in getRedzoneSizeForGlobal()
2703 RZ = MinRZ - SizeInBytes; in getRedzoneSizeForGlobal()
2706 RZ = std::clamp((SizeInBytes / MinRZ / 4) * MinRZ, MinRZ, kMaxRZ); in getRedzoneSizeForGlobal()
2709 if (SizeInBytes % MinRZ) in getRedzoneSizeForGlobal()
[all …]
H A DHWAddressSanitizer.cpp1674 uint64_t SizeInBytes = in instrumentGlobal() local
1676 uint64_t NewSize = alignTo(SizeInBytes, Mapping.getObjectAlignment()); in instrumentGlobal()
1677 if (SizeInBytes != NewSize) { in instrumentGlobal()
1680 std::vector<uint8_t> Init(NewSize - SizeInBytes, 0); in instrumentGlobal()
1713 for (uint64_t DescriptorPos = 0; DescriptorPos < SizeInBytes; in instrumentGlobal()
1725 uint32_t Size = std::min(SizeInBytes - DescriptorPos, MaxDescriptorSize); in instrumentGlobal()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1944 translatePtrToMemberRep(unsigned SizeInBytes, bool IsPMF, unsigned Flags) { in translatePtrToMemberRep()
1945 // SizeInBytes being zero generally implies that the member pointer type was in translatePtrToMemberRep()
1951 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown in translatePtrToMemberRep()
1963 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown in lowerTypeMemberPointer()
1989 uint8_t SizeInBytes = Ty->getSizeInBits() / 8; in dwarfCCToCodeView()
1991 ClassTI, translatePtrToMemberRep(SizeInBytes, IsPMF, Ty->getFlags()));
1992 PointerRecord PR(PointeeTI, PK, PM, PO, SizeInBytes, MPI); in lowerTypeModifier()
2483 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerTypeUnion()
2486 SizeInBytes, FullName, Ty->getIdentifier()); in lowerTypeUnion()
2522 uint64_t SizeInBytes in lowerRecordFieldList()
1926 translatePtrToMemberRep(unsigned SizeInBytes,bool IsPMF,unsigned Flags) translatePtrToMemberRep() argument
1971 uint8_t SizeInBytes = Ty->getSizeInBits() / 8; lowerTypeMemberPointer() local
2465 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; lowerCompleteTypeClass() local
2504 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; lowerCompleteTypeUnion() local
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h429 inline uint8_t getNumPaddingBytes(uint64_t SizeInBytes) { in getNumPaddingBytes() argument
430 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in getNumPaddingBytes()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp426 unsigned SizeInBytes) const;
433 MachineOperand &Offset, unsigned SizeInBytes,
437 unsigned SizeInBytes) const;
444 unsigned SizeInBytes) const;
7071 unsigned SizeInBytes, bool WantsExt) const { in selectExtendedSHL() argument
7093 int64_t LegalShiftVal = Log2_32(SizeInBytes); in selectExtendedSHL()
7184 MachineOperand &Root, unsigned SizeInBytes) const { in selectAddrModeShiftedExtendXReg()
7211 OffsetInst->getOperand(0), SizeInBytes, in selectAddrModeShiftedExtendXReg()
7258 unsigned SizeInBytes) const { in selectAddrModeXRO()
7283 unsigned Scale = Log2_32(SizeInBytes); in selectAddrModeXRO()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAssignmentTrackingAnalysis.cpp2521 uint64_t SizeInBytes = divideCeil(SizeInBits, 8); in removeRedundantDbgLocsUsingBackwardScan() local
2526 if (SizeInBytes == 0 || SizeInBytes > MaxSizeBytes) { in removeRedundantDbgLocsUsingBackwardScan()
2539 VariableDefinedBytes.try_emplace(Aggr, BitVector(SizeInBytes)); in removeRedundantDbgLocsUsingBackwardScan()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerCorpus.h176 size_t SizeInBytes() const { in SizeInBytes()
175 size_t SizeInBytes() const { SizeInBytes() function
H A DFuzzerLoop.cpp337 if (size_t N = Corpus.SizeInBytes()) { in PrintStats()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp366 llvm::Value *SizeInBytes = in visitArray() local
369 CGF.Int8Ty, DstAddr.emitRawPointer(CGF), SizeInBytes); in visitArray()

12