/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
H A D | sanitizer_ring_buffer.h | 27 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 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
|
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_ring_buffer.h | 25 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 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(),
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | User.cpp | 90 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 D | InstrProfiling.c | 32 __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 D | InstrProfiling.h | 37 uint8_t __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes);
|
/netbsd-src/external/apache2/llvm/dist/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);
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/AsmParser/ |
H A D | AVRAsmParser.cpp | 87 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 D | LoopIdiomRecognize.cpp | 853 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 D | HWAddressSanitizer.cpp | 888 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 D | AddressSanitizer.cpp | 635 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 D | Alignment.h | 138 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 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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/ |
H A D | MCExpr.cpp | 49 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 D | BitstreamReader.h | 299 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 D | InstrProfReader.h | 271 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 D | CodeViewDebug.cpp | 1785 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 D | AArch64InstructionSelector.cpp | 346 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 D | FuzzerCorpus.h | 56 size_t SizeInBytes() const { in SizeInBytes() function
|
H A D | FuzzerLoop.cpp | 334 if (size_t N = Corpus.SizeInBytes()) { in PrintStats()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGNonTrivialStruct.cpp | 367 llvm::Value *SizeInBytes = in visitArray() local 371 CGF.Builder.CreateInBoundsGEP(CGF.Int8Ty, BC.getPointer(), SizeInBytes); in visitArray()
|
H A D | CGExpr.cpp | 951 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()
|