Home
last modified time | relevance | path

Searched refs:CodeSize (Results 1 – 25 of 41) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DFunctionSpecialization.h144 unsigned CodeSize = 0; member
149 Bonus(Cost CodeSize, Cost Latency) { in Bonus()
150 int64_t Sz = *CodeSize.getValue(); in Bonus()
156 this->CodeSize = static_cast<unsigned>(Sz); in Bonus()
161 CodeSize += RHS.CodeSize;
167 return Bonus(CodeSize + RHS.CodeSize, Latency + RHS.Latency);
171 return CodeSize == RHS.CodeSize && Latency == RHS.Latency;
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp78 uint64_t CodeSize);
143 uint64_t CodeSize; member
405 uint64_t CodeAddr, uint64_t CodeSize) { in NotifyCode() argument
409 if (CodeSize == 0) in NotifyCode()
416 CodeSize; // and code in NotifyCode()
419 rec.CodeSize = CodeSize; in NotifyCode()
432 Dumpstream->write(reinterpret_cast<const char *>(CodeAddr), CodeSize); in NotifyCode()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp114 Cost CodeSize = 0; in estimateBasicBlocks() local
138 CodeSize += C; in estimateBasicBlocks()
148 return CodeSize; in estimateBasicBlocks()
179 << B.CodeSize << ", Latency = " << B.Latency in getSpecializationBonus()
193 Cost CodeSize = 0; in getUserBonus() local
195 CodeSize = estimateSwitchInst(*I); in getUserBonus()
197 CodeSize = estimateBranchInst(*I); in getUserBonus()
221 Bonus B(CodeSize, Latency); in getUserBonus()
887 FunctionGrowth[F] += FuncSize - B.CodeSize; in findSpecializations()
898 if (B.CodeSize < MinCodeSizeSavings * FuncSize / 100) in findSpecializations()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DPerfSharedStructs.h45 uint64_t CodeSize; member
121 Val.Prefix, Val.Pid, Val.Tid, Val.Vma, Val.CodeAddr, Val.CodeSize, in size()
127 IB, Val.Prefix, Val.Pid, Val.Tid, Val.Vma, Val.CodeAddr, Val.CodeSize, in deserialize()
133 OB, Val.Prefix, Val.Pid, Val.Tid, Val.Vma, Val.CodeAddr, Val.CodeSize, in serialize()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugLinesSubsection.cpp105 Header.CodeSize = CodeSize; in commit()
154 void DebugLinesSubsection::setCodeSize(uint32_t Size) { CodeSize = Size; } in setCodeSize()
H A DSymbolRecordMapping.cpp51 error(IO.mapInteger(Block.CodeSize)); in visitKnownRecord()
413 error(IO.mapInteger(Proc.CodeSize)); in visitKnownRecord()
H A DSymbolDumper.cpp122 W.printHex("CodeSize", Block.CodeSize); in visitKnownRecord()
568 W.printHex("CodeSize", Proc.CodeSize); in visitKnownRecord()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DCodeViewYAMLDebugSections.h47 uint32_t CodeSize; member
94 uint32_t CodeSize; member
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DJITLoaderPerf.cpp90 uint64_t CodeSize; member
137 << CodeRecord.CodeSize << " and code index " in writeCodeRecord()
145 CodeRecord.CodeSize, in writeCodeRecord()
149 << CodeRecord.CodeSize << " bytes of code\n"); in writeCodeRecord()
153 CodeRecord.CodeSize); in writeCodeRecord()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
H A DBreakpadRecords.h213 StackWinRecord(lldb::addr_t RVA, lldb::addr_t CodeSize, in StackWinRecord() argument
216 : Record(StackWin), RVA(RVA), CodeSize(CodeSize), in StackWinRecord()
222 lldb::addr_t CodeSize; variable
H A DBreakpadRecords.cpp509 lldb::addr_t CodeSize; in parse() local
511 if (!to_integer(Str, CodeSize, 16)) in parse()
543 return StackWinRecord(RVA, CodeSize, ParameterSize, SavedRegisterSize, in parse()
548 return L.RVA == R.RVA && L.CodeSize == R.CodeSize && in operator ==()
558 R.CodeSize, R.ParameterSize, R.SavedRegisterSize, R.LocalSize, in operator <<()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugLinesSubsection.h36 support::ulittle32_t CodeSize; // Code size of this line contribution. member
142 uint32_t CodeSize = 0; variable
H A DCodeView.h579 support::ulittle32_t CodeSize; member
/freebsd-14.2/contrib/llvm-project/llvm/tools/lli/
H A DForwardingMemoryManager.h46 void reserveAllocationSpace(uintptr_t CodeSize, Align CodeAlign, in reserveAllocationSpace() argument
50 MemMgr->reserveAllocationSpace(CodeSize, CodeAlign, RODataSize, RODataAlign, in reserveAllocationSpace()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLDebugSections.cpp309 IO.mapRequired("CodeSize", Obj.CodeSize); in mapping()
326 IO.mapRequired("CodeSize", Lines.CodeSize); in map()
418 Result->setCodeSize(Lines.CodeSize); in toCodeViewSubsection()
516 F.CodeSize = YF.CodeSize; in toCodeViewSubsection()
585 Result->Lines.CodeSize = Lines.header()->CodeSize; in fromCodeViewSubsection()
714 YF.CodeSize = F.CodeSize; in fromCodeViewSubsection()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DEPCGenericRTDyldMemoryManager.cpp97 uintptr_t CodeSize, Align CodeAlign, uintptr_t RODataSize, in reserveAllocationSpace() argument
121 TotalSize += alignTo(CodeSize, EPC.getPageSize()); in reserveAllocationSpace()
147 *TargetAllocAddr, ExecutorAddrDiff(alignTo(CodeSize, EPC.getPageSize()))}; in reserveAllocationSpace()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DPerfSupportPlugin.cpp100 Record.CodeSize = Size; in getCodeLoadRecord()
110 + Record.CodeSize // code in getCodeLoadRecord()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DEPCGenericRTDyldMemoryManager.h63 void reserveAllocationSpace(uintptr_t CodeSize, Align CodeAlign,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAsmPrinter.h69 uint64_t ScratchSize, uint64_t CodeSize,
H A DAMDGPUAsmPrinter.cpp363 uint32_t NumSGPR, uint64_t ScratchSize, uint64_t CodeSize, in emitCommonFunctionComments() argument
365 OutStreamer->emitRawComment(" codeLenInByte = " + Twine(CodeSize), false); in emitCommonFunctionComments()
666 uint64_t CodeSize = 0; in getFunctionCodeSize() local
676 CodeSize += TII->getInstSizeInBytes(MI); in getFunctionCodeSize()
680 return CodeSize; in getFunctionCodeSize()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeFunctionSymbol.cpp53 uint64_t NativeFunctionSymbol::getLength() const { return Sym.CodeSize; } in getLength()
H A DSymbolCache.cpp366 Offset < PS.CodeOffset + PS.CodeSize) { in findFunctionSymbolBySectOffset()
512 uint64_t EndAddr = StartAddr + Lines.header()->CodeSize; in findLineTable()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp193 uint64_t CodeSize = 0, RODataSize = 0, RWDataSize = 0; in loadObjectImpl() local
195 if (auto Err = computeTotalAllocSize(Obj, CodeSize, CodeAlign, RODataSize, in loadObjectImpl()
198 MemMgr.reserveAllocationSpace(CodeSize, CodeAlign, RODataSize, RODataAlign, in loadObjectImpl()
536 const ObjectFile &Obj, uint64_t &CodeSize, Align &CodeAlign, in computeTotalAllocSize() argument
642 CodeSize = computeAllocationSizeForSections(CodeSectionSizes, CodeAlign); in computeTotalAllocSize()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h137 virtual void reserveAllocationSpace(uintptr_t CodeSize, Align CodeAlign, in reserveAllocationSpace() argument
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbUtil.cpp445 return {record.Segment, record.CodeOffset, record.CodeSize}; in GetSegmentOffsetAndLength()
674 RangeListEntry fd_range(load_addr + it->RvaStart, it->CodeSize); in GetCorrespondingFrameData()
684 RangeListEntry fd_range(load_addr + it->RvaStart, it->CodeSize); in GetCorrespondingFrameData()

12