Home
last modified time | relevance | path

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

12

/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_ring_buffer.h27 void *Ptr = MmapOrDie(SizeInBytes(Size), "RingBuffer"); in New()
29 uptr End = reinterpret_cast<uptr>(Ptr) + SizeInBytes(Size); in New()
34 UnmapOrDie(this, SizeInBytes(size())); in Delete()
42 static uptr SizeInBytes(uptr Size) { in SizeInBytes() function
46 uptr SizeInBytes() { return SizeInBytes(size()); } in SizeInBytes() function
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/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
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_ring_buffer.h25 void *Ptr = MmapOrDie(SizeInBytes(Size), "RingBuffer"); in New()
27 uptr End = reinterpret_cast<uptr>(Ptr) + SizeInBytes(Size); in New()
32 UnmapOrDie(this, SizeInBytes(size())); in Delete()
40 static uptr SizeInBytes(uptr Size) { in SizeInBytes() function
44 uptr SizeInBytes() { return SizeInBytes(size()); } in SizeInBytes() function
/netbsd-src/external/apache2/llvm/dist/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(),
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DUser.cpp90 intptr_t SizeInBytes; member
103 assert(DI->SizeInBytes != 0 && "Should not have had a descriptor otherwise!"); in getDescriptor()
106 reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes, DI->SizeInBytes); in getDescriptor()
141 DescInfo->SizeInBytes = DescBytes; in allocateFixedOperandUser()
190 uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes; in operator delete()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/profile/
H A DInstrProfiling.c32 __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes) { in __llvm_profile_get_num_padding_bytes() argument
33 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in __llvm_profile_get_num_padding_bytes()
H A DInstrProfiling.h37 uint8_t __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes);
/netbsd-src/external/apache2/llvm/dist/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);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp87 bool parseLiteralValues(unsigned SizeInBytes, SMLoc L);
662 bool AVRAsmParser::parseLiteralValues(unsigned SizeInBytes, SMLoc L) { in parseLiteralValues() argument
672 AVRStreamer.emitValueForModiferKind(Symbol, SizeInBytes, L, in parseLiteralValues()
690 AVRStreamer.emitValueForModiferKind(Symbol, SizeInBytes, L, ModifierKind); in parseLiteralValues()
698 Parser.getStreamer().emitValue(Value, SizeInBytes, L); in parseLiteralValues()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp853 uint64_t SizeInBytes = cast<ConstantInt>(MCI->getLength())->getZExtValue(); in processLoopMemCpy() local
854 if ((SizeInBytes >> 32) != 0) in processLoopMemCpy()
872 if (SizeInBytes != StoreStrideValue && SizeInBytes != -StoreStrideValue) { in processLoopMemCpy()
889 return processLoopStoreOfLoopLoad(Dest, Source, (unsigned)SizeInBytes, in processLoopMemCpy()
915 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in processLoopMemSet() local
916 if ((SizeInBytes >> 32) != 0) in processLoopMemSet()
926 if (SizeInBytes != Stride && SizeInBytes != -Stride) in processLoopMemSet()
937 bool NegStride = SizeInBytes == -Stride; in processLoopMemSet()
939 Pointer, (unsigned)SizeInBytes, MaybeAlign(MSI->getDestAlignment()), in processLoopMemSet()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp888 uint64_t SizeInBytes = AI.getModule()->getDataLayout().getTypeAllocSize(Ty); in getAllocaSizeInBytes() local
889 return SizeInBytes * ArraySize; in getAllocaSizeInBytes()
1363 uint64_t SizeInBytes = in instrumentGlobal() local
1365 uint64_t NewSize = alignTo(SizeInBytes, Mapping.getObjectAlignment()); in instrumentGlobal()
1366 if (SizeInBytes != NewSize) { in instrumentGlobal()
1369 std::vector<uint8_t> Init(NewSize - SizeInBytes, 0); in instrumentGlobal()
1402 for (uint64_t DescriptorPos = 0; DescriptorPos < SizeInBytes; in instrumentGlobal()
1414 uint32_t Size = std::min(SizeInBytes - DescriptorPos, MaxDescriptorSize); in instrumentGlobal()
H A DAddressSanitizer.cpp635 uint64_t SizeInBytes = in getAllocaSizeInBytes() local
637 return SizeInBytes * ArraySize; in getAllocaSizeInBytes()
838 uint64_t getRedzoneSizeForGlobal(uint64_t SizeInBytes) const;
2414 const uint64_t SizeInBytes = DL.getTypeAllocSize(Ty); in InstrumentGlobals() local
2415 const uint64_t RightRedzoneSize = getRedzoneSizeForGlobal(SizeInBytes); in InstrumentGlobals()
2503 ConstantInt::get(IntptrTy, SizeInBytes), in InstrumentGlobals()
2504 ConstantInt::get(IntptrTy, SizeInBytes + RightRedzoneSize), in InstrumentGlobals()
2551 ModuleAddressSanitizer::getRedzoneSizeForGlobal(uint64_t SizeInBytes) const { in getRedzoneSizeForGlobal()
2556 if (SizeInBytes <= MinRZ / 2) { in getRedzoneSizeForGlobal()
2560 RZ = MinRZ - SizeInBytes; in getRedzoneSizeForGlobal()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DAlignment.h138 inline bool isAligned(Align Lhs, uint64_t SizeInBytes) { in isAligned() argument
139 return SizeInBytes % Lhs.value() == 0; in isAligned()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCExpr.cpp49 auto SizeInBytes = cast<MCConstantExpr>(*this).getSizeInBytes(); in print() local
53 switch (SizeInBytes) { in print()
196 unsigned SizeInBytes) { in create() argument
197 return new (Ctx) MCConstantExpr(Value, PrintInHex, SizeInBytes); in create()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Bitstream/
H A DBitstreamReader.h299 size_t SizeInBytes() const { return BitcodeBytes.size(); } in SizeInBytes() function
382 using SimpleBitstreamCursor::SizeInBytes;
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h271 inline uint8_t getNumPaddingBytes(uint64_t SizeInBytes) { in getNumPaddingBytes() argument
272 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in getNumPaddingBytes()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1785 translatePtrToMemberRep(unsigned SizeInBytes, bool IsPMF, unsigned Flags) { in translatePtrToMemberRep() argument
1792 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown in translatePtrToMemberRep()
1804 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown in translatePtrToMemberRep()
1830 uint8_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerTypeMemberPointer() local
1832 ClassTI, translatePtrToMemberRep(SizeInBytes, IsPMF, Ty->getFlags())); in lowerTypeMemberPointer()
1833 PointerRecord PR(PointeeTI, PK, PM, PO, SizeInBytes, MPI); in lowerTypeMemberPointer()
2322 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerCompleteTypeClass() local
2325 SizeInBytes, FullName, Ty->getIdentifier()); in lowerCompleteTypeClass()
2361 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerCompleteTypeUnion() local
2364 UnionRecord UR(FieldCount, CO, FieldTI, SizeInBytes, FullName, in lowerCompleteTypeUnion()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp346 unsigned SizeInBytes) const;
353 MachineOperand &Offset, unsigned SizeInBytes,
357 unsigned SizeInBytes) const;
364 unsigned SizeInBytes) const;
5219 unsigned SizeInBytes, bool WantsExt) const { in selectExtendedSHL() argument
5243 int64_t LegalShiftVal = Log2_32(SizeInBytes); in selectExtendedSHL()
5334 MachineOperand &Root, unsigned SizeInBytes) const { in selectAddrModeShiftedExtendXReg()
5361 OffsetInst->getOperand(0), SizeInBytes, in selectAddrModeShiftedExtendXReg()
5408 unsigned SizeInBytes) const { in selectAddrModeXRO()
5433 unsigned Scale = Log2_32(SizeInBytes); in selectAddrModeXRO()
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
H A DFuzzerCorpus.h56 size_t SizeInBytes() const { in SizeInBytes() function
H A DFuzzerLoop.cpp334 if (size_t N = Corpus.SizeInBytes()) { in PrintStats()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp367 llvm::Value *SizeInBytes = in visitArray() local
371 CGF.Builder.CreateInBoundsGEP(CGF.Int8Ty, BC.getPointer(), SizeInBytes); in visitArray()
H A DCGExpr.cpp951 llvm::Value *SizeInBytes = EmitLoadOfScalar(AddrOfSize, /*Volatile=*/false, in LoadPassedObjectSize() local
954 llvm::ConstantInt::get(SizeInBytes->getType(), EltSize); in LoadPassedObjectSize()
955 return Builder.CreateUDiv(SizeInBytes, SizeOfElement); in LoadPassedObjectSize()

12