[Docs][BasicAA] Rename some more basicaa -> basic-aa

Follow up to https://reviews.llvm.org/D82607.
This commit is contained in:
Arthur Eubanks 2020-06-30 15:57:45 -07:00
parent 144e57fc95
commit f9348f70c2
1 changed files with 3 additions and 3 deletions

View File

@ -916,7 +916,7 @@ be registered with :ref:`RegisterAnalysisGroup
As a concrete example of an Analysis Group in action, consider the
`AliasAnalysis <https://llvm.org/doxygen/classllvm_1_1AliasAnalysis.html>`_
analysis group. The default implementation of the alias analysis interface
(the `basicaa <https://llvm.org/doxygen/structBasicAliasAnalysis.html>`_ pass)
(the `basic-aa <https://llvm.org/doxygen/structBasicAliasAnalysis.html>`_ pass)
just does a few simple checks that don't require significant analysis to
compute (such as: two different globals can never alias each other, etc).
Passes that use the `AliasAnalysis
@ -926,7 +926,7 @@ care which implementation of alias analysis is actually provided, they just use
the designated interface.
From the user's perspective, commands work just like normal. Issuing the
command ``opt -gvn ...`` will cause the ``basicaa`` class to be instantiated
command ``opt -gvn ...`` will cause the ``basic-aa`` class to be instantiated
and added to the pass sequence. Issuing the command ``opt -somefancyaa -gvn
...`` will cause the ``gvn`` pass to use the ``somefancyaa`` alias analysis
(which doesn't actually exist, it's just a hypothetical example) instead.
@ -970,7 +970,7 @@ Every implementation of an analysis group should join using this macro.
namespace {
// Declare that we implement the AliasAnalysis interface
INITIALIZE_AG_PASS(BasicAA, AliasAnalysis, "basicaa",
INITIALIZE_AG_PASS(BasicAA, AliasAnalysis, "basic-aa",
"Basic Alias Analysis (default AA impl)",
false, // Is CFG Only?
true, // Is Analysis?