Searched refs:SizeInBytes (Results 1 - 25 of 27) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCELFStreamer.cpp24 const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc,
29 if (SizeInBytes == SIZE_LONG)
31 else if (SizeInBytes == SIZE_WORD)
40 SizeInBytes, Loc); local
23 EmitValueForModiferKind( const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc, AVRMCExpr::VariantKind ModifierKind) argument
H A DAVRMCELFStreamer.h45 const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc = SMLoc(),
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_ring_buffer.h26 void *Ptr = MmapOrDie(SizeInBytes(Size), "RingBuffer");
28 uptr End = reinterpret_cast<uptr>(Ptr) + SizeInBytes(Size);
33 UnmapOrDie(this, SizeInBytes(size()));
41 static uptr SizeInBytes(uptr Size) { function in class:__sanitizer::RingBuffer
45 uptr SizeInBytes() { return SizeInBytes(size()); } function in class:__sanitizer::RingBuffer
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DUser.cpp89 intptr_t SizeInBytes; member in struct:llvm::DescriptorInfo
102 assert(DI->SizeInBytes != 0 && "Should not have had a descriptor otherwise!");
105 reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes, DI->SizeInBytes);
135 DescInfo->SizeInBytes = DescBytes;
184 uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfiling.c42 /* Return the number of bytes needed to add to SizeInBytes to make it
46 __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes) { argument
47 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t));
H A DInstrProfiling.h61 uint8_t __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_thread.cpp71 sizeof(Thread), heap_allocations_->SizeInBytes(),
H A Dhwasan_thread_list.h162 res += HeapAllocationsRingBuffer::SizeInBytes(sz);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DAlignment.h145 /// Checks that SizeInBytes is a multiple of the alignment.
146 inline bool isAligned(Align Lhs, uint64_t SizeInBytes) {
147 return SizeInBytes % Lhs.value() == 0;
150 /// Checks that SizeInBytes is a multiple of the alignment.
152 inline bool isAligned(MaybeAlign Lhs, uint64_t SizeInBytes) {
154 return SizeInBytes % (*Lhs).value() == 0;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp86 bool parseLiteralValues(unsigned SizeInBytes, SMLoc L);
643 bool AVRAsmParser::parseLiteralValues(unsigned SizeInBytes, SMLoc L) { argument
653 AVRStreamer.EmitValueForModiferKind(Symbol, SizeInBytes, L,
671 AVRStreamer.EmitValueForModiferKind(Symbol, SizeInBytes, L, ModifierKind);
679 Parser.getStreamer().EmitValue(Value, SizeInBytes, L);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamReader.h298 size_t SizeInBytes() const { return BitcodeBytes.size(); } function in class:llvm::SimpleBitstreamCursor
381 using SimpleBitstreamCursor::SizeInBytes;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h251 inline uint8_t getNumPaddingBytes(uint64_t SizeInBytes) { argument
252 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp767 uint64_t SizeInBytes = AI.getModule()->getDataLayout().getTypeAllocSize(Ty); local
768 return SizeInBytes * ArraySize;
1230 uint64_t SizeInBytes = local
1232 uint64_t NewSize = alignTo(SizeInBytes, Mapping.getObjectAlignment());
1233 if (SizeInBytes != NewSize) {
1236 std::vector<uint8_t> Init(NewSize - SizeInBytes, 0);
1269 for (uint64_t DescriptorPos = 0; DescriptorPos < SizeInBytes;
1281 uint32_t Size = std::min(SizeInBytes - DescriptorPos, MaxDescriptorSize);
H A DAddressSanitizer.cpp608 uint64_t SizeInBytes = local
610 return SizeInBytes * ArraySize;
2272 uint64_t SizeInBytes = DL.getTypeAllocSize(Ty); local
2275 // and trying to make RZ to be ~ 1/4 of SizeInBytes.
2277 MinRZ, std::min(kMaxGlobalRedzone, (SizeInBytes / MinRZ / 4) * MinRZ));
2280 if (SizeInBytes % MinRZ) RightRedzoneSize += MinRZ - (SizeInBytes % MinRZ);
2281 assert(((RightRedzoneSize + SizeInBytes) % MinRZ) == 0);
2372 ConstantInt::get(IntptrTy, SizeInBytes),
2373 ConstantInt::get(IntptrTy, SizeInBytes
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp767 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue();
768 if ((SizeInBytes >> 32) != 0)
778 if (SizeInBytes != Stride && SizeInBytes != -Stride)
789 bool NegStride = SizeInBytes == -Stride;
791 Pointer, (unsigned)SizeInBytes, MaybeAlign(MSI->getDestAlignment()),
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerCorpus.h55 size_t SizeInBytes() const { function in class:fuzzer::InputCorpus
H A DFuzzerLoop.cpp334 if (size_t N = Corpus.SizeInBytes()) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1735 translatePtrToMemberRep(unsigned SizeInBytes, bool IsPMF, unsigned Flags) { argument
1736 // SizeInBytes being zero generally implies that the member pointer type was
1742 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown
1754 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown
1779 uint8_t SizeInBytes = Ty->getSizeInBits() / 8; local
1781 ClassTI, translatePtrToMemberRep(SizeInBytes, IsPMF, Ty->getFlags()));
1782 PointerRecord PR(PointeeTI, PK, PM, PO, SizeInBytes, MPI);
2259 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; local
2262 SizeInBytes, FullName, Ty->getIdentifier());
2298 uint64_t SizeInBytes local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstructionSelector.cpp208 unsigned SizeInBytes) const;
215 MachineOperand &Offset, unsigned SizeInBytes,
219 unsigned SizeInBytes) const;
226 unsigned SizeInBytes) const;
4293 unsigned SizeInBytes, bool WantsExt) const {
4307 int64_t LegalShiftVal = Log2_32(SizeInBytes);
4392 MachineOperand &Root, unsigned SizeInBytes) const {
4419 OffsetInst->getOperand(0), SizeInBytes,
4466 unsigned SizeInBytes) const {
4475 auto AddrModeFns = selectAddrModeShiftedExtendXReg(Root, SizeInBytes);
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp353 llvm::Value *SizeInBytes = local
357 CGF.Builder.CreateInBoundsGEP(BC.getPointer(), SizeInBytes);
H A DCGExpr.cpp918 llvm::Value *SizeInBytes = EmitLoadOfScalar(AddrOfSize, /*Volatile=*/false, local
921 llvm::ConstantInt::get(SizeInBytes->getType(), EltSize);
922 return Builder.CreateUDiv(SizeInBytes, SizeOfElement);
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp1407 SVal SizeInBytes = svalBuilder.evalBinOpNN( local
1412 State, Extent, SizeInBytes.castAs<DefinedOrUnknownSVal>());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp4400 unsigned SizeInBytes = Ty.getSizeInBytes();
4401 unsigned BaseShiftAmt = (SizeInBytes - 1) * 8;
4410 for (unsigned i = 1; i < SizeInBytes / 2; ++i) {
4412 APInt APMask(SizeInBytes * 8, 0xFF << (i * 8));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp639 : MetadataList(TheModule.getContext(), Stream.SizeInBytes()),
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp3681 uint64_t SizeInBytes = DL.getTypeStoreSize(GVTy); local
3682 uint64_t Length = SizeInBytes / (ElementSize / 8);

Completed in 303 milliseconds

12