| /freebsd-12.1/contrib/compiler-rt/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
|
| /freebsd-12.1/contrib/llvm/lib/Target/AVR/MCTargetDesc/ |
| H A D | AVRMCELFStreamer.cpp | 25 const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc, in EmitValueForModiferKind() argument 30 if (SizeInBytes == SIZE_LONG) in EmitValueForModiferKind() 32 else if (SizeInBytes == SIZE_WORD) in EmitValueForModiferKind() 41 SizeInBytes, Loc); in EmitValueForModiferKind()
|
| H A D | AVRMCELFStreamer.h | 46 const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc = SMLoc(),
|
| /freebsd-12.1/contrib/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() 136 DescInfo->SizeInBytes = DescBytes; in allocateFixedOperandUser() 183 uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes; in operator delete()
|
| /freebsd-12.1/contrib/compiler-rt/lib/profile/ |
| H A D | InstrProfiling.c | 43 __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes) { in __llvm_profile_get_num_padding_bytes() argument 44 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in __llvm_profile_get_num_padding_bytes()
|
| H A D | InstrProfiling.h | 45 uint8_t __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes);
|
| /freebsd-12.1/contrib/llvm/lib/Target/AVR/AsmParser/ |
| H A D | AVRAsmParser.cpp | 86 bool parseLiteralValues(unsigned SizeInBytes, SMLoc L); 627 bool AVRAsmParser::parseLiteralValues(unsigned SizeInBytes, SMLoc L) { in parseLiteralValues() argument 637 AVRStreamer.EmitValueForModiferKind(Symbol, SizeInBytes, L, in parseLiteralValues() 655 AVRStreamer.EmitValueForModiferKind(Symbol, SizeInBytes, L, ModifierKind); in parseLiteralValues() 663 Parser.getStreamer().EmitValue(Value, SizeInBytes, L); in parseLiteralValues()
|
| /freebsd-12.1/contrib/compiler-rt/lib/hwasan/ |
| H A D | hwasan_thread.cc | 63 sizeof(Thread), heap_allocations_->SizeInBytes(), in Init()
|
| H A D | hwasan_thread_list.h | 149 res += HeapAllocationsRingBuffer::SizeInBytes(sz); in MemoryUsedPerThread()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | LoopIdiomRecognize.cpp | 744 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in processLoopMemSet() local 745 if ((SizeInBytes >> 32) != 0) in processLoopMemSet() 755 if (SizeInBytes != Stride && SizeInBytes != -Stride) in processLoopMemSet() 766 bool NegStride = SizeInBytes == -Stride; in processLoopMemSet() 767 return processLoopStridedStore(Pointer, (unsigned)SizeInBytes, in processLoopMemSet()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ProfileData/ |
| H A D | InstrProfReader.h | 240 inline uint8_t getNumPaddingBytes(uint64_t SizeInBytes) { in getNumPaddingBytes() argument 241 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in getNumPaddingBytes()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 1676 translatePtrToMemberRep(unsigned SizeInBytes, bool IsPMF, unsigned Flags) { in translatePtrToMemberRep() argument 1683 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown in translatePtrToMemberRep() 1695 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown in translatePtrToMemberRep() 1720 uint8_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerTypeMemberPointer() local 1722 ClassTI, translatePtrToMemberRep(SizeInBytes, IsPMF, Ty->getFlags())); in lowerTypeMemberPointer() 1723 PointerRecord PR(PointeeTI, PK, PM, PO, SizeInBytes, MPI); in lowerTypeMemberPointer() 2192 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerCompleteTypeClass() local 2195 SizeInBytes, FullName, Ty->getIdentifier()); in lowerCompleteTypeClass() 2231 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerCompleteTypeUnion() local 2234 UnionRecord UR(FieldCount, CO, FieldTI, SizeInBytes, FullName, in lowerCompleteTypeUnion()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | AddressSanitizer.cpp | 641 uint64_t SizeInBytes = in getAllocaSizeInBytes() local 643 return SizeInBytes * ArraySize; in getAllocaSizeInBytes() 2127 uint64_t SizeInBytes = DL.getTypeAllocSize(Ty); in InstrumentGlobals() local 2132 MinRZ, std::min(kMaxGlobalRedzone, (SizeInBytes / MinRZ / 4) * MinRZ)); in InstrumentGlobals() 2135 if (SizeInBytes % MinRZ) RightRedzoneSize += MinRZ - (SizeInBytes % MinRZ); in InstrumentGlobals() 2136 assert(((RightRedzoneSize + SizeInBytes) % MinRZ) == 0); in InstrumentGlobals() 2227 ConstantInt::get(IntptrTy, SizeInBytes), in InstrumentGlobals() 2228 ConstantInt::get(IntptrTy, SizeInBytes + RightRedzoneSize), in InstrumentGlobals()
|
| H A D | HWAddressSanitizer.cpp | 642 uint64_t SizeInBytes = AI.getModule()->getDataLayout().getTypeAllocSize(Ty); in getAllocaSizeInBytes() local 643 return SizeInBytes * ArraySize; in getAllocaSizeInBytes()
|
| /freebsd-12.1/contrib/compiler-rt/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()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGNonTrivialStruct.cpp | 354 llvm::Value *SizeInBytes = in visitArray() local 358 CGF.Builder.CreateInBoundsGEP(BC.getPointer(), SizeInBytes); in visitArray()
|
| H A D | CGExpr.cpp | 911 llvm::Value *SizeInBytes = EmitLoadOfScalar(AddrOfSize, /*Volatile=*/false, in LoadPassedObjectSize() local 914 llvm::ConstantInt::get(SizeInBytes->getType(), EltSize); in LoadPassedObjectSize() 915 return Builder.CreateUDiv(SizeInBytes, SizeOfElement); in LoadPassedObjectSize()
|
| H A D | TargetInfo.cpp | 3672 uint64_t SizeInBytes = (CGF.getContext().getTypeSize(Ty) + 7) / 8; in EmitX86_64VAArgFromMemory() local 3674 llvm::ConstantInt::get(CGF.Int32Ty, (SizeInBytes + 7) & ~7); in EmitX86_64VAArgFromMemory()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MallocChecker.cpp | 1142 SVal SizeInBytes = svalBuilder.evalBinOpNN( in addExtentSize() local 1147 State, Extent, SizeInBytes.castAs<DefinedOrUnknownSVal>()); in addExtentSize()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 3482 uint64_t SizeInBytes = DL.getTypeStoreSize(GVTy); in getConstantDataArrayInfo() local 3483 uint64_t Length = SizeInBytes / (ElementSize / 8); in getConstantDataArrayInfo()
|