| /llvm-project-15.0.7/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() 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() 448 unsigned WOpc = (TotalSize == 2) ? Hexagon::S2_storerh_io : in createWideStores() [all …]
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/bolt/include/bolt/Passes/ |
| H A D | StokeInfo.h | 49 uint64_t TotalSize; member 65 HotSize = TotalSize = 0; in reset() 88 << MaxLoopDepth << "," << HotSize << "," << TotalSize << "," in printData()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/compiler-rt/lib/memprof/tests/ |
| H A D | rawprofile.cpp | 102 const uint64_t TotalSize = Read(Ptr); in TEST() local 108 EXPECT_EQ(TotalSize, NumBytes); in TEST() 109 EXPECT_EQ(TotalSize % 8, 0ULL); in TEST() 128 EXPECT_GE(TotalSize - StackOffset, 8ULL + 2 * (8 + 8 + 5 * 8)); in TEST()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | ReorderFunctions.cpp | 119 uint64_t TotalSize = 0; in reorder() local 126 FuncAddr[FuncId] = TotalSize; in reorder() 127 TotalSize += Cg.size(FuncId); in reorder() 155 TotalSize = 0; in reorder() 212 TotalSize += Cg.size(FuncId); in reorder() 216 TotalSize, Calls ? Dist / Calls : 0) in reorder() 218 const uint64_t NewPage = TotalSize / HugePageSize; in reorder()
|
| H A D | HFSort.cpp | 88 uint32_t TotalSize = 0; in freezeClusters() local 91 uint32_t NewSize = TotalSize + C.size(); in freezeClusters() 95 TotalSize = NewSize; in freezeClusters()
|
| H A D | ReorderData.cpp | 142 uint64_t TotalSize = 0; in printOrder() local 156 TotalSize += BD->getSize(); in printOrder() 159 if (TotalSize) in printOrder() 160 outs() << "BOLT-INFO: Total hot symbol size = " << TotalSize << "\n"; in printOrder()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/ |
| 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()
|
| H A D | MapperJITLinkMemoryManager.cpp | 96 auto TotalSize = Seg.ContentSize + Seg.ZeroFillSize; in allocate() local 99 Seg.WorkingMem = Mapper->prepare(NextSegAddr, TotalSize); in allocate() 101 NextSegAddr += alignTo(TotalSize, Mapper->getPageSize()); in allocate()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/ |
| H A D | scudo_errors.cpp | 60 void NORETURN reportAllocationSizeTooBig(uptr UserSize, uptr TotalSize, in reportAllocationSizeTooBig() argument 63 "exceeds maximum supported size of 0x%zx\n", UserSize, TotalSize, in reportAllocationSizeTooBig()
|
| H A D | scudo_errors.h | 27 void NORETURN reportAllocationSizeTooBig(uptr UserSize, uptr TotalSize,
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/wasm/ |
| H A D | WasmWriter.cpp | 58 size_t TotalSize = finalize(); in write() local 59 Out.reserveExtraSpace(TotalSize); in write()
|
| /llvm-project-15.0.7/compiler-rt/include/profile/ |
| H A D | MemProfData.inc | 43 uint64_t TotalSize; 122 TotalSize = Size; 142 TotalSize += newMIB.TotalSize;
|
| H A D | MIBEntryDef.inc | 33 MIBEntryDef(TotalSize = 5, TotalSize, uint64_t)
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | MemProfData.inc | 43 uint64_t TotalSize; 122 TotalSize = Size; 142 TotalSize += newMIB.TotalSize;
|
| H A D | MIBEntryDef.inc | 33 MIBEntryDef(TotalSize = 5, TotalSize, uint64_t)
|
| H A D | InstrProfData.inc | 358 uint32_t TotalSize; 412 uint32_t getSize() const { return TotalSize; } 554 uint32_t TotalSize = sizeof(ValueProfData); 561 TotalSize += getValueProfRecordSize(NumValueSites, 564 return TotalSize; 593 * DstData is not null, the caller is expected to set the TotalSize 600 uint32_t TotalSize = 601 DstData ? DstData->TotalSize : getValueProfDataSize(Closure); 604 DstData ? DstData : Closure->AllocValueProfData(TotalSize); 606 VPD->TotalSize = TotalSize;
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | RawMemProfReader.cpp | 59 uint64_t TotalSize = 0; in checkBuffer() local 67 TotalSize += H->TotalSize; in checkBuffer() 68 Next += H->TotalSize; in checkBuffer() 71 if (Buffer.getBufferSize() != TotalSize) { in checkBuffer() 510 Next += Header->TotalSize; in readRawProfile()
|
| H A D | InstrProf.cpp | 904 static std::unique_ptr<ValueProfData> allocValueProfData(uint32_t TotalSize) { in allocValueProfData() argument 905 return std::unique_ptr<ValueProfData>(new (::operator new(TotalSize)) in allocValueProfData() 914 if (TotalSize % sizeof(uint64_t)) in checkIntegrity() 924 if ((char *)VR - (char *)this > (ptrdiff_t)TotalSize) in checkIntegrity() 942 uint32_t TotalSize = swapToHostOrder<uint32_t>(Header, Endianness); in getValueProfData() local 943 if (D + TotalSize > BufferEnd) in getValueProfData() 946 std::unique_ptr<ValueProfData> VPD = allocValueProfData(TotalSize); in getValueProfData() 947 memcpy(VPD.get(), D, TotalSize); in getValueProfData() 964 sys::swapByteOrder<uint32_t>(TotalSize); in swapBytesToHost() 986 sys::swapByteOrder<uint32_t>(TotalSize); in swapBytesFromHost()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | report.cpp | 95 void NORETURN reportAllocationSizeTooBig(uptr UserSize, uptr TotalSize, in reportAllocationSizeTooBig() argument 100 UserSize, TotalSize, MaxSize); in reportAllocationSizeTooBig()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 470 uint32_t TotalSize = EleCount * EleSize; in lowerPrintfForGpu() local 477 TotalSize += EleSize; in lowerPrintfForGpu() 481 EleCount = TotalSize / 64; in lowerPrintfForGpu() 486 EleCount = TotalSize / 64; in lowerPrintfForGpu() 498 EleCount = TotalSize / 64; in lowerPrintfForGpu()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | TFUtils.cpp | 390 int64_t TotalSize = TF_DataTypeSize(Type); in initInput() local 392 TotalSize *= D; in initInput() 395 TF_AllocateTensor(Type, Dimensions.data(), Dimensions.size(), TotalSize); in initInput() 396 std::memset(TF_TensorData(Input[Index]), 0, TotalSize); in initInput()
|