Pass manager that schedules and runs LoopPasses on a function.
Synopsis
Declared in <llvm/Analysis/LoopPass.h>
class LPPassManager
: public FunctionPass
, public PMDataManager
Base Classes
Name |
Description |
FunctionPass class ‐ This class is used to implement most global optimizations. Optimizations should subclass this class if they meet the following constraints: |
|
PMDataManager provides the common place to manage the analysis data used by pass managers. |
Member Functions
Name |
Description |
|
Construct a loop pass manager. |
|
Passes are not assignable. |
Add pass P into the PassVector. |
|
Add a new loop into the loop queue. |
|
|
Add RequiredPass into list of lower level passes required by pass P. |
|
Find or create a |
Collect available used analyses and missing required analyses for P. |
|
|
createPrinterPass ‐ Get a function printer pass. |
|
Perform any cleanup needed after all passes have run. |
|
Perform any initialization needed before any pass is run. |
Print this pass's state to stderr for debugging. |
|
Print last‐use information for pass P. |
|
Print command‐line arguments for passes managed here. |
|
Print debug‐pass status for pass P. |
|
|
Print passes managed by this manager. |
Print the preserved analysis set for pass P. |
|
Print the required analysis set for pass P. |
|
Print the used analysis set for pass P. |
|
Emit a remark when the module's IR instruction count changes. |
|
Find the pass that implements Analysis AID. |
|
Remove P. |
|
|
|
|
|
Get an optional analysis result that may already be available. |
|
|
Collect analysis usage for this pass manager. |
|
Return this pass as an ImmutablePass, or null if it is not one. |
|
Return this manager as a PMDataManager. |
|
Return this manager as a Pass. |
Return the map of analyses currently available to this manager. |
|
Return the contained loop pass at index |
|
Return the nesting depth of this pass manager. |
|
Return the number of passes contained by this manager. |
|
|
Return an on‐the‐fly analysis pass instance for |
Return a nice clean name for a pass corresponding to that used to enable the pass in opt. |
|
getPassID ‐ Return the PassID number that corresponds to this pass. |
|
Return the kind of pass (module, function, loop, etc.). |
|
|
Return the type of this pass manager. |
|
Return the name of this pass. |
|
Return what kind of Pass Manager can manage this pass. |
Return the analysis resolver installed for this pass. |
|
Return the top‐level manager that owns this data manager. |
|
Set the initial size of the module if the user has specified that they want remarks for size. |
|
Fill P's AnalysisImpls from currently available required analyses. |
|
Initialize available analysis information. |
|
Mark loop |
|
Report whether the analysis identified by |
|
Collect AvailableAnalysis from all the active Pass Managers. |
|
|
Check whether available pass managers are suitable for this pass. |
Return true if P preserves higher‐level analysis used by this manager. |
|
|
Print the internal state of this pass for analysis dumping. |
|
Serialize the IR unit this pass operates on for ‐‐print‐changed. |
Augment AvailableAnalysis by adding analysis made available by pass P. |
|
|
Release memory held by this pass when it is no longer needed. |
Remove dead passes used by P. |
|
Remove Analysis that is not preserved by the pass. |
|
|
Execute all of the passes scheduled for execution. |
Set the nesting depth of this pass manager. |
|
Install the analysis resolver used to satisfy this pass's dependencies. |
|
Set the top‐level manager that owns this data manager. |
|
|
verifyAnalysis() ‐ This member can be implemented by a analysis pass to check state of analysis information. |
Verify analysis preserved by pass P. |
Static Member Functions
Name |
Description |
Construct a new instance of the pass identified by |
|
|
Static Data Members
Name |
Description |
Pass identification, replacement for typeid. |
Protected Member Functions
Name |
Description |
isPassDebuggingExecutionsOrMore ‐ Return true if ‐debug‐pass=Executions or higher is specified. |
|
Check whether this optional pass should be skipped for |
Protected Data Members
Name |
Description |
Analysis maps inherited from parent pass managers on the active stack. |
|
Collection of passes managed by this manager. |
|
Top level manager that owns this data manager. |
Non-Member Functions
Name |
Description |
Build a SimplifyQuery from analyses currently valid in a pass. |
|
Request the timer for this legacy‐pass‐manager's pass instance. |
|
Check whether a pass is a BitcodeWriterPass. |
|
Return true if a pass is for IR printing. |
Created with MrDocs