Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCELFStreamer.cpp24 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 DAVRMCELFStreamer.h45 const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc = SMLoc(),
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_ring_buffer.h26 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
/openbsd/gnu/llvm/llvm/lib/IR/
H A DUser.cpp96 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()
/openbsd/gnu/llvm/compiler-rt/lib/profile/
H A DInstrProfiling.c36 __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 DInstrProfiling.h70 uint8_t __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes);
/openbsd/gnu/llvm/llvm/include/llvm/MC/
H A DMCExpr.h152 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);
/openbsd/gnu/llvm/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp93 bool parseLiteralValues(unsigned SizeInBytes, SMLoc L);
689 bool AVRAsmParser::parseLiteralValues(unsigned SizeInBytes, SMLoc L) { in parseLiteralValues() argument
699 AVRStreamer.emitValueForModiferKind(Symbol, SizeInBytes, L, in parseLiteralValues()
717 AVRStreamer.emitValueForModiferKind(Symbol, SizeInBytes, L, ModifierKind); in parseLiteralValues()
725 Parser.getStreamer().emitValue(Value, SizeInBytes, L); in parseLiteralValues()
/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DAlignment.h145 inline bool isAligned(Align Lhs, uint64_t SizeInBytes) { in isAligned() argument
146 return SizeInBytes % Lhs.value() == 0; in isAligned()
/openbsd/gnu/llvm/llvm/lib/MC/
H A DMCExpr.cpp48 auto SizeInBytes = cast<MCConstantExpr>(*this).getSizeInBytes(); in print() local
52 switch (SizeInBytes) { in print()
196 unsigned SizeInBytes) { in create() argument
197 return new (Ctx) MCConstantExpr(Value, PrintInHex, SizeInBytes); in create()
/openbsd/gnu/llvm/llvm/include/llvm/Bitstream/
H A DBitstreamReader.h310 size_t SizeInBytes() const { return BitcodeBytes.size(); } in SizeInBytes() function
400 using SimpleBitstreamCursor::SizeInBytes;
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp678 uint64_t SizeInBytes = in getAllocaSizeInBytes() local
680 return SizeInBytes * ArraySize; in getAllocaSizeInBytes()
852 uint64_t getRedzoneSizeForGlobal(uint64_t SizeInBytes) const;
2292 const uint64_t SizeInBytes = DL.getTypeAllocSize(Ty); in InstrumentGlobals() local
2373 ConstantInt::get(IntptrTy, SizeInBytes), in InstrumentGlobals()
2374 ConstantInt::get(IntptrTy, SizeInBytes + RightRedzoneSize), in InstrumentGlobals()
2428 if (SizeInBytes <= MinRZ / 2) { in getRedzoneSizeForGlobal()
2432 RZ = MinRZ - SizeInBytes; in getRedzoneSizeForGlobal()
2438 if (SizeInBytes % MinRZ) in getRedzoneSizeForGlobal()
2439 RZ += MinRZ - (SizeInBytes % MinRZ); in getRedzoneSizeForGlobal()
[all …]
H A DHWAddressSanitizer.cpp1505 uint64_t SizeInBytes = in instrumentGlobal() local
1507 uint64_t NewSize = alignTo(SizeInBytes, Mapping.getObjectAlignment()); in instrumentGlobal()
1508 if (SizeInBytes != NewSize) { in instrumentGlobal()
1511 std::vector<uint8_t> Init(NewSize - SizeInBytes, 0); in instrumentGlobal()
1544 for (uint64_t DescriptorPos = 0; DescriptorPos < SizeInBytes; in instrumentGlobal()
1556 uint32_t Size = std::min(SizeInBytes - DescriptorPos, MaxDescriptorSize); in instrumentGlobal()
/openbsd/gnu/llvm/compiler-rt/lib/hwasan/
H A Dhwasan_thread.cpp84 sizeof(Thread), heap_allocations_->SizeInBytes(), in InitStackRingBuffer()
H A Dhwasan_thread_list.h149 res += HeapAllocationsRingBuffer::SizeInBytes(sz); in MemoryUsedPerThread()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp854 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()
891 Dest, Source, SE->getConstant(Dest->getType(), SizeInBytes), in processLoopMemCpy()
933 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in processLoopMemSet() local
939 if (SizeInBytes != Stride && SizeInBytes != -Stride) in processLoopMemSet()
942 IsNegStride = SizeInBytes == -Stride; in processLoopMemSet()
/openbsd/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1911 translatePtrToMemberRep(unsigned SizeInBytes, bool IsPMF, unsigned Flags) { in translatePtrToMemberRep() argument
1918 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown in translatePtrToMemberRep()
1930 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown in translatePtrToMemberRep()
1956 uint8_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerTypeMemberPointer() local
1958 ClassTI, translatePtrToMemberRep(SizeInBytes, IsPMF, Ty->getFlags())); in lowerTypeMemberPointer()
1959 PointerRecord PR(PointeeTI, PK, PM, PO, SizeInBytes, MPI); in lowerTypeMemberPointer()
2450 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerCompleteTypeClass() local
2453 SizeInBytes, FullName, Ty->getIdentifier()); in lowerCompleteTypeClass()
2489 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerCompleteTypeUnion() local
2492 UnionRecord UR(FieldCount, CO, FieldTI, SizeInBytes, FullName, in lowerCompleteTypeUnion()
/openbsd/gnu/llvm/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h384 inline uint8_t getNumPaddingBytes(uint64_t SizeInBytes) { in getNumPaddingBytes() argument
385 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in getNumPaddingBytes()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp373 unsigned SizeInBytes) const;
380 MachineOperand &Offset, unsigned SizeInBytes,
384 unsigned SizeInBytes) const;
391 unsigned SizeInBytes) const;
6102 unsigned SizeInBytes, bool WantsExt) const { in selectExtendedSHL() argument
6124 int64_t LegalShiftVal = Log2_32(SizeInBytes); in selectExtendedSHL()
6215 MachineOperand &Root, unsigned SizeInBytes) const { in selectAddrModeShiftedExtendXReg()
6242 OffsetInst->getOperand(0), SizeInBytes, in selectAddrModeShiftedExtendXReg()
6314 unsigned Scale = Log2_32(SizeInBytes); in selectAddrModeXRO()
6319 if (ImmOff % SizeInBytes == 0 && ImmOff >= 0 && in selectAddrModeXRO()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerCorpus.h175 size_t SizeInBytes() const { in SizeInBytes() function
H A DFuzzerLoop.cpp340 if (size_t N = Corpus.SizeInBytes()) { in PrintStats()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp366 llvm::Value *SizeInBytes = in visitArray() local
370 CGF.Builder.CreateInBoundsGEP(CGF.Int8Ty, 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()
/openbsd/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp636 : MetadataList(TheModule.getContext(), Stream.SizeInBytes()), in MetadataLoaderImpl()
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp7193 unsigned SizeInBytes = (Ty.getScalarSizeInBits() + 7) / 8; in lowerBswap() local
7194 unsigned BaseShiftAmt = (SizeInBytes - 1) * 8; in lowerBswap()
7203 for (unsigned i = 1; i < SizeInBytes / 2; ++i) { in lowerBswap()
7205 APInt APMask(SizeInBytes * 8, 0xFF << (i * 8)); in lowerBswap()

12