FPPassManager manages BBPassManagers and FunctionPasses.
Synopsis
Declared in <llvm/IR/LegacyPassManagers.h>
class FPPassManager
: public ModulePass
, public PMDataManager
Description
It batches all function passes and basic block pass managers together and sequences them to process one function at a time before processing next function.
Base Classes
Name |
Description |
Pass that may inspect or transform an entire module freely. |
|
PMDataManager provides the common place to manage the analysis data used by pass managers. |
Member Functions
Name |
Description |
|
Construct a function pass manager pass. |
|
Passes are not assignable. |
Add pass P into the PassVector. |
|
|
Add RequiredPass into list of lower level passes required by pass P. |
|
|
cleanup ‐ After running all passes, clean up pass manager cache. |
|
Collect available used analyses and missing required analyses for P. |
|
|
createPrinterPass ‐ Get a module printer pass. |
|
doFinalization ‐ Run all of the finalizers for the function passes. |
|
doInitialization ‐ Run all of the initializers for the function passes. |
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 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. |
|
|
|
|
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 Nth contained function pass. |
|
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 that this is a function pass manager. |
|
Return the name of this pass manager. |
|
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. |
|
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. |
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 on F. |
|
|
Execute contained passes on every function in module M. |
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. |
Using Declarations
Name |
Description |
doFinalization ‐ Overrides ModulePass doFinalization for global finalization tasks |
|
doInitialization ‐ Overrides ModulePass doInitialization for global initialization tasks |
Protected Member Functions
Name |
Description |
isPassDebuggingExecutionsOrMore ‐ Return true if ‐debug‐pass=Executions or higher is specified. |
|
Optional passes call this function to check whether the pass should be skipped. This is the case when optimization bisect is over the limit. |
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