Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCostModel.cpp34 CodeSize, enumerator
46 clEnumValN(OutputCostKind::CodeSize, "code-size", "Code size"),
97 case OutputCostKind::CodeSize: in OutputCostKindToTargetCostKind()
118 InstructionCost CodeSize = getCost(Inst, TTI::TCK_CodeSize, TTI, TLI); in run() local
122 if (RThru == CodeSize && RThru == Lat && RThru == SizeLat) in run()
125 OS << "RThru:" << RThru << " CodeSize:" << CodeSize << " Lat:" << Lat in run()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DFunctionSpecialization.h142 unsigned CodeSize; member
147 Spec(Function *F, const SpecSig &S, unsigned Score, unsigned CodeSize) in Spec()
148 : F(F), Sig(S), Score(Score), CodeSize(CodeSize) {} in Spec()
149 Spec(Function *F, const SpecSig &&S, unsigned Score, unsigned CodeSize) in Spec()
150 : F(F), Sig(S), Score(Score), CodeSize(CodeSize) {} in Spec()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp110 Cost CodeSize = 0; in estimateBasicBlocks() local
131 CodeSize += C; in estimateBasicBlocks()
140 return CodeSize; in estimateBasicBlocks()
152 Cost CodeSize; in getCodeSizeSavingsFromPendingPHIs() local
157 CodeSize += getCodeSizeSavingsForUser(Phi); in getCodeSizeSavingsFromPendingPHIs()
159 return CodeSize; in getCodeSizeSavingsFromPendingPHIs()
166 Cost CodeSize; in getCodeSizeSavingsForArg() local
170 CodeSize += getCodeSizeSavingsForUser(UI, A, C); in getCodeSizeSavingsForArg()
173 << CodeSize << "} for argument " << *A << "\n"); in getCodeSizeSavingsForArg()
174 return CodeSize; in getCodeSizeSavingsForArg()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIProgramInfo.cpp218 uint64_t CodeSize = 0; in getFunctionCodeSize() local
226 CodeSize = alignTo(CodeSize, MBB.getAlignment()); in getFunctionCodeSize()
239 CodeSize += TII->getInstSizeInBytes(MI); in getFunctionCodeSize()
243 CodeSizeInBytes = CodeSize; in getFunctionCodeSize()
244 return CodeSize; in getFunctionCodeSize()
H A DAMDGPUAsmPrinter.h72 const MCExpr *ScratchSize, uint64_t CodeSize,
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp82 uint64_t CodeSize);
147 uint64_t CodeSize; member
408 uint64_t CodeAddr, uint64_t CodeSize) { in NotifyCode() argument
412 if (CodeSize == 0) in NotifyCode()
419 CodeSize; // and code in NotifyCode()
422 rec.CodeSize = CodeSize; in NotifyCode()
435 Dumpstream->write(reinterpret_cast<const char *>(CodeAddr), CodeSize); in NotifyCode()
/freebsd/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/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()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DCodeViewYAMLDebugSections.h48 uint32_t CodeSize; member
95 uint32_t CodeSize; member
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DJITLoaderPerf.cpp89 uint64_t CodeSize; member
136 << CodeRecord.CodeSize << " and code index " in writeCodeRecord()
144 CodeRecord.CodeSize, in writeCodeRecord()
148 << CodeRecord.CodeSize << " bytes of code\n"); in writeCodeRecord()
152 CodeRecord.CodeSize); in writeCodeRecord()
/freebsd/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()
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 <<()
508 lldb::addr_t CodeSize; parse() local
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugLinesSubsection.h37 support::ulittle32_t CodeSize; // Code size of this line contribution. member
143 uint32_t CodeSize = 0; variable
/freebsd/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/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLDebugSections.cpp307 IO.mapRequired("CodeSize", Obj.CodeSize); in mapping()
324 IO.mapRequired("CodeSize", Lines.CodeSize); in map()
416 Result->setCodeSize(Lines.CodeSize); in toCodeViewSubsection()
514 F.CodeSize = YF.CodeSize; in toCodeViewSubsection()
583 Result->Lines.CodeSize = Lines.header()->CodeSize; in fromCodeViewSubsection()
712 YF.CodeSize = F.CodeSize; in fromCodeViewSubsection()
/freebsd/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/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DPerfSupportPlugin.cpp99 Record.CodeSize = Size; in getCodeLoadRecord()
109 + Record.CodeSize // code in getCodeLoadRecord()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DEPCGenericRTDyldMemoryManager.h65 void reserveAllocationSpace(uintptr_t CodeSize, Align CodeAlign,
/freebsd/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp290 for (unsigned I = 0, E = Offsets.size(), CodeSize = Code->getBufferSize(); in fillRanges() local
293 if (Offset >= CodeSize) { in fillRanges()
299 if (Offset + Length > CodeSize) { in fillRanges()
/freebsd/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()
516 uint64_t EndAddr = StartAddr + Lines.header()->CodeSize; in findLineTable()
/freebsd/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/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h138 virtual void reserveAllocationSpace(uintptr_t CodeSize, Align CodeAlign, in reserveAllocationSpace() argument
/freebsd/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