Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/compiler-rt/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
/freebsd-12.1/contrib/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCELFStreamer.cpp25 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 DAVRMCELFStreamer.h46 const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc = SMLoc(),
/freebsd-12.1/contrib/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()
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 DInstrProfiling.c43 __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 DInstrProfiling.h45 uint8_t __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes);
/freebsd-12.1/contrib/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp86 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 Dhwasan_thread.cc63 sizeof(Thread), heap_allocations_->SizeInBytes(), in Init()
H A Dhwasan_thread_list.h149 res += HeapAllocationsRingBuffer::SizeInBytes(sz); in MemoryUsedPerThread()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp744 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 DInstrProfReader.h240 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 DCodeViewDebug.cpp1676 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 DAddressSanitizer.cpp641 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 DHWAddressSanitizer.cpp642 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 DFuzzerCorpus.h56 size_t SizeInBytes() const { in SizeInBytes() function
H A DFuzzerLoop.cpp334 if (size_t N = Corpus.SizeInBytes()) { in PrintStats()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp354 llvm::Value *SizeInBytes = in visitArray() local
358 CGF.Builder.CreateInBoundsGEP(BC.getPointer(), SizeInBytes); in visitArray()
H A DCGExpr.cpp911 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 DTargetInfo.cpp3672 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 DMallocChecker.cpp1142 SVal SizeInBytes = svalBuilder.evalBinOpNN( in addExtentSize() local
1147 State, Extent, SizeInBytes.castAs<DefinedOrUnknownSVal>()); in addExtentSize()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DValueTracking.cpp3482 uint64_t SizeInBytes = DL.getTypeStoreSize(GVTy); in getConstantDataArrayInfo() local
3483 uint64_t Length = SizeInBytes / (ElementSize / 8); in getConstantDataArrayInfo()