| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/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
|
| /freebsd-13.1/contrib/llvm-project/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(),
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | InstrProfiling.c | 36 __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes) { in __llvm_profile_get_num_padding_bytes() argument 37 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in __llvm_profile_get_num_padding_bytes()
|
| H A D | InstrProfiling.h | 70 uint8_t __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes);
|
| /freebsd-13.1/contrib/llvm-project/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);
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopIdiomRecognize.cpp | 854 uint64_t SizeInBytes = cast<ConstantInt>(MCI->getLength())->getZExtValue(); in processLoopMemCpy() local 855 if ((SizeInBytes >> 32) != 0) in processLoopMemCpy() 873 if (SizeInBytes != StoreStrideValue && SizeInBytes != -StoreStrideValue) { in processLoopMemCpy() 890 return processLoopStoreOfLoopLoad(Dest, Source, (unsigned)SizeInBytes, in processLoopMemCpy() 916 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in processLoopMemSet() local 917 if ((SizeInBytes >> 32) != 0) in processLoopMemSet() 927 if (SizeInBytes != Stride && SizeInBytes != -Stride) in processLoopMemSet() 938 bool NegStride = SizeInBytes == -Stride; in processLoopMemSet() 940 Pointer, (unsigned)SizeInBytes, MaybeAlign(MSI->getDestAlignment()), in processLoopMemSet()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_thread.cpp | 80 sizeof(Thread), heap_allocations_->SizeInBytes(), in InitStackRingBuffer()
|
| H A D | hwasan_thread_list.h | 147 res += HeapAllocationsRingBuffer::SizeInBytes(sz); in MemoryUsedPerThread()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | HWAddressSanitizer.cpp | 967 uint64_t SizeInBytes = AI.getModule()->getDataLayout().getTypeAllocSize(Ty); in getAllocaSizeInBytes() local 968 return SizeInBytes * ArraySize; in getAllocaSizeInBytes() 1464 uint64_t SizeInBytes = in instrumentGlobal() local 1466 uint64_t NewSize = alignTo(SizeInBytes, Mapping.getObjectAlignment()); in instrumentGlobal() 1467 if (SizeInBytes != NewSize) { in instrumentGlobal() 1470 std::vector<uint8_t> Init(NewSize - SizeInBytes, 0); in instrumentGlobal() 1503 for (uint64_t DescriptorPos = 0; DescriptorPos < SizeInBytes; in instrumentGlobal() 1515 uint32_t Size = std::min(SizeInBytes - DescriptorPos, MaxDescriptorSize); in instrumentGlobal()
|
| H A D | AddressSanitizer.cpp | 641 uint64_t SizeInBytes = in getAllocaSizeInBytes() local 643 return SizeInBytes * ArraySize; in getAllocaSizeInBytes() 848 uint64_t getRedzoneSizeForGlobal(uint64_t SizeInBytes) const; 2406 const uint64_t SizeInBytes = DL.getTypeAllocSize(Ty); in InstrumentGlobals() local 2495 ConstantInt::get(IntptrTy, SizeInBytes), in InstrumentGlobals() 2496 ConstantInt::get(IntptrTy, SizeInBytes + RightRedzoneSize), in InstrumentGlobals() 2548 if (SizeInBytes <= MinRZ / 2) { in getRedzoneSizeForGlobal() 2552 RZ = MinRZ - SizeInBytes; in getRedzoneSizeForGlobal() 2558 if (SizeInBytes % MinRZ) in getRedzoneSizeForGlobal() 2559 RZ += MinRZ - (SizeInBytes % MinRZ); in getRedzoneSizeForGlobal() [all …]
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Bitstream/ |
| H A D | BitstreamReader.h | 299 size_t SizeInBytes() const { return BitcodeBytes.size(); } in SizeInBytes() function 382 using SimpleBitstreamCursor::SizeInBytes;
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | InstrProfReader.h | 278 inline uint8_t getNumPaddingBytes(uint64_t SizeInBytes) { in getNumPaddingBytes() argument 279 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in getNumPaddingBytes()
|
| /freebsd-13.1/contrib/llvm-project/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() 2323 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerCompleteTypeClass() local 2326 SizeInBytes, FullName, Ty->getIdentifier()); in lowerCompleteTypeClass() 2362 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerCompleteTypeUnion() local 2365 UnionRecord UR(FieldCount, CO, FieldTI, SizeInBytes, FullName, in lowerCompleteTypeUnion()
|
| /freebsd-13.1/contrib/llvm-project/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; 5379 unsigned SizeInBytes, bool WantsExt) const { in selectExtendedSHL() argument 5403 int64_t LegalShiftVal = Log2_32(SizeInBytes); in selectExtendedSHL() 5494 MachineOperand &Root, unsigned SizeInBytes) const { in selectAddrModeShiftedExtendXReg() 5521 OffsetInst->getOperand(0), SizeInBytes, in selectAddrModeShiftedExtendXReg() 5593 unsigned Scale = Log2_32(SizeInBytes); in selectAddrModeXRO() 5598 if (ImmOff % SizeInBytes == 0 && ImmOff >= 0 && in selectAddrModeXRO() [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerCorpus.h | 175 size_t SizeInBytes() const { in SizeInBytes() function
|
| H A D | FuzzerLoop.cpp | 335 if (size_t N = Corpus.SizeInBytes()) { in PrintStats()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | MetadataLoader.cpp | 649 : MetadataList(TheModule.getContext(), Stream.SizeInBytes()), in MetadataLoaderImpl()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 7091 unsigned SizeInBytes = (Ty.getScalarSizeInBits() + 7) / 8; in lowerBswap() local 7092 unsigned BaseShiftAmt = (SizeInBytes - 1) * 8; in lowerBswap() 7101 for (unsigned i = 1; i < SizeInBytes / 2; ++i) { in lowerBswap() 7103 APInt APMask(SizeInBytes * 8, 0xFF << (i * 8)); in lowerBswap()
|