HomeSort by: relevance | last modified time | path
    Searched refs:PGO (Results 1 - 23 of 23) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CodeGenPGO.cpp 1 //===--- CodeGenPGO.cpp - PGO Instrumentation for LLVM CodeGen --*- C++ -*-===//
51 /// The version of the PGO hash algorithm.
62 /// Stable hasher for PGO region counters.
143 /// Get the PGO hash version used in the given indexed profile.
153 /// A RecursiveASTVisitor that fills a map of statements to PGO counters.
270 /// Get version \p HashVersion of the PGO hash for \p S.
363 /// PGO state.
364 CodeGenPGO &PGO;
385 CodeGenPGO &PGO)
386 : PGO(PGO), RecordNextStmtCount(false), CountMap(CountMap) {
    [all...]
CGStmt.cpp 54 PGO.setCurrentStmt(S);
751 // Prefer the PGO based weights over the likelihood attribute.
1860 if (PGO.haveRegionCounts()) {
2751 PGO.assignRegionCounters(GlobalDecl(CD), F);
CodeGenFunction.h 1474 CodeGenPGO PGO;
1476 /// Calculate branch weights appropriate for PGO data
1489 PGO.emitCounterIncrement(Builder, S, StepV);
1490 PGO.setCurrentStmt(S);
1495 Optional<uint64_t> Count = PGO.getStmtCount(S);
1503 PGO.setCurrentRegionCount(Count);
1509 return PGO.getCurrentRegionCount();
1517 /// The branch weights of SwitchInsn when doing instrumentation based PGO.
4488 /// evaluate to true based on PGO data.
CodeGenModule.cpp 5992 CodeGenPGO PGO(*this);
5994 PGO.emitEmptyCounterMapping(D, getMangledName(GD),
5999 CodeGenPGO PGO(*this);
6001 PGO.emitEmptyCounterMapping(D, getMangledName(GD),
6006 CodeGenPGO PGO(*this);
6008 PGO.emitEmptyCounterMapping(D, getMangledName(GD),
CodeGenFunction.cpp 73 DebugInfo(CGM.getModuleDebugInfo()), PGO(cgm),
1338 PGO.assignRegionCounters(GD, CurFn);
1741 // When computing PGO branch weights, we only know the overall count for
CGBlocks.cpp 1566 PGO.assignRegionCounters(GlobalDecl(blockDecl), fn);
CGObjC.cpp 806 PGO.assignRegionCounters(GlobalDecl(OMD), CurFn);
CGCall.cpp 5281 PGO.valueProfile(Builder, llvm::IPVK_IndirectCallTarget,
CGExpr.cpp 184 PGO.setCurrentStmt(E);
CGStmtOpenMP.cpp 629 PGO.assignRegionCounters(GlobalDecl(CD), F);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
MachineLICM.cpp 83 enum class UseBFI { None, PGO, All };
89 cl::init(UseBFI::PGO), cl::Hidden,
92 clEnumValN(UseBFI::PGO, "pgo",
1392 (DisableHoistingToHotterBlocks == UseBFI::PGO && HasProfileData)) &&
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
CodeView.h 471 PGO = 1 << 18,
SymbolRecord.h 761 (getFlags() & (CompileSym3Flags::PGO | CompileSym3Flags::LTCG));
  /src/external/apache2/llvm/dist/llvm/utils/
collect_and_build_with_pgo.py 6 PGO samples
8 "benchmark" to generate a PGO profile
9 - Builds clang once more with the PGO profile generated above
14 This scripts duplicates https://llvm.org/docs/AdvancedBuilds.html#multi-stage-pgo
324 'with these PGO profiles. By default, it\'s assumed that you\'re '
345 help='disable the final, PGO-optimized build')
476 status('*** Building PGO-optimized binaries...')
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
EnumTables.cpp 133 CV_ENUM_CLASS_ENT(CompileSym3Flags, PGO),
  /src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
MinimalSymbolDumper.cpp 100 PUSH_FLAG(CompileSym3Flags, PGO, Flags, "pgo");
129 PUSH_FLAG(FrameProcedureOptions, ProfileGuidedOptimization, FPO, "pgo");
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
CodeViewDebug.cpp 808 Flags |= static_cast<uint32_t>(CompileSym3Flags::PGO);
  /src/external/gpl3/binutils.old/dist/
configure 1570 --enable-pgo-build[=lto]
1571 enable the PGO build
8666 # Check whether --enable-pgo-build was given.
8674 # Issue errors and warnings for invalid/strange PGO build combinations.
8678 # Allow the PGO build only if we aren't building a compiler and
8682 # Disallow the PGO bootstrap if we are building a compiler.
8684 as_fn_error $? "cannot perform the PGO bootstrap when building a compiler" "$LINENO" 5 ;;
8687 as_fn_error $? "invalid option for --enable-pgo-build" "$LINENO" 5
8716 as_fn_error $? "cannot perform the PGO build without -fprofile-generate" "$LINENO" 5
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LTO is disabled for the PGO build" >&
    [all...]
  /src/external/gpl3/gcc.old/dist/
configure 1549 --enable-pgo-build[=lto]
1550 enable the PGO build
7842 # Check whether --enable-pgo-build was given.
7850 # Issue errors and warnings for invalid/strange PGO build combinations.
7854 # Allow the PGO build only if we aren't building a compiler and
7858 # Disallow the PGO bootstrap if we are building a compiler.
7860 as_fn_error $? "cannot perform the PGO bootstrap when building a compiler" "$LINENO" 5 ;;
7863 as_fn_error $? "invalid option for --enable-pgo-build" "$LINENO" 5
7892 as_fn_error $? "cannot perform the PGO build without -fprofile-generate" "$LINENO" 5
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LTO is disabled for the PGO build" >&
    [all...]
  /src/external/gpl3/gcc/dist/
configure 1567 --enable-pgo-build[=lto]
1568 enable the PGO build
7921 # Check whether --enable-pgo-build was given.
7929 # Issue errors and warnings for invalid/strange PGO build combinations.
7933 # Allow the PGO build only if we aren't building a compiler and
7937 # Disallow the PGO bootstrap if we are building a compiler.
7939 as_fn_error $? "cannot perform the PGO bootstrap when building a compiler" "$LINENO" 5 ;;
7942 as_fn_error $? "invalid option for --enable-pgo-build" "$LINENO" 5
7971 as_fn_error $? "cannot perform the PGO build without -fprofile-generate" "$LINENO" 5
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LTO is disabled for the PGO build" >&
    [all...]
  /src/external/gpl3/gdb/dist/
configure 1570 --enable-pgo-build[=lto]
1571 enable the PGO build
8666 # Check whether --enable-pgo-build was given.
8674 # Issue errors and warnings for invalid/strange PGO build combinations.
8678 # Allow the PGO build only if we aren't building a compiler and
8682 # Disallow the PGO bootstrap if we are building a compiler.
8684 as_fn_error $? "cannot perform the PGO bootstrap when building a compiler" "$LINENO" 5 ;;
8687 as_fn_error $? "invalid option for --enable-pgo-build" "$LINENO" 5
8716 as_fn_error $? "cannot perform the PGO build without -fprofile-generate" "$LINENO" 5
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LTO is disabled for the PGO build" >&
    [all...]
  /src/external/gpl3/gdb.old/dist/
configure 1566 --enable-pgo-build[=lto]
1567 enable the PGO build
7884 # Check whether --enable-pgo-build was given.
7892 # Issue errors and warnings for invalid/strange PGO build combinations.
7896 # Allow the PGO build only if we aren't building a compiler and
7900 # Disallow the PGO bootstrap if we are building a compiler.
7902 as_fn_error $? "cannot perform the PGO bootstrap when building a compiler" "$LINENO" 5 ;;
7905 as_fn_error $? "invalid option for --enable-pgo-build" "$LINENO" 5
7934 as_fn_error $? "cannot perform the PGO build without -fprofile-generate" "$LINENO" 5
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LTO is disabled for the PGO build" >&
    [all...]
  /src/external/gpl3/binutils/dist/
configure 1582 --enable-pgo-build[=lto]
1583 enable the PGO build
8808 # Check whether --enable-pgo-build was given.
8816 # Issue errors and warnings for invalid/strange PGO build combinations.
8820 # Allow the PGO build only if we aren't building a compiler and
8824 # Disallow the PGO bootstrap if we are building a compiler.
8826 as_fn_error $? "cannot perform the PGO bootstrap when building a compiler" "$LINENO" 5 ;;
8829 as_fn_error $? "invalid option for --enable-pgo-build" "$LINENO" 5
8858 as_fn_error $? "cannot perform the PGO build without -fprofile-generate" "$LINENO" 5
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LTO is disabled for the PGO build" >&
    [all...]

Completed in 112 milliseconds