Searched refs:Size (Results 76 - 100 of 1105) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/
H A DLocal.h48 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask; local
56 Size = DL.getStructLayout(STy)->getElementOffset(OpValue);
58 if (Size)
59 Result = Builder->CreateAdd(Result, ConstantInt::get(IntIdxTy, Size),
68 Constant *Scale = ConstantInt::get(IntIdxTy, Size);
84 if (Size != 1) {
86 Op = Builder->CreateMul(Op, ConstantInt::get(IntIdxTy, Size),
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCRegisterInfo.cpp59 return SubRegIdxRanges[Idx].Size;
70 unsigned Size = isEH ? EHL2DwarfRegsSize : L2DwarfRegsSize;
75 const DwarfLLVMRegPair *I = std::lower_bound(M, M+Size, Key);
76 if (I == M+Size || I->FromReg != RegNum)
84 unsigned Size = isEH ? EHDwarf2LRegsSize : Dwarf2LRegsSize;
89 const DwarfLLVMRegPair *I = std::lower_bound(M, M+Size, Key);
90 if (I != M + Size && I->FromReg == RegNum)
H A DConstantPools.cpp31 Streamer.EmitCodeAlignment(Entry.Size); // align naturally
33 Streamer.EmitValue(Entry.Value, Entry.Size, Entry.Loc);
40 unsigned Size, SMLoc Loc) {
50 Entries.push_back(ConstantPoolEntry(CPEntryLabel, Value, Size, Loc));
111 unsigned Size, SMLoc Loc) {
114 Size, Loc);
39 addEntry(const MCExpr *Value, MCContext &Context, unsigned Size, SMLoc Loc) argument
109 addEntry(MCStreamer &Streamer, const MCExpr *Expr, unsigned Size, SMLoc Loc) argument
H A DMCXCOFFStreamer.cpp46 void MCXCOFFStreamer::EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size, argument
51 Symbol->setCommon(Size, ByteAlignment);
55 EmitZeros(Size);
59 uint64_t Size, unsigned ByteAlignment,
92 uint64_t Size,
95 EmitCommonSymbol(CsectSym, Size, ByteAlignment);
58 EmitZerofill(MCSection *Section, MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment, SMLoc Loc) argument
91 EmitXCOFFLocalCommonSymbol(MCSymbol *LabelSym, uint64_t Size, MCSymbol *CsectSym, unsigned ByteAlignment) argument
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dcommon.h58 inline uptr roundUpToPowerOfTwo(uptr Size) { argument
59 DCHECK(Size);
60 if (isPowerOfTwo(Size))
61 return Size;
62 const uptr Up = getMostSignificantSetBitIndex(Size);
63 DCHECK_LT(Size, (1UL << (Up + 1)));
64 DCHECK_GT(Size, (1UL << Up));
154 void *map(void *Addr, uptr Size, const char *Name, uptr Flags = 0,
161 void unmap(void *Addr, uptr Size, uptr Flags = 0,
164 void releasePagesToOS(uptr BaseAddress, uptr Offset, uptr Size,
[all...]
H A Dfuchsia.cpp34 static void *allocateVmar(uptr Size, MapPlatformData *Data, bool AllowNoMem) { argument
42 Size, &Data->Vmar, &Data->VmarBase);
51 void *map(void *Addr, uptr Size, const char *Name, uptr Flags, argument
53 DCHECK_EQ(Size % PAGE_SIZE, 0);
58 return allocateVmar(Size, Data, AllowNoMem);
72 Status = _zx_vmo_set_size(Vmo, VmoSize + Size);
80 Status = _zx_vmo_create(Size, ZX_VMO_RESIZABLE, &Vmo);
96 Status = _zx_vmar_map(Vmar, MapFlags, Offset, Vmo, VmoSize, Size, &P);
111 Data->VmoSize += Size;
116 void unmap(void *Addr, uptr Size, upt argument
138 releasePagesToOS(UNUSED uptr BaseAddress, uptr Offset, uptr Size, MapPlatformData *Data) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_allocator_secondary.h55 uptr Size; member in struct:LargeChunk::Header
74 void *Allocate(AllocatorStats *Stats, uptr Size, uptr Alignment) { argument
75 const uptr UserSize = Size - Chunk::getHeaderSize();
78 uptr ReservedSize = Size + LargeChunk::getHeaderSize();
132 H->Size = CommittedEnd - Ptr;
156 const uptr Size = H->CommittedSize; local
159 Stats->Sub(AllocatorStatAllocated, Size);
160 Stats->Sub(AllocatorStatMapped, Size);
161 FreedBytes += Size;
169 return LargeChunk::getHeader(Ptr)->Size;
[all...]
H A Dscudo_allocator.cpp199 void *Allocate(uptr Size) { argument
301 void *allocate(uptr Size, uptr Alignment, AllocType Type, argument
307 if (void *Ptr = GuardedAlloc.allocate(Size))
320 const uptr NeededSize = RoundUpTo(Size ? Size : 1, MinAlignment) +
324 if (UNLIKELY(Size >= MaxAllowedMallocSize) ||
328 reportAllocationSizeTooBig(Size, AlignedSize, MaxAllowedMallocSize);
360 reportOutOfMemory(Size);
378 DCHECK_LE(UserPtr + Size, reinterpret_cast<uptr>(BackendPtr) + BackendSize);
383 Header.SizeOrUnusedBytes = Size;
403 quarantineOrDeallocateChunk(void *Ptr, UnpackedHeader *Header, uptr Size) argument
478 const uptr Size = Chunk::getSize(Ptr, &Header); local
559 calloc(uptr NMemB, uptr Size) argument
691 scudoAllocate(uptr Size, uptr Alignment, AllocType Type) argument
701 scudoDeallocate(void *Ptr, uptr Size, uptr Alignment, AllocType Type) argument
705 scudoRealloc(void *Ptr, uptr Size) argument
715 scudoCalloc(uptr NMemB, uptr Size) argument
719 scudoValloc(uptr Size) argument
724 scudoPvalloc(uptr Size) argument
737 scudoPosixMemalign(void **MemPtr, uptr Alignment, uptr Size) argument
750 scudoAlignedAlloc(uptr Alignment, uptr Size) argument
786 __sanitizer_get_estimated_allocated_size(uptr Size) argument
799 SANITIZER_INTERFACE_WEAK_DEF(void, __sanitizer_malloc_hook, void *Ptr, uptr Size) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsFrameLowering.cpp118 int64_t Size = 0; local
123 Size += MFI.getObjectSize(I);
128 Size = alignTo(Size + RegSize, RegSize);
133 return Size + MFI.estimateStackSize(MF);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCWasmStreamer.h53 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
58 void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
62 uint64_t Size = 0, unsigned ByteAlignment = 0,
64 void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
66 void EmitValueImpl(const MCExpr *Value, unsigned Size,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64RegisterBankInfo.h66 unsigned Size, unsigned Offset);
71 static unsigned getRegBankBaseIdxOffset(unsigned RBIdx, unsigned Size);
74 /// at \p RBIdx with a size of \p Size.
81 getValueMapping(PartialMappingIdx RBIdx, unsigned Size);
85 /// register bank with a size of \p Size.
87 getCopyMapping(unsigned DstBankID, unsigned SrcBankID, unsigned Size);
133 unsigned Size) const override;
H A DAArch64MachineFunctionInfo.h78 /// Size of the varargs area for arguments passed in general purpose
86 /// Size of the varargs area for arguments passed in floating-point
173 void setLocalStackSize(uint64_t Size) { LocalStackSize = Size; } argument
176 void setCalleeSavedStackSize(unsigned Size) { argument
177 CalleeSavedStackSize = Size;
213 unsigned Size = alignTo(MaxOffset - MinOffset, 16); local
214 assert((!HasCalleeSavedStackSize || getCalleeSavedStackSize() == Size) &&
216 return Size;
229 void setSVECalleeSavedStackSize(unsigned Size) { argument
259 setVarArgsGPRSize(unsigned Size) argument
265 setVarArgsFPRSize(unsigned Size) argument
279 setJumpTableEntryInfo(int Idx, unsigned Size, MCSymbol *PCRelSym) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_vector.h41 uptr Size() const { function in class:__sanitizer::Vector
56 EnsureSize(Size() + 1);
63 EnsureSize(Size() + 1);
79 uptr old_size = Size();
97 if (size <= Size())
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFrameInfo.cpp50 int MachineFrameInfo::CreateStackObject(uint64_t Size, Align Alignment, argument
54 assert(Size != 0 && "Cannot allocate zero size stack objects!");
56 Objects.push_back(StackObject(Size, Alignment, 0, false, IsSpillSlot, Alloca,
65 int MachineFrameInfo::CreateSpillStackObject(uint64_t Size, Align Alignment) { argument
67 CreateStackObject(Size, Alignment, true);
82 int MachineFrameInfo::CreateFixedObject(uint64_t Size, int64_t SPOffset, argument
84 assert(Size != 0 && "Cannot allocate zero size fixed stack objects!");
95 StackObject(Size, Alignment, SPOffset, IsImmutable,
101 int MachineFrameInfo::CreateFixedSpillStackObject(uint64_t Size, argument
108 StackObject(Size, Alignmen
201 unsigned Size = TII.getFrameSize(MI); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DFoldingSet.cpp30 return static_cast<unsigned>(hash_combine_range(Data, Data+Size));
34 if (Size != RHS.Size) return false;
35 return memcmp(Data, RHS.Data, Size*sizeof(*Data)) == 0;
41 if (Size != RHS.Size)
42 return Size < RHS.Size;
43 return memcmp(Data, RHS.Data, Size*sizeof(*Data)) < 0;
87 unsigned Size local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugLinesSubsection.cpp36 uint32_t Size = BlockHeader->BlockSize - sizeof(LineBlockFragmentHeader);
37 if (LineInfoSize > Size)
138 uint32_t Size = sizeof(LineFragmentHeader); local
140 Size += sizeof(LineBlockFragmentHeader);
141 Size += B.Lines.size() * sizeof(LineNumberEntry);
143 Size += B.Columns.size() * sizeof(ColumnNumberEntry);
145 return Size;
154 void DebugLinesSubsection::setCodeSize(uint32_t Size) { CodeSize = Size; } argument
H A DDebugInlineeLinesSubsection.cpp68 uint32_t Size = sizeof(InlineeLinesSignature); local
71 Size += Entries.size() * sizeof(InlineeSourceLineHeader);
74 Size += Entries.size() * sizeof(uint32_t);
77 Size += ExtraFileCount * sizeof(uint32_t);
79 assert(Size % 4 == 0);
80 return Size;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DPDBStringTableBuilder.cpp133 uint32_t Size = sizeof(uint32_t); // Hash table begins with 4-byte size field. local
134 Size += sizeof(uint32_t) * computeBucketCount(Strings.size());
136 return Size;
140 uint32_t Size = 0; local
141 Size += sizeof(PDBStringTableHeader);
142 Size += Strings.calculateSerializedSize();
143 Size += calculateHashTableSize();
144 Size += sizeof(uint32_t); // The /names stream ends with the string count.
145 return Size;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCELFStreamer.cpp44 cl::desc("Global Pointer Addressing Size. The default size is 8."),
88 uint64_t Size,
104 ((AccessSize == 0) || (Size == 0) || (Size > GPSize))
115 EmitZeros(Size);
124 if (ELFSymbol->declareCommon(Size, ByteAlignment))
127 if ((AccessSize) && (Size <= GPSize)) {
136 ELFSymbol->setSize(MCConstantExpr::create(Size, getContext()));
140 uint64_t Size,
147 HexagonMCEmitCommonSymbol(Symbol, Size, ByteAlignmen
87 HexagonMCEmitCommonSymbol(MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment, unsigned AccessSize) argument
139 HexagonMCEmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment, unsigned AccessSize) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A Draw_ostream.h124 void SetBufferSize(size_t Size) { argument
126 SetBufferAndMode(new char[Size], Size, BufferKind::InternalBuffer);
183 size_t Size = Str.size(); local
186 if (Size > (size_t)(OutBufEnd - OutBufCur))
187 return write(Str.data(), Size);
189 if (Size) {
190 memcpy(OutBufCur, Str.data(), Size);
191 OutBufCur += Size;
243 raw_ostream &write(const char *Ptr, size_t Size);
329 SetBuffer(char *BufferStart, size_t Size) argument
379 pwrite(const char *Ptr, size_t Size, uint64_t Offset) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp21 uint8_t *SectionMemoryManager::allocateDataSection(uintptr_t Size, argument
28 Size, Alignment);
29 return allocateSection(SectionMemoryManager::AllocationPurpose::RWData, Size,
33 uint8_t *SectionMemoryManager::allocateCodeSection(uintptr_t Size, argument
37 return allocateSection(SectionMemoryManager::AllocationPurpose::Code, Size,
42 SectionMemoryManager::AllocationPurpose Purpose, uintptr_t Size,
49 uintptr_t RequiredSize = Alignment * ((Size + Alignment - 1) / Alignment + 1);
75 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size));
84 Addr + Size - (uintptr_t)PendingMB.base());
89 sys::MemoryBlock((void *)(Addr + Size), EndOfBloc
41 allocateSection( SectionMemoryManager::AllocationPurpose Purpose, uintptr_t Size, unsigned Alignment) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayout.h71 unsigned Size : 15; member in struct:clang::CodeGen::CGBitFieldInfo
84 : Offset(), Size(), IsSigned(), StorageSize(), StorageOffset() {}
86 CGBitFieldInfo(unsigned Offset, unsigned Size, bool IsSigned, argument
88 : Offset(Offset), Size(Size), IsSigned(IsSigned),
99 uint64_t Offset, uint64_t Size,
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/gwp_asan/
H A Dguarded_pool_allocator.cpp66 Size = AllocSize;
174 void *GuardedPoolAllocator::allocate(size_t Size) { argument
185 if (Size == 0 || Size > maximumAllocationSize())
198 Ptr += allocationSlotOffset(Size);
204 markReadWrite(reinterpret_cast<void *>(getPageAddr(Ptr)), Size);
206 Meta->RecordAllocation(Ptr, Size, Backtrace);
249 return Meta->Size;
300 uintptr_t GuardedPoolAllocator::allocationSlotOffset(size_t Size) const {
301 assert(Size >
[all...]
H A Dguarded_pool_allocator.h54 void RecordAllocation(uintptr_t Addr, size_t Size,
73 size_t Size = 0; member in struct:gwp_asan::GuardedPoolAllocator::AllocationMetadata
123 void *allocate(size_t Size);
158 void *mapMemory(size_t Size) const;
159 void markReadWrite(void *Ptr, size_t Size) const;
160 void markInaccessible(void *Ptr, size_t Size) const;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalityPredicates.cpp84 unsigned Size) {
87 return QueryTy.isScalar() && QueryTy.getSizeInBits() < Size;
92 unsigned Size) {
95 return QueryTy.isScalar() && QueryTy.getSizeInBits() > Size;
100 unsigned Size) {
103 return QueryTy.getScalarSizeInBits() < Size;
108 unsigned Size) {
111 return QueryTy.getScalarSizeInBits() > Size;

Completed in 313 milliseconds

1234567891011>>