/freebsd/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/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/contrib/llvm-project/llvm/lib/IR/ |
H A D | User.cpp | 96 intptr_t SizeInBytes; member 109 assert(DI->SizeInBytes != 0 && "Should not have had a descriptor otherwise!"); in getDescriptor() 112 reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes, DI->SizeInBytes); in getDescriptor() 147 DescInfo->SizeInBytes = DescBytes; in allocateFixedOperandUser() 196 uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes; in operator delete()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64GlobalsTagging.cpp | 94 uint64_t SizeInBytes = in tagGlobalDefinition() 97 uint64_t NewSize = alignTo(SizeInBytes, kTagGranuleSize); in tagGlobalDefinition() 98 if (SizeInBytes != NewSize) { 100 llvm::SmallVector<uint8_t> Init(NewSize - SizeInBytes, 0); 70 uint64_t SizeInBytes = tagGlobalDefinition() local
|
H A D | AArch64Arm64ECCallLowering.cpp | 313 auto bitcast = [this](Type *Arm64Ty, uint64_t SizeInBytes) { in canonicalizeThunkType() argument 315 llvm::Type::getIntNTy(M->getContext(), SizeInBytes * 8), in canonicalizeThunkType()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/ |
H A D | InstrProfiling.c | 40 /* Return the number of bytes needed to add to SizeInBytes to make it 44 __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes) { in __llvm_profile_get_num_padding_bytes() argument 45 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in __llvm_profile_get_num_padding_bytes()
|
H A D | InstrProfiling.h | 92 uint8_t __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCExpr.h | 148 static unsigned encodeSubclassData(bool PrintInHex, unsigned SizeInBytes) { in encodeSubclassData() argument 149 assert(SizeInBytes <= sizeof(int64_t) && "Excessive size"); in encodeSubclassData() 150 return SizeInBytes | (PrintInHex ? PrintInHexBit : 0); in encodeSubclassData() 153 MCConstantExpr(int64_t Value, bool PrintInHex, unsigned SizeInBytes) in MCConstantExpr() argument 155 encodeSubclassData(PrintInHex, SizeInBytes)), Value(Value) {} in MCConstantExpr() 163 unsigned SizeInBytes = 0);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/ |
H A D | AVRAsmParser.cpp | 92 ParseStatus parseLiteralValues(unsigned SizeInBytes, SMLoc L); 692 ParseStatus AVRAsmParser::parseLiteralValues(unsigned SizeInBytes, SMLoc L) { in parseLiteralValues() argument 702 AVRStreamer.emitValueForModiferKind(Symbol, SizeInBytes, L, in parseLiteralValues() 720 AVRStreamer.emitValueForModiferKind(Symbol, SizeInBytes, L, ModifierKind); in parseLiteralValues() 731 Parser.getStreamer().emitValue(Value, SizeInBytes, L); in parseLiteralValues()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Alignment.h | 145 inline bool isAligned(Align Lhs, uint64_t SizeInBytes) { in isAligned() argument 146 return SizeInBytes % Lhs.value() == 0; in isAligned()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCExpr.cpp | 47 auto SizeInBytes = cast<MCConstantExpr>(*this).getSizeInBytes(); in print() local 51 switch (SizeInBytes) { in print() 195 unsigned SizeInBytes) { in create() argument 196 return new (Ctx) MCConstantExpr(Value, PrintInHex, SizeInBytes); in create()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitstream/ |
H A D | BitstreamReader.h | 309 size_t SizeInBytes() const { return BitcodeBytes.size(); } 399 using SimpleBitstreamCursor::SizeInBytes; 310 size_t SizeInBytes() const { return BitcodeBytes.size(); } SizeInBytes() function
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopIdiomRecognize.cpp | 784 uint64_t SizeInBytes = cast<ConstantInt>(MCI->getLength())->getZExtValue(); in processLoopMemCpy() local 785 if ((SizeInBytes >> 32) != 0) in processLoopMemCpy() 803 if (SizeInBytes != StoreStrideValue && SizeInBytes != -StoreStrideValue) { in processLoopMemCpy() 821 Dest, Source, SE->getConstant(Dest->getType(), SizeInBytes), in processLoopMemCpy() 863 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in processLoopMemSet() local 869 if (SizeInBytes != Stride && SizeInBytes != -Stride) in processLoopMemSet() 872 IsNegStride = SizeInBytes == -Stride; in processLoopMemSet()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_thread.cpp | 66 sizeof(Thread), heap_allocations_->SizeInBytes(), in Init()
|
H A D | hwasan_thread_list.h | 151 res += HeapAllocationsRingBuffer::SizeInBytes(sz); in MemoryUsedPerThread()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | AddressSanitizer.cpp | 945 uint64_t getRedzoneSizeForGlobal(uint64_t SizeInBytes) const; 2556 const uint64_t SizeInBytes = DL.getTypeAllocSize(Ty); in instrumentGlobals() local 2557 const uint64_t RightRedzoneSize = getRedzoneSizeForGlobal(SizeInBytes); in instrumentGlobals() 2637 ConstantInt::get(IntptrTy, SizeInBytes), in instrumentGlobals() 2638 ConstantInt::get(IntptrTy, SizeInBytes + RightRedzoneSize), in instrumentGlobals() 2694 ModuleAddressSanitizer::getRedzoneSizeForGlobal(uint64_t SizeInBytes) const { in getRedzoneSizeForGlobal() 2699 if (SizeInBytes <= MinRZ / 2) { in getRedzoneSizeForGlobal() 2703 RZ = MinRZ - SizeInBytes; in getRedzoneSizeForGlobal() 2706 RZ = std::clamp((SizeInBytes / MinRZ / 4) * MinRZ, MinRZ, kMaxRZ); in getRedzoneSizeForGlobal() 2709 if (SizeInBytes % MinRZ) in getRedzoneSizeForGlobal() [all …]
|
H A D | HWAddressSanitizer.cpp | 1674 uint64_t SizeInBytes = in instrumentGlobal() local 1676 uint64_t NewSize = alignTo(SizeInBytes, Mapping.getObjectAlignment()); in instrumentGlobal() 1677 if (SizeInBytes != NewSize) { in instrumentGlobal() 1680 std::vector<uint8_t> Init(NewSize - SizeInBytes, 0); in instrumentGlobal() 1713 for (uint64_t DescriptorPos = 0; DescriptorPos < SizeInBytes; in instrumentGlobal() 1725 uint32_t Size = std::min(SizeInBytes - DescriptorPos, MaxDescriptorSize); in instrumentGlobal()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | CodeViewDebug.cpp | 1944 translatePtrToMemberRep(unsigned SizeInBytes, bool IsPMF, unsigned Flags) { in translatePtrToMemberRep() 1945 // SizeInBytes being zero generally implies that the member pointer type was in translatePtrToMemberRep() 1951 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown in translatePtrToMemberRep() 1963 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown in lowerTypeMemberPointer() 1989 uint8_t SizeInBytes = Ty->getSizeInBits() / 8; in dwarfCCToCodeView() 1991 ClassTI, translatePtrToMemberRep(SizeInBytes, IsPMF, Ty->getFlags())); 1992 PointerRecord PR(PointeeTI, PK, PM, PO, SizeInBytes, MPI); in lowerTypeModifier() 2483 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerTypeUnion() 2486 SizeInBytes, FullName, Ty->getIdentifier()); in lowerTypeUnion() 2522 uint64_t SizeInBytes in lowerRecordFieldList() 1926 translatePtrToMemberRep(unsigned SizeInBytes,bool IsPMF,unsigned Flags) translatePtrToMemberRep() argument 1971 uint8_t SizeInBytes = Ty->getSizeInBits() / 8; lowerTypeMemberPointer() local 2465 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; lowerCompleteTypeClass() local 2504 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; lowerCompleteTypeUnion() local [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | InstrProfReader.h | 429 inline uint8_t getNumPaddingBytes(uint64_t SizeInBytes) { in getNumPaddingBytes() argument 430 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in getNumPaddingBytes()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64InstructionSelector.cpp | 426 unsigned SizeInBytes) const; 433 MachineOperand &Offset, unsigned SizeInBytes, 437 unsigned SizeInBytes) const; 444 unsigned SizeInBytes) const; 7071 unsigned SizeInBytes, bool WantsExt) const { in selectExtendedSHL() argument 7093 int64_t LegalShiftVal = Log2_32(SizeInBytes); in selectExtendedSHL() 7184 MachineOperand &Root, unsigned SizeInBytes) const { in selectAddrModeShiftedExtendXReg() 7211 OffsetInst->getOperand(0), SizeInBytes, in selectAddrModeShiftedExtendXReg() 7258 unsigned SizeInBytes) const { in selectAddrModeXRO() 7283 unsigned Scale = Log2_32(SizeInBytes); in selectAddrModeXRO() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | AssignmentTrackingAnalysis.cpp | 2521 uint64_t SizeInBytes = divideCeil(SizeInBits, 8); in removeRedundantDbgLocsUsingBackwardScan() local 2526 if (SizeInBytes == 0 || SizeInBytes > MaxSizeBytes) { in removeRedundantDbgLocsUsingBackwardScan() 2539 VariableDefinedBytes.try_emplace(Aggr, BitVector(SizeInBytes)); in removeRedundantDbgLocsUsingBackwardScan()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerCorpus.h | 176 size_t SizeInBytes() const { in SizeInBytes() 175 size_t SizeInBytes() const { SizeInBytes() function
|
H A D | FuzzerLoop.cpp | 337 if (size_t N = Corpus.SizeInBytes()) { in PrintStats()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGNonTrivialStruct.cpp | 366 llvm::Value *SizeInBytes = in visitArray() local 369 CGF.Int8Ty, DstAddr.emitRawPointer(CGF), SizeInBytes); in visitArray()
|