| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 581 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 D | CGStmt.cpp | 63 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 D | CodeGenFunction.cpp | 84 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 D | CGDecl.cpp | 372 PGO->markStmtMaybeUsed(D.getInit()); // FIXME: Too lazy in AddInitializerToStaticVarDecl() 1949 PGO->markStmtMaybeUsed(Init); in EmitAutoVarInit() 2062 PGO->markStmtMaybeUsed(Init); in EmitAutoVarInit()
|
| H A D | CodeGenModule.cpp | 7559 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 D | CGBlocks.cpp | 1578 PGO->assignRegionCounters(GlobalDecl(blockDecl), fn); in GenerateBlockFunction()
|
| H A D | CGObjC.cpp | 809 PGO->assignRegionCounters(GlobalDecl(OMD), CurFn); in GenerateObjCMethod()
|
| H A D | CodeGenFunction.h | 1644 std::unique_ptr<CodeGenPGO> PGO;
|
| H A D | CGCall.cpp | 5917 PGO->valueProfile(Builder, llvm::IPVK_IndirectCallTarget, CI, CalleePtr); in EmitCall()
|
| H A D | CGExpr.cpp | 204 PGO->setCurrentStmt(E); in EvaluateExprAsBool()
|
| H A D | CGStmtOpenMP.cpp | 714 PGO->assignRegionCounters(GlobalDecl(CD), F); in GenerateOpenMPCapturedStmtFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineLICM.cpp | 88 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 D | CodeView.h | 459 PGO = 1 << 18, enumerator
|
| H A D | SymbolRecord.h | 793 (getFlags() & (CompileSym3Flags::PGO | CompileSym3Flags::LTCG)); in hasOptimizations()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | EnumTables.cpp | 136 CV_ENUM_CLASS_ENT(CompileSym3Flags, PGO),
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | Opts.td | 22 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 D | ObjdumpOpts.td | 214 HelpText<"Display PGO analysis values with "
|
| /freebsd/contrib/llvm-project/lld/COFF/ |
| H A D | Options.td | 288 HelpText<"Perform context sensitive PGO instrumentation">;
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| H A D | MinimalSymbolDumper.cpp | 103 PUSH_FLAG(CompileSym3Flags, PGO, Flags, "pgo"); in formatCompileSym3Flags()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | CodeGenOptions.def | 221 /// Choose profile kind for PGO use compilation.
|
| H A D | AttrDocs.td | 2515 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 D | Options.td | 658 HelpText<"Perform context sensitive PGO instrumentation">;
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 885 Flags |= static_cast<uint32_t>(CompileSym3Flags::PGO); in emitCompilerInformation()
|
| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | Options.td | 200 HelpText<"Perform context sensitive PGO instrumentation">, Group<grp_lld>;
|
| /freebsd/contrib/llvm-project/clang/include/clang/Driver/ |
| H A D | Options.td | 2695 "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">,
|