Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp581 CodeGenPGO &PGO; member
602 CodeGenPGO &PGO) in ComputeRegionCounts()
603 : PGO(PGO), RecordNextStmtCount(false), CountMap(CountMap) {} in ComputeRegionCounts()
627 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitFunctionDecl()
639 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitCapturedDecl()
646 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitObjCMethodDecl()
653 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitBlockDecl()
683 uint64_t BlockCount = setCount(PGO.getRegionCount(S)); in VisitLabelStmt()
711 uint64_t BodyCount = setCount(PGO.getRegionCount(S)); in VisitWhileStmt()
731 uint64_t LoopCount = PGO.getRegionCount(S); in VisitDoStmt()
[all …]
H A DCodeGenFunction.h1613 CodeGenPGO PGO;
1633 PGO.emitCounterSetOrIncrement(Builder, S, StepV);
1635 PGO.setCurrentStmt(S);
1648 PGO.emitMCDCParameters(Builder);
1662 PGO.emitMCDCCondBitmapReset(Builder, E, MCDCCondBitmapAddr);
1663 PGO.setCurrentStmt(E);
1671 PGO.emitMCDCTestVectorBitmapUpdate(Builder, E, MCDCCondBitmapAddr, *this);
1672 PGO.setCurrentStmt(E);
1679 PGO.emitMCDCCondBitmapUpdate(Builder, E, MCDCCondBitmapAddr, Val, *this);
1680 PGO.setCurrentStmt(E);
[all …]
H A DCGStmt.cpp62 PGO.setCurrentStmt(S); in EmitStmt()
2188 if (PGO.haveRegionCounts()) { in EmitSwitchStmt()
3199 PGO.assignRegionCounters(GlobalDecl(CD), F); in GenerateCapturedStmtFunction()
H A DCodeGenModule.cpp7226 CodeGenPGO PGO(*this); in EmitDeferredUnusedCoverageMappings() local
7228 PGO.emitEmptyCounterMapping(D, getMangledName(GD), in EmitDeferredUnusedCoverageMappings()
7233 CodeGenPGO PGO(*this); in EmitDeferredUnusedCoverageMappings() local
7235 PGO.emitEmptyCounterMapping(D, getMangledName(GD), in EmitDeferredUnusedCoverageMappings()
7240 CodeGenPGO PGO(*this); in EmitDeferredUnusedCoverageMappings() local
7242 PGO.emitEmptyCounterMapping(D, getMangledName(GD), in EmitDeferredUnusedCoverageMappings()
H A DCodeGenFunction.cpp82 DebugInfo(CGM.getModuleDebugInfo()), PGO(cgm), in CodeGenFunction()
1527 PGO.assignRegionCounters(GD, CurFn); in GenerateCode()
H A DCGBlocks.cpp1546 PGO.assignRegionCounters(GlobalDecl(blockDecl), fn); in GenerateBlockFunction()
H A DCGObjC.cpp809 PGO.assignRegionCounters(GlobalDecl(OMD), CurFn); in GenerateObjCMethod()
H A DCGCall.cpp5730 PGO.valueProfile(Builder, llvm::IPVK_IndirectCallTarget, in EmitCall()
H A DCGExpr.cpp185 PGO.setCurrentStmt(E); in EvaluateExprAsBool()
H A DCGStmtOpenMP.cpp669 PGO.assignRegionCounters(GlobalDecl(CD), F); in GenerateOpenMPCapturedStmtFunction()
/freebsd/contrib/sqlite3/tea/win/
H A Drules.vc220 PGO = 0
272 PGO = 1
275 PGO = 2
277 PGO = 0
433 !if $(PGO) > 1
441 !elseif $(PGO) > 0
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineLICM.cpp88 enum class UseBFI { None, PGO, All }; enumerator
94 cl::init(UseBFI::PGO), cl::Hidden,
97 clEnumValN(UseBFI::PGO, "pgo",
1600 (DisableHoistingToHotterBlocks == UseBFI::PGO && HasProfileData)) && in Hoist()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h486 PGO = 1 << 18, enumerator
H A DSymbolRecord.h781 (getFlags() & (CompileSym3Flags::PGO | CompileSym3Flags::LTCG));
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DEnumTables.cpp136 CV_ENUM_CLASS_ENT(CompileSym3Flags, PGO),
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DOpts.td22 def pretty_pgo_analysis_map : FF<"pretty-pgo-analysis-map", "Display PGO analysis values with forma…
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DObjdumpOpts.td214 HelpText<"Display PGO analysis values with "
/freebsd/contrib/llvm-project/lld/COFF/
H A DOptions.td271 HelpText<"Perform context sensitive PGO instrumentation">;
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DCodeGenOptions.def218 /// Choose profile kind for PGO use compilation.
H A DAttrDocs.td2066 PGO (Profile-Guided Optimization) or at optimization level 0.
5811 ``__attribute__((hot))`` marks a function as hot, as a manual alternative to PGO hotness data.
5812 If PGO data is available, the annotation ``__attribute__((hot))`` overrides the profile count based…
5819 ``__attribute__((cold))`` marks a function as cold, as a manual alternative to PGO hotness data.
5820 If PGO data is available, the profile count based hotness overrides the ``__attribute__((cold))`` a…
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.cpp103 PUSH_FLAG(CompileSym3Flags, PGO, Flags, "pgo"); in formatCompileSym3Flags()
/freebsd/contrib/llvm-project/lld/ELF/
H A DOptions.td628 HelpText<"Perform context sensitive PGO instrumentation">;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp845 Flags |= static_cast<uint32_t>(CompileSym3Flags::PGO); in emitCompilerInformation()
/freebsd/contrib/llvm-project/lld/MachO/
H A DOptions.td150 HelpText<"Perform context sensitive PGO instrumentation">, Group<grp_lld>;
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td7330 HelpText<"Enable PGO instrumentation">, Values<"none,clang,llvm,csllvm">,
7340 HelpText<"Specify the profile path in PGO use compilation">,