| /netbsd-src/sys/external/bsd/acpica/dist/resources/ |
| H A D | rscalc.c | 218 ACPI_RS_LENGTH TotalSize; in AcpiRsGetAmlLength() local 245 TotalSize = AcpiGbl_AmlResourceSizes [Resource->Type]; in AcpiRsGetAmlLength() 259 TotalSize--; in AcpiRsGetAmlLength() 270 TotalSize--; in AcpiRsGetAmlLength() 286 TotalSize = sizeof (AML_RESOURCE_LARGE_HEADER); in AcpiRsGetAmlLength() 291 TotalSize = (ACPI_RS_LENGTH) in AcpiRsGetAmlLength() 292 (TotalSize + Resource->Data.Vendor.ByteLength); in AcpiRsGetAmlLength() 301 *SizeNeeded = AmlSizeNeeded + TotalSize; in AcpiRsGetAmlLength() 313 TotalSize = (ACPI_RS_LENGTH) (TotalSize + in AcpiRsGetAmlLength() 324 TotalSize = (ACPI_RS_LENGTH) (TotalSize + in AcpiRsGetAmlLength() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLinkMemoryManager.cpp | 87 size_t TotalSize = 0; in allocate() local 96 TotalSize = alignTo(TotalSize, sys::Process::getPageSizeEstimate()); in allocate() 97 TotalSize += Seg.getContentSize(); in allocate() 98 TotalSize += Seg.getZeroFillSize(); in allocate() 104 sys::Memory::allocateMappedMemory(TotalSize, nullptr, ReadWrite, EC); in allocate()
|
| /netbsd-src/external/apache2/llvm/dist/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() 421 TotalSize, OldM.getAlign(), OldM.getAAInfo()); in createWideStores() 425 unsigned WOpc = (TotalSize == 2) ? Hexagon::S4_storeirh_io : in createWideStores() 426 (TotalSize == 4) ? Hexagon::S4_storeiri_io : 0; in createWideStores() 429 int Val = (TotalSize == 2) ? int16_t(Acc) : int(Acc); in createWideStores() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
| H A D | CachePruning.cpp | 205 uint64_t TotalSize = 0; in pruneCache() local 242 TotalSize += StatusOrErr->getSize(); in pruneCache() 253 TotalSize -= FileInfo->Size; in pruneCache() 256 << FileInfo->Size << "), new occupancy is " << TotalSize in pruneCache() 273 auto AvailableSpace = TotalSize + SpaceInfo.free; in pruneCache() 283 LLVM_DEBUG(dbgs() << "Occupancy: " << ((100 * TotalSize) / AvailableSpace) in pruneCache() 289 while (TotalSize > TotalSizeTarget && FileInfo != FileInfos.end()) in pruneCache()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/PerfJITEvents/ |
| H A D | PerfJITEventListener.cpp | 122 uint32_t TotalSize; // total size of header member 133 uint32_t TotalSize; member 220 Header.TotalSize = sizeof(Header); in PerfJITEventListener() 412 rec.Prefix.TotalSize = sizeof(rec) + // debug record itself in NotifyCode() 443 rec.Prefix.TotalSize = sizeof(rec); // will be increased further in NotifyDebug() 453 rec.Prefix.TotalSize += sizeof(LLVMPerfJitDebugEntry); in NotifyDebug() 454 rec.Prefix.TotalSize += line.FileName.size() + 1; in NotifyDebug()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMUnwindOpAsm.cpp | 162 size_t TotalSize = Ops.size() + 1; in Finalize() local 163 size_t RoundUpSize = (TotalSize + 3) / 4 * 4; in Finalize() 178 size_t TotalSize = Ops.size() + 2; in Finalize() local 179 size_t RoundUpSize = (TotalSize + 3) / 4 * 4; in Finalize()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | OrcRemoteTargetClient.h | 396 auto TotalSize = calcTotalAllocSize(Request, TargetPageSize); in allocateHostBlocks() local 397 if (!TotalSize) in allocateHostBlocks() 398 return TotalSize.takeError(); in allocateHostBlocks() 406 sys::Memory::allocateMappedMemory(*TotalSize, nullptr, ReadWrite, EC); in allocateHostBlocks() 500 size_t TotalSize = 0; in calcTotalAllocSize() local 509 TotalSize = alignTo(TotalSize, TargetPageSize); in calcTotalAllocSize() 510 TotalSize += Seg.getContentSize(); in calcTotalAllocSize() 511 TotalSize += Seg.getZeroFillSize(); in calcTotalAllocSize() 514 return TotalSize; in calcTotalAllocSize()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/wasm/ |
| H A D | Writer.cpp | 58 size_t TotalSize = finalize(); in write() local 59 Out.reserveExtraSpace(TotalSize); in write()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/ |
| H A D | InstrProf.cpp | 873 static std::unique_ptr<ValueProfData> allocValueProfData(uint32_t TotalSize) { in allocValueProfData() argument 874 return std::unique_ptr<ValueProfData>(new (::operator new(TotalSize)) in allocValueProfData() 882 if (TotalSize % sizeof(uint64_t)) in checkIntegrity() 890 if ((char *)VR - (char *)this > (ptrdiff_t)TotalSize) in checkIntegrity() 906 uint32_t TotalSize = swapToHostOrder<uint32_t>(Header, Endianness); in getValueProfData() local 907 if (D + TotalSize > BufferEnd) in getValueProfData() 910 std::unique_ptr<ValueProfData> VPD = allocValueProfData(TotalSize); in getValueProfData() 911 memcpy(VPD.get(), D, TotalSize); in getValueProfData() 928 sys::swapByteOrder<uint32_t>(TotalSize); in swapBytesToHost() 950 sys::swapByteOrder<uint32_t>(TotalSize); in swapBytesFromHost()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 475 uint32_t TotalSize = EleCount * EleSize; in lowerPrintfForGpu() local 482 TotalSize += EleSize; in lowerPrintfForGpu() 486 EleCount = TotalSize / 64; in lowerPrintfForGpu() 491 EleCount = TotalSize / 64; in lowerPrintfForGpu() 503 EleCount = TotalSize / 64; in lowerPrintfForGpu()
|
| H A D | AMDGPUSubtarget.cpp | 605 uint64_t TotalSize = ExplicitOffset + ExplicitArgBytes; in getKernArgSegmentSize() local 609 TotalSize = alignTo(ExplicitArgBytes, Alignment) + ImplicitBytes; in getKernArgSegmentSize() 613 return alignTo(TotalSize, 4); in getKernArgSegmentSize()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | TFUtils.cpp | 432 int64_t TotalSize = TF_DataTypeSize(Type); in initInput() local 434 TotalSize *= D; in initInput() 437 TF_AllocateTensor(Type, Dimensions.data(), Dimensions.size(), TotalSize); in initInput() 438 std::memset(TF_TensorData(Input[Index]), 0, TotalSize); in initInput()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/ |
| H A D | InstrProfData.inc | 356 uint32_t TotalSize; 410 uint32_t getSize() const { return TotalSize; } 552 uint32_t TotalSize = sizeof(ValueProfData); 559 TotalSize += getValueProfRecordSize(NumValueSites, 562 return TotalSize; 591 * DstData is not null, the caller is expected to set the TotalSize 598 uint32_t TotalSize = 599 DstData ? DstData->TotalSize : getValueProfDataSize(Closure); 602 DstData ? DstData : Closure->AllocValueProfData(TotalSize); 604 VPD->TotalSize = TotalSize;
|
| H A D | InstrProf.h | 1088 inline std::unique_ptr<Summary> allocSummary(uint32_t TotalSize) { in allocSummary() argument 1089 return std::unique_ptr<Summary>(new (::operator new(TotalSize)) in allocSummary() 1090 Summary(TotalSize)); in allocSummary()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/profile/ |
| H A D | InstrProfData.inc | 253 uint32_t TotalSize; 308 uint32_t getSize() const { return TotalSize; } 477 uint32_t TotalSize = sizeof(ValueProfData); 481 return TotalSize; 487 TotalSize += getValueProfRecordSize(NumValueSites, 490 return TotalSize; 523 uint32_t TotalSize = getValueProfDataSize(Closure); 526 DstData ? DstData : Closure->AllocValueProfData(TotalSize); 528 VPD->TotalSize = TotalSize;
|
| H A D | InstrProfilingWriter.c | 128 CurVData->TotalSize) != 0) in writeValueProfData()
|
| /netbsd-src/sys/external/bsd/acpica/dist/utilities/ |
| H A D | uttrack.c | 179 AcpiGbl_GlobalList->TotalSize += (UINT32) Size; in AcpiUtAllocateAndTrack() 248 AcpiGbl_GlobalList->TotalSize += (UINT32) Size; in AcpiUtAllocateZeroedAndTrack()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MallocChecker.cpp | 1010 SVal TotalSize = SB.evalBinOp(State, BO_Mul, BlocksVal, BlockBytesVal, in evalMulForBufferSize() local 1012 return TotalSize; in evalMulForBufferSize() 1204 SVal TotalSize = evalMulForBufferSize(C, Call.getArgExpr(0), Call.getArgExpr(1)); in checkGMallocN() local 1205 State = MallocMemAux(C, Call, TotalSize, Init, State, AF_Malloc); in checkGMallocN() 1216 SVal TotalSize = evalMulForBufferSize(C, Call.getArgExpr(0), Call.getArgExpr(1)); in checkGMallocN0() local 1217 State = MallocMemAux(C, Call, TotalSize, Init, State, AF_Malloc); in checkGMallocN0() 2385 SVal TotalSize = C.getSVal(Arg1); in ReallocMemAux() local 2387 TotalSize = evalMulForBufferSize(C, Arg1, CE->getArg(2)); in ReallocMemAux() 2388 if (!TotalSize.getAs<DefinedOrUnknownSVal>()) in ReallocMemAux() 2393 svalBuilder.evalEQ(State, TotalSize.castAs<DefinedOrUnknownSVal>(), in ReallocMemAux() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | StackColoring.cpp | 1233 unsigned TotalSize = 0; in runOnMachineFunction() local 1241 TotalSize += MFI->getObjectSize(i); in runOnMachineFunction() 1244 LLVM_DEBUG(dbgs() << "Total Stack size: " << TotalSize << " bytes\n\n"); in runOnMachineFunction() 1248 if (NumMarkers < 2 || TotalSize < 16 || DisableColoring || in runOnMachineFunction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ |
| H A D | OrcRPCTPCServer.h | 476 uint64_t TotalSize = 0; in reserveMemory() local 487 TotalSize += Size; in reserveMemory() 492 auto MB = sys::Memory::allocateMappedMemory(TotalSize, nullptr, PF, EC); in reserveMemory()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/ |
| H A D | MachOWriter.cpp | 515 size_t TotalSize = totalSize(); in write() local 516 Buf = WritableMemoryBuffer::getNewMemBuffer(TotalSize); in write() 520 Twine::utohexstr(TotalSize) + " bytes"); in write()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ELF/ |
| H A D | Object.cpp | 2547 size_t TotalSize = totalSize(); in finalize() local 2548 Buf = WritableMemoryBuffer::getNewMemBuffer(TotalSize); in finalize() 2552 Twine::utohexstr(TotalSize) + " bytes"); in finalize() 2587 TotalSize = 0; in finalize() 2591 TotalSize = std::max(TotalSize, Sec.Offset + Sec.Size); in finalize() 2594 Buf = WritableMemoryBuffer::getNewMemBuffer(TotalSize); in finalize() 2598 Twine::utohexstr(TotalSize) + " bytes"); in finalize() 2650 assert(Offset == TotalSize); in write() 2712 TotalSize = LengthCalc.getBufferOffset() + in finalize() 2716 Buf = WritableMemoryBuffer::getNewMemBuffer(TotalSize); in finalize() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/ |
| H A D | coff2yaml.cpp | 226 YAMLFD.TotalSize = ObjFD->TotalSize; in dumpFunctionDefinition()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/ |
| H A D | FuzzerLoop.cpp | 742 size_t TotalSize = 0; in ReadAndExecuteSeedCorpora() local 753 TotalSize += File.Size; in ReadAndExecuteSeedCorpora() 770 SizedFiles.size(), MinSize, MaxSize, TotalSize, GetPeakRSSMb()); in ReadAndExecuteSeedCorpora()
|