/freebsd/sys/contrib/dev/acpica/components/resources/ |
H A D | rscalc.c | 326 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/Analysis/ |
H A D | MemoryProfileInfo.cpp | 139 uint64_t TotalSize) { in addCallStack() argument 149 Alloc->TotalSize += TotalSize; in addCallStack() 152 Alloc = new CallStackTrieNode(AllocType, TotalSize); in addCallStack() 162 Curr->TotalSize += TotalSize; in addCallStack() 166 auto *New = new CallStackTrieNode(AllocType, TotalSize); in addCallStack() 188 AllocationType AllocType, uint64_t TotalSize) { in createMIBNode() argument 193 if (TotalSize) in createMIBNode() 195 ConstantInt::get(Type::getInt64Ty(Ctx), TotalSize))); in createMIBNode() 210 Ctx, MIBCallStack, (AllocationType)Node->AllocTypes, Node->TotalSize)); in buildMIBNodes() 247 Node->TotalSize)); in buildMIBNodes() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonStoreWidening.cpp | 105 InstrGroup &OG, unsigned &TotalSize, unsigned MaxSize); 106 bool createWideStores(InstrGroup &OG, InstrGroup &NG, unsigned TotalSize); 306 InstrGroup::iterator End, InstrGroup &OG, unsigned &TotalSize, in selectStores() argument 384 TotalSize = Pow2Size; in selectStores() 392 unsigned TotalSize) { in createWideStores() argument 397 if (TotalSize > 4) in createWideStores() 420 TotalSize, OldM.getAlign(), OldM.getAAInfo()); in createWideStores() 424 unsigned WOpc = (TotalSize == 2) ? Hexagon::S4_storeirh_io : in createWideStores() 425 (TotalSize == 4) ? Hexagon::S4_storeiri_io : 0; in createWideStores() 428 int Val = (TotalSize == 2) ? int16_t(Acc) : int(Acc); in createWideStores() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | MapperJITLinkMemoryManager.cpp | 73 auto TotalSize = SegsSizes->total(); in allocate() local 91 auto TotalSize = Seg.ContentSize + Seg.ZeroFillSize; in allocate() local 94 Seg.WorkingMem = Mapper->prepare(NextSegAddr, TotalSize); in allocate() 96 NextSegAddr += alignTo(TotalSize, Mapper->getPageSize()); in allocate() 132 if (It.stop() - It.start() + 1 >= TotalSize) { in allocate() 140 auto TotalAllocation = alignTo(TotalSize, ReservationUnits); in allocate()
|
H A D | EPCGenericRTDyldMemoryManager.cpp | 120 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 D | CachePruning.cpp | 207 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/llvm/include/llvm/Analysis/ |
H A D | MemoryProfileInfo.h | 61 uint64_t TotalSize; member 64 CallStackTrieNode(AllocationType Type, uint64_t TotalSize) in CallStackTrieNode() 65 : AllocTypes(static_cast<uint8_t>(Type)), TotalSize(TotalSize) {} in CallStackTrieNode() 99 uint64_t TotalSize = 0);
|
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/tests/ |
H A D | rawprofile.cpp | 77 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/PerfJITEvents/ |
H A D | PerfJITEventListener.cpp | 121 uint32_t TotalSize; // total size of header member 132 uint32_t TotalSize; member 219 Header.TotalSize = sizeof(Header); in PerfJITEventListener() 414 rec.Prefix.TotalSize = sizeof(rec) + // debug record itself in NotifyCode() 445 rec.Prefix.TotalSize = sizeof(rec); // will be increased further in NotifyDebug() 455 rec.Prefix.TotalSize += sizeof(LLVMPerfJitDebugEntry); in NotifyDebug() 456 rec.Prefix.TotalSize += line.FileName.size() + 1; in NotifyDebug()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMUnwindOpAsm.cpp | 165 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 D | MSP430BranchSelector.cpp | 95 unsigned TotalSize = BlockOffsets[Begin->getNumber()]; in measureFunction() local 97 BlockOffsets[MBB.getNumber()] = TotalSize; in measureFunction() 99 TotalSize += TII->getInstSizeInBytes(MI); in measureFunction() 102 return TotalSize; in measureFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/wasm/ |
H A D | WasmWriter.cpp | 61 size_t TotalSize = finalize(); in write() local 62 Out.reserveExtraSpace(TotalSize); in write()
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | MemProfReader.cpp | 66 uint64_t TotalSize = 0; in checkBuffer() local 81 TotalSize += H->TotalSize; in checkBuffer() 82 Next += H->TotalSize; in checkBuffer() 85 if (Buffer.getBufferSize() != TotalSize) { in checkBuffer() 670 Next += Header->TotalSize; in peekBuildIds() 750 Next += Header->TotalSize; in readRawProfile()
|
H A D | InstrProf.cpp | 1195 static std::unique_ptr<ValueProfData> allocValueProfData(uint32_t TotalSize) { in allocValueProfData() argument 1196 return std::unique_ptr<ValueProfData>(new (::operator new(TotalSize)) in allocValueProfData() 1205 if (TotalSize % sizeof(uint64_t)) in checkIntegrity() 1215 if ((char *)VR - (char *)this > (ptrdiff_t)TotalSize) in checkIntegrity() 1233 uint32_t TotalSize = endian::readNext<uint32_t>(Header, Endianness); in getValueProfData() local 1235 if (D + TotalSize > BufferEnd) in getValueProfData() 1238 std::unique_ptr<ValueProfData> VPD = allocValueProfData(TotalSize); in getValueProfData() 1239 memcpy(VPD.get(), D, TotalSize); in getValueProfData() 1256 sys::swapByteOrder<uint32_t>(TotalSize); in swapBytesToHost() 1278 sys::swapByteOrder<uint32_t>(TotalSize); in swapBytesFromHost()
|
H A D | SampleProfWriter.cpp | 104 size_t TotalSize; in writeWithSizeLimitInternal() local 113 TotalSize = StringBuffer.size(); in writeWithSizeLimitInternal() 119 TotalSize += LineCount; in writeWithSizeLimitInternal() 121 if (TotalSize <= OutputSizeLimit) in writeWithSizeLimitInternal() 124 Strategy->Erase(TotalSize); in writeWithSizeLimitInternal()
|
/freebsd/contrib/llvm-project/compiler-rt/include/profile/ |
H A D | MIBEntryDef.inc | 33 MIBEntryDef(TotalSize = 5, TotalSize, uint64_t)
|
H A D | MemProfData.inc | 52 uint64_t TotalSize; 135 TotalSize = Size; 170 TotalSize += newMIB.TotalSize;
|
H A D | InstrProfData.inc | 416 uint32_t TotalSize; 470 uint32_t getSize() const { return TotalSize; } 613 uint32_t TotalSize = sizeof(ValueProfData); 620 TotalSize += getValueProfRecordSize(NumValueSites, 623 return TotalSize; 652 * DstData is not null, the caller is expected to set the TotalSize 659 uint32_t TotalSize = 660 DstData ? DstData->TotalSize : getValueProfDataSize(Closure); 663 DstData ? DstData : Closure->AllocValueProfData(TotalSize); 665 VPD->TotalSize = TotalSize;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | MIBEntryDef.inc | 33 MIBEntryDef(TotalSize = 5, TotalSize, uint64_t)
|
H A D | MemProfData.inc | 52 uint64_t TotalSize; 135 TotalSize = Size; 170 TotalSize += newMIB.TotalSize;
|
H A D | InstrProfData.inc | 416 uint32_t TotalSize; 470 uint32_t getSize() const { return TotalSize; } 613 uint32_t TotalSize = sizeof(ValueProfData); 620 TotalSize += getValueProfRecordSize(NumValueSites, 623 return TotalSize; 652 * DstData is not null, the caller is expected to set the TotalSize 659 uint32_t TotalSize = 660 DstData ? DstData->TotalSize : getValueProfDataSize(Closure); 663 DstData ? DstData : Closure->AllocValueProfData(TotalSize); 665 VPD->TotalSize = TotalSize;
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | report.cpp | 90 void NORETURN reportAllocationSizeTooBig(uptr UserSize, uptr TotalSize, 95 UserSize, TotalSize, MaxSize); in reportSanityCheckError() 107 reportAllocationSizeTooBig(uptr UserSize,uptr TotalSize,uptr MaxSize) reportAllocationSizeTooBig() argument
|
H A D | report.h | 35 void NORETURN reportAllocationSizeTooBig(uptr UserSize, uptr TotalSize,
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | SourceManager.cpp | 466 SourceLocation::UIntTy TotalSize) { in AllocateLoadedSLocEntries() argument 469 if (CurrentLoadedOffset < TotalSize || in AllocateLoadedSLocEntries() 470 CurrentLoadedOffset - TotalSize < NextLocalOffset) { in AllocateLoadedSLocEntries() 476 CurrentLoadedOffset -= TotalSize; in AllocateLoadedSLocEntries() 2255 uint64_t TotalSize = 0; in noteSLocAddressSpaceUsage() member 2280 EntryInfo.TotalSize += Size; in noteSLocAddressSpaceUsage() 2297 return A.second.TotalSize > B.second.TotalSize || in noteSLocAddressSpaceUsage() 2298 (A.second.TotalSize == B.second.TotalSize && in noteSLocAddressSpaceUsage() 2322 << (FileInfo.TotalSize - FileInfo.DirectSize); in noteSLocAddressSpaceUsage() 2323 ReportedSize += FileInfo.TotalSize; in noteSLocAddressSpaceUsage()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | MemProfiler.cpp | 717 uint64_t TotalSize = 0; in addCallStack() local 719 TotalSize = AllocInfo->Info.getTotalSize(); in addCallStack() 720 assert(TotalSize); in addCallStack() 722 AllocTrie.addCallStack(AllocType, StackIds, TotalSize); in addCallStack() 780 uint64_t TotalSize = 0; member 1060 << Info.TotalSize << (Info.Matched ? " is" : " not") in run()
|