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 DCGStmt.cpp63 PGO->setCurrentStmt(S); in EmitStmt()
80 PGO->markStmtMaybeUsed(S); in EmitStmt()
924 PGO->markStmtMaybeUsed(Skipped); in EmitIfStmt()
2311 PGO->markStmtMaybeUsed(S.getBody()); in EmitSwitchStmt()
2354 if (PGO->haveRegionCounts()) { in EmitSwitchStmt()
3380 PGO->assignRegionCounters(GlobalDecl(CD), F); in GenerateCapturedStmtFunction()
H A DCodeGenFunction.cpp84 PGO(std::make_unique<CodeGenPGO>(cgm)), in CodeGenFunction()
1576 PGO->assignRegionCounters(GD, CurFn); in GenerateCode()
1664 PGO->verifyCounterMap(); in GenerateCode()
1788 PGO->markStmtMaybeUsed(Cond); in ConstantFoldsToSimpleInteger()
H A DCGDecl.cpp372 PGO->markStmtMaybeUsed(D.getInit()); // FIXME: Too lazy in AddInitializerToStaticVarDecl()
1949 PGO->markStmtMaybeUsed(Init); in EmitAutoVarInit()
2062 PGO->markStmtMaybeUsed(Init); in EmitAutoVarInit()
H A DCodeGenModule.cpp7559 CodeGenPGO PGO(*this); in EmitDeferredUnusedCoverageMappings() local
7561 PGO.emitEmptyCounterMapping(D, getMangledName(GD), in EmitDeferredUnusedCoverageMappings()
7566 CodeGenPGO PGO(*this); in EmitDeferredUnusedCoverageMappings() local
7568 PGO.emitEmptyCounterMapping(D, getMangledName(GD), in EmitDeferredUnusedCoverageMappings()
7573 CodeGenPGO PGO(*this); in EmitDeferredUnusedCoverageMappings() local
7575 PGO.emitEmptyCounterMapping(D, getMangledName(GD), in EmitDeferredUnusedCoverageMappings()
H A DCGBlocks.cpp1578 PGO->assignRegionCounters(GlobalDecl(blockDecl), fn); in GenerateBlockFunction()
H A DCGObjC.cpp809 PGO->assignRegionCounters(GlobalDecl(OMD), CurFn); in GenerateObjCMethod()
H A DCodeGenFunction.h1644 std::unique_ptr<CodeGenPGO> PGO;
H A DCGCall.cpp5917 PGO->valueProfile(Builder, llvm::IPVK_IndirectCallTarget, CI, CalleePtr); in EmitCall()
H A DCGExpr.cpp204 PGO->setCurrentStmt(E); in EvaluateExprAsBool()
H A DCGStmtOpenMP.cpp714 PGO->assignRegionCounters(GlobalDecl(CD), F); in GenerateOpenMPCapturedStmtFunction()
/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",
1623 (DisableHoistingToHotterBlocks == UseBFI::PGO && HasProfileData)) && in Hoist()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h459 PGO = 1 << 18, enumerator
H A DSymbolRecord.h793 (getFlags() & (CompileSym3Flags::PGO | CompileSym3Flags::LTCG)); in hasOptimizations()
/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.td288 HelpText<"Perform context sensitive PGO instrumentation">;
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.cpp103 PUSH_FLAG(CompileSym3Flags, PGO, Flags, "pgo"); in formatCompileSym3Flags()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DCodeGenOptions.def221 /// Choose profile kind for PGO use compilation.
H A DAttrDocs.td2515 PGO (Profile-Guided Optimization) or at optimization level 0.
6578 ``__attribute__((hot))`` marks a function as hot, as a manual alternative to PGO hotness data.
6579 If PGO data is available, the annotation ``__attribute__((hot))`` overrides the profile count based…
6586 ``__attribute__((cold))`` marks a function as cold, as a manual alternative to PGO hotness data.
6587 If PGO data is available, the profile count based hotness overrides the ``__attribute__((cold))`` a…
/freebsd/contrib/llvm-project/lld/ELF/
H A DOptions.td658 HelpText<"Perform context sensitive PGO instrumentation">;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp885 Flags |= static_cast<uint32_t>(CompileSym3Flags::PGO); in emitCompilerInformation()
/freebsd/contrib/llvm-project/lld/MachO/
H A DOptions.td200 HelpText<"Perform context sensitive PGO instrumentation">, Group<grp_lld>;
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td2695 "the given fraction of PGO counters "
2706 "code responsible for the given fraction of PGO counters "
7869 HelpText<"Enable PGO instrumentation">, Values<"none,clang,llvm,csllvm,sample-coldcov">,
7879 HelpText<"Specify the profile path in PGO use compilation">,