From 6f8e6b108b3899bdf9a92c2ddd9ef792e4253d40 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Wed, 4 Jun 2014 06:29:38 +0000 Subject: [PATCH] docs: Remove documentation for legacy PGO options Late last year r191835 removed a largely unmaintained legacy PGO infrastructure, but some of the docs were missed. Since these docs are for things that don't actually exist anymore, they should be removed. llvm-svn: 210165 --- llvm/docs/CommandGuide/bugpoint.rst | 4 ---- llvm/docs/CommandGuide/opt.rst | 4 ---- llvm/docs/Passes.rst | 41 ------------------------------------- llvm/docs/WritingAnLLVMPass.rst | 1 - 4 files changed, 50 deletions(-) diff --git a/llvm/docs/CommandGuide/bugpoint.rst b/llvm/docs/CommandGuide/bugpoint.rst index e4663e5..f11585d 100644 --- a/llvm/docs/CommandGuide/bugpoint.rst +++ b/llvm/docs/CommandGuide/bugpoint.rst @@ -124,10 +124,6 @@ OPTIONS do not use this option, **bugpoint** will attempt to generate a reference output by compiling the program with the "safe" backend and running it. -**--profile-info-file** *filename* - - Profile file loaded by **--profile-loader**. - **--run-{int,jit,llc,custom}** Whenever the test program is compiled, **bugpoint** should generate code for it diff --git a/llvm/docs/CommandGuide/opt.rst b/llvm/docs/CommandGuide/opt.rst index 3fed684..ad5b62c 100644 --- a/llvm/docs/CommandGuide/opt.rst +++ b/llvm/docs/CommandGuide/opt.rst @@ -99,10 +99,6 @@ OPTIONS :option:`-std-compile-opts` and :option:`-verify-each` can quickly track down this kind of problem. -.. option:: -profile-info-file - - Specify the name of the file loaded by the ``-profile-loader`` option. - .. option:: -stats Print statistics. diff --git a/llvm/docs/Passes.rst b/llvm/docs/Passes.rst index b51829d..9f40092 100644 --- a/llvm/docs/Passes.rst +++ b/llvm/docs/Passes.rst @@ -261,12 +261,6 @@ returns "I don't know" for alias queries. NoAA is unlike other alias analysis implementations, in that it does not chain to a previous analysis. As such it doesn't follow many of the rules that other alias analyses must. -``-no-profile``: No Profile Information ---------------------------------------- - -The default "no profile" implementation of the abstract ``ProfileInfo`` -interface. - ``-postdomfrontier``: Post-Dominance Frontier Construction ---------------------------------------------------------- @@ -336,23 +330,6 @@ This pass is used to seek out all of the types in use by the program. Note that this analysis explicitly does not include types only used by the symbol table. -``-profile-estimator``: Estimate profiling information ------------------------------------------------------- - -Profiling information that estimates the profiling information in a very crude -and unimaginative way. - -``-profile-loader``: Load profile information from ``llvmprof.out`` -------------------------------------------------------------------- - -A concrete implementation of profiling information that loads the information -from a profile dump file. - -``-profile-verifier``: Verify profiling information ---------------------------------------------------- - -Pass that checks profiling information for plausibility. - ``-regions``: Detect single entry single exit regions ----------------------------------------------------- @@ -626,24 +603,6 @@ where it is profitable, the loop could be transformed to count down to zero Bottom-up inlining of functions into callees. -``-insert-edge-profiling``: Insert instrumentation for edge profiling ---------------------------------------------------------------------- - -This pass instruments the specified program with counters for edge profiling. -Edge profiling can give a reasonable approximation of the hot paths through a -program, and is used for a wide variety of program transformations. - -Note that this implementation is very naïve. It inserts a counter for *every* -edge in the program, instead of using control flow information to prune the -number of counters inserted. - -``-insert-optimal-edge-profiling``: Insert optimal instrumentation for edge profiling -------------------------------------------------------------------------------------- - -This pass instruments the specified program with counters for edge profiling. -Edge profiling can give a reasonable approximation of the hot paths through a -program, and is used for a wide variety of program transformations. - .. _passes-instcombine: ``-instcombine``: Combine redundant instructions diff --git a/llvm/docs/WritingAnLLVMPass.rst b/llvm/docs/WritingAnLLVMPass.rst index f9cb4fe..cfbda04 100644 --- a/llvm/docs/WritingAnLLVMPass.rst +++ b/llvm/docs/WritingAnLLVMPass.rst @@ -259,7 +259,6 @@ To see what happened to the other string you registered, try running -hello - Hello World Pass -indvars - Induction Variable Simplification -inline - Function Integration/Inlining - -insert-edge-profiling - Insert instrumentation for edge profiling ... The pass name gets added as the information string for your pass, giving some -- 2.7.4