Home
last modified time | relevance | path

Searched refs:TotalSize (Results 1 – 25 of 71) sorted by relevance

123

/freebsd/sys/contrib/dev/acpica/components/resources/
H A Drscalc.c326 ACPI_RS_LENGTH TotalSize; in AcpiRsGetAmlLength() local
353 TotalSize = AcpiGbl_AmlResourceSizes [Resource->Type]; in AcpiRsGetAmlLength()
367 TotalSize--; in AcpiRsGetAmlLength()
378 TotalSize--; in AcpiRsGetAmlLength()
394 TotalSize = sizeof (AML_RESOURCE_LARGE_HEADER); in AcpiRsGetAmlLength()
399 TotalSize = (ACPI_RS_LENGTH) in AcpiRsGetAmlLength()
400 (TotalSize + Resource->Data.Vendor.ByteLength); in AcpiRsGetAmlLength()
409 *SizeNeeded = AmlSizeNeeded + TotalSize; in AcpiRsGetAmlLength()
421 TotalSize = (ACPI_RS_LENGTH) (TotalSize + in AcpiRsGetAmlLength()
432 TotalSize = (ACPI_RS_LENGTH) (TotalSize + in AcpiRsGetAmlLength()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DMemProfSummaryBuilder.cpp33 auto TotalSize = Info.getTotalSize(); in addRecord() local
37 if (TotalSize > MaxColdTotalSize) in addRecord()
38 MaxColdTotalSize = TotalSize; in addRecord()
41 if (TotalSize > MaxWarmTotalSize) in addRecord()
42 MaxWarmTotalSize = TotalSize; in addRecord()
46 if (TotalSize > MaxHotTotalSize) in addRecord()
47 MaxHotTotalSize = TotalSize; in addRecord()
H A DMemProfReader.cpp69 uint64_t TotalSize = 0; in checkBuffer() local
84 TotalSize += H->TotalSize; in checkBuffer()
85 Next += H->TotalSize; in checkBuffer()
88 if (Buffer.getBufferSize() != TotalSize) { in checkBuffer()
647 Next += Header->TotalSize; in peekBuildIds()
727 Next += Header->TotalSize; in readRawProfile()
H A DInstrProf.cpp1248 static std::unique_ptr<ValueProfData> allocValueProfData(uint32_t TotalSize) { in allocValueProfData() argument
1249 return std::unique_ptr<ValueProfData>(new (::operator new(TotalSize)) in allocValueProfData()
1258 if (TotalSize % sizeof(uint64_t)) in checkIntegrity()
1268 if ((char *)VR - (char *)this > (ptrdiff_t)TotalSize) in checkIntegrity()
1286 uint32_t TotalSize = endian::readNext<uint32_t>(Header, Endianness); in getValueProfData() local
1288 if (D + TotalSize > BufferEnd) in getValueProfData()
1291 std::unique_ptr<ValueProfData> VPD = allocValueProfData(TotalSize); in getValueProfData()
1292 memcpy(VPD.get(), D, TotalSize); in getValueProfData()
1309 sys::swapByteOrder<uint32_t>(TotalSize); in swapBytesToHost()
1331 sys::swapByteOrder<uint32_t>(TotalSize); in swapBytesFromHost()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoadStoreWidening.cpp117 InstrGroup &OG, unsigned &TotalSize, unsigned MaxSize);
118 bool createWideInsts(InstrGroup &OG, InstrGroup &NG, unsigned TotalSize);
119 bool createWideStores(InstrGroup &OG, InstrGroup &NG, unsigned TotalSize);
120 bool createWideLoads(InstrGroup &OG, InstrGroup &NG, unsigned TotalSize);
426 InstrGroup &OG, unsigned &TotalSize, in selectInsts() argument
527 TotalSize = Pow2Size; in selectInsts()
534 unsigned TotalSize) { in createWideInsts() argument
536 return createWideStores(OG, NG, TotalSize); in createWideInsts()
538 return createWideLoads(OG, NG, TotalSize); in createWideInsts()
545 unsigned TotalSize) { in createWideStores() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMapperJITLinkMemoryManager.cpp72 auto TotalSize = SegsSizes->total(); in allocate() local
90 auto TotalSize = Seg.ContentSize + Seg.ZeroFillSize; in allocate() local
93 Seg.WorkingMem = Mapper->prepare(NextSegAddr, TotalSize); in allocate()
95 NextSegAddr += alignTo(TotalSize, Mapper->getPageSize()); in allocate()
131 if (It.stop() - It.start() + 1 >= TotalSize) { in allocate()
139 auto TotalAllocation = alignTo(TotalSize, ReservationUnits); in allocate()
H A DEPCGenericRTDyldMemoryManager.cpp120 uint64_t TotalSize = 0; in reserveAllocationSpace() local
121 TotalSize += alignTo(CodeSize, EPC.getPageSize()); in reserveAllocationSpace()
122 TotalSize += alignTo(RODataSize, EPC.getPageSize()); in reserveAllocationSpace()
123 TotalSize += alignTo(RWDataSize, EPC.getPageSize()); in reserveAllocationSpace()
127 << formatv("{0:x}", TotalSize) << " bytes.\n"; in reserveAllocationSpace()
133 SAs.Reserve, TargetAllocAddr, SAs.Instance, TotalSize)) { in reserveAllocationSpace()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DCachePruning.cpp207 uint64_t TotalSize = 0; in pruneCache() local
244 TotalSize += StatusOrErr->getSize(); in pruneCache()
255 TotalSize -= FileInfo->Size; in pruneCache()
258 << FileInfo->Size << "), new occupancy is " << TotalSize in pruneCache()
286 auto AvailableSpace = TotalSize + SpaceInfo.free; in pruneCache()
296 LLVM_DEBUG(dbgs() << "Occupancy: " << ((100 * TotalSize) / AvailableSpace) in pruneCache()
315 while (TotalSize > TotalSizeTarget && FileInfo != FileInfos.end()) in pruneCache()
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/tests/
H A Drawprofile.cpp77 const uint64_t TotalSize = Read(Ptr); in TEST() local
83 EXPECT_EQ(TotalSize, NumBytes); in TEST()
84 EXPECT_EQ(TotalSize % 8, 0ULL); in TEST()
103 EXPECT_GE(TotalSize - StackOffset, 8ULL + 2 * (8 + 8 + 5 * 8)); in TEST()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DPerfSupportPlugin.cpp103 Record.Prefix.TotalSize = in getCodeLoadRecord()
153 Record.Prefix.TotalSize = EntriesBytes; in getDebugInfoRecord()
155 << "Total size: " << Record.Prefix.TotalSize << "\n" in getDebugInfoRecord()
164 Record.Prefix.TotalSize = 0; in getUnwindingRecord()
199 Record.Prefix.TotalSize = in getUnwindingRecord()
207 << "Total size: " << Record.Prefix.TotalSize << "\n" in getUnwindingRecord()
248 Batch.UnwindingRecord.Prefix.TotalSize = 0; in getRecords()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp178 uint64_t TotalSize = in addCallStack() local
181 ContextSizeInfo.push_back({FullStackId, TotalSize}); in addCallStack()
205 for (const auto &[FullStackId, TotalSize] : ContextSizeInfo) { in createMIBNode()
206 TotalBytes += TotalSize; in createMIBNode()
209 ColdBytes += TotalSize; in createMIBNode()
214 TotalSize * 100 >= MaxColdSize * MinPercentMaxColdSize) in createMIBNode()
225 ConstantInt::get(Type::getInt64Ty(Ctx), TotalSize)); in createMIBNode()
458 for (const auto &[FullStackId, TotalSize] : ContextSizeInfo) { in addSingleAllocTypeAttribute()
461 << getAllocTypeAttributeString(AT) << ": " << TotalSize << "\n"; in addSingleAllocTypeAttribute()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DJITLoaderPerf.cpp67 uint32_t TotalSize; member
119 DebugRecord.Prefix.TotalSize, perf_get_timestamp()}, in writeDebugRecord()
139 CodeRecord.Prefix.TotalSize, perf_get_timestamp()}, in writeCodeRecord()
163 UnwindRecord.Prefix.TotalSize, perf_get_timestamp()}, in writeUnwindRecord()
190 if (Batch.UnwindingRecord.Prefix.TotalSize > 0) in registerJITLoaderPerfImpl()
207 uint32_t TotalSize; // total size of header member
247 Hdr.TotalSize = sizeof(Hdr); in FillMachine()
387 Close.TotalSize = sizeof(Close); in registerJITLoaderPerfEndImpl()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp125 uint32_t TotalSize; // total size of header member
136 uint32_t TotalSize; member
222 Header.TotalSize = sizeof(Header); in PerfJITEventListener()
417 rec.Prefix.TotalSize = sizeof(rec) + // debug record itself in NotifyCode()
448 rec.Prefix.TotalSize = sizeof(rec); // will be increased further in NotifyDebug()
458 rec.Prefix.TotalSize += sizeof(LLVMPerfJitDebugEntry); in NotifyDebug()
459 rec.Prefix.TotalSize += line.FileName.size() + 1; in NotifyDebug()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMUnwindOpAsm.cpp165 size_t TotalSize = Ops.size() + 1; in Finalize() local
166 size_t RoundUpSize = (TotalSize + 3) / 4 * 4; in Finalize()
181 size_t TotalSize = Ops.size() + 2; in Finalize() local
182 size_t RoundUpSize = (TotalSize + 3) / 4 * 4; in Finalize()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430BranchSelector.cpp94 unsigned TotalSize = BlockOffsets[Begin->getNumber()]; in measureFunction() local
96 BlockOffsets[MBB.getNumber()] = TotalSize; in measureFunction()
98 TotalSize += TII->getInstSizeInBytes(MI); in measureFunction()
101 return TotalSize; in measureFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemProfUse.cpp127 auto TotalSize = AllocInfo->Info.getTotalSize(); in addCallStack() local
128 assert(TotalSize); in addCallStack()
130 ContextSizeInfo.push_back({FullStackId, TotalSize}); in addCallStack()
185 uint64_t TotalSize = 0; member
561 uint64_t TotalSize = 0; in readMemprof() local
574 TotalSize += AllocInfo->Info.getTotalSize(); in readMemprof()
590 if (TotalColdSize < TotalSize && MinMatchedColdBytePercent < 100 && in readMemprof()
591 TotalColdSize * 100 >= MinMatchedColdBytePercent * TotalSize) { in readMemprof()
727 << Info.TotalSize << " is matched with " << Length << " frames\n"; in run()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DPerfSharedStructs.h36 uint32_t TotalSize; member
97 static_cast<uint32_t>(Val.Id), Val.TotalSize); in size()
101 if (!SPSPerfJITRecordPrefix::AsArgList::deserialize(IB, Id, Val.TotalSize)) in deserialize()
108 OB, static_cast<uint32_t>(Val.Id), Val.TotalSize); in serialize()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/wasm/
H A DWasmWriter.cpp59 size_t TotalSize = finalize(); in write() local
60 Out.reserveExtraSpace(TotalSize); in write()
/freebsd/contrib/llvm-project/compiler-rt/include/profile/
H A DMIBEntryDef.inc33 MIBEntryDef(TotalSize = 5, TotalSize, uint64_t)
H A DMemProfData.inc52 uint64_t TotalSize;
135 TotalSize = Size;
170 TotalSize += newMIB.TotalSize;
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DMIBEntryDef.inc33 MIBEntryDef(TotalSize = 5, TotalSize, uint64_t)
H A DMemProfData.inc52 uint64_t TotalSize;
135 TotalSize = Size;
170 TotalSize += newMIB.TotalSize;
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dreport.cpp99 void NORETURN reportAllocationSizeTooBig(uptr UserSize, uptr TotalSize, in reportAllocationSizeTooBig() argument
104 UserSize, TotalSize, MaxSize); in reportAllocationSizeTooBig()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSubtarget.cpp390 uint64_t TotalSize = ExplicitOffset + ExplicitArgBytes; in getKernArgSegmentSize() local
394 TotalSize = alignTo(ExplicitArgBytes, Alignment) + ImplicitBytes; in getKernArgSegmentSize()
399 return alignTo(TotalSize, 4); in getKernArgSegmentSize()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp458 SourceLocation::UIntTy TotalSize) { in AllocateLoadedSLocEntries() argument
461 if (CurrentLoadedOffset < TotalSize || in AllocateLoadedSLocEntries()
462 CurrentLoadedOffset - TotalSize < NextLocalOffset) { in AllocateLoadedSLocEntries()
468 CurrentLoadedOffset -= TotalSize; in AllocateLoadedSLocEntries()
2253 uint64_t TotalSize = 0; in noteSLocAddressSpaceUsage() member
2278 EntryInfo.TotalSize += Size; in noteSLocAddressSpaceUsage()
2295 return A.second.TotalSize > B.second.TotalSize || in noteSLocAddressSpaceUsage()
2296 (A.second.TotalSize == B.second.TotalSize && in noteSLocAddressSpaceUsage()
2321 << (FileInfo.TotalSize - FileInfo.DirectSize); in noteSLocAddressSpaceUsage()
2322 ReportedSize += FileInfo.TotalSize; in noteSLocAddressSpaceUsage()

123