[#llvm-LiveVariablesWrapperPass] = xref:llvm.adoc[llvm]::LiveVariablesWrapperPass :relfileprefix: ../ :mrdocs: Legacy pass wrapper for LiveVariables. == Synopsis Declared in `<llvm/CodeGen/LiveVariables.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class LiveVariablesWrapperPass : public xref:llvm/MachineFunctionPass.adoc[MachineFunctionPass] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:llvm/MachineFunctionPass.adoc[MachineFunctionPass]` | FunctionPass adapter for passes that operate on a MachineFunction. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/LiveVariablesWrapperPass/2constructor.adoc[`LiveVariablesWrapperPass`] [.small]#[constructor]# | Construct the legacy LiveVariables wrapper pass. | xref:llvm/Pass/operator_assign.adoc[`operator=`] [.small]#[deleted]# | Passes are not assignable. | xref:llvm/FunctionPass/assignPassManager.adoc[`assignPassManager`] [.small]#[virtual]# | Find or create a `FunctionPassManager` on `PMS` and register this pass. | xref:llvm/FunctionPass/createPrinterPass.adoc[`createPrinterPass`] [.small]#[virtual]# | createPrinterPass ‐ Get a function printer pass. | xref:llvm/Pass/doFinalization.adoc[`doFinalization`] [.small]#[virtual]# | Perform any cleanup needed after all passes have run. | xref:llvm/MachineFunctionPass/doInitialization.adoc[`doInitialization`] [.small]#[virtual]# | Cache this pass's MachineFunctionProperties at module initialization. | xref:llvm/Pass/dump.adoc[`dump`] | Print this pass's state to stderr for debugging. | xref:llvm/Pass/dumpPassStructure.adoc[`dumpPassStructure`] [.small]#[virtual]# | Print the pass nesting structure for ‐debug‐passes=PassStructure. | xref:llvm/Pass/getAnalysis-034.adoc[`getAnalysis`] | `getAnalysis` overloads | xref:llvm/Pass/getAnalysisID-08.adoc[`getAnalysisID`] | `getAnalysisID` overloads | xref:llvm/Pass/getAnalysisIfAvailable.adoc[`getAnalysisIfAvailable`] | Get an optional analysis result that may already be available. | xref:llvm/LiveVariablesWrapperPass/getAnalysisUsage.adoc[`getAnalysisUsage`] [.small]#[virtual]# | Declare analyses required and preserved by this pass. | xref:llvm/Pass/getAsImmutablePass.adoc[`getAsImmutablePass`] [.small]#[virtual]# | Return this pass as an ImmutablePass, or null if it is not one. | xref:llvm/Pass/getAsPMDataManager.adoc[`getAsPMDataManager`] [.small]#[virtual]# | Return this pass as a PMDataManager when it is a nested pass manager. | xref:llvm/LiveVariablesWrapperPass/getLV.adoc[`getLV`] | Return the computed LiveVariables analysis. | xref:llvm/Pass/getPassArgument.adoc[`getPassArgument`] | Return a nice clean name for a pass corresponding to that used to enable the pass in opt. | xref:llvm/Pass/getPassID.adoc[`getPassID`] | getPassID ‐ Return the PassID number that corresponds to this pass. | xref:llvm/Pass/getPassKind.adoc[`getPassKind`] | Return the kind of pass (module, function, loop, etc.). | xref:llvm/Pass/getPassName.adoc[`getPassName`] [.small]#[virtual]# | Return a human‐readable name for this pass. | xref:llvm/FunctionPass/getPotentialPassManagerType.adoc[`getPotentialPassManagerType`] [.small]#[virtual]# | Return what kind of Pass Manager can manage this pass. | xref:llvm/Pass/getResolver.adoc[`getResolver`] | Return the analysis resolver installed for this pass. | xref:llvm/Pass/mustPreserveAnalysisID.adoc[`mustPreserveAnalysisID`] | Report whether the analysis identified by `AID` must be preserved. | xref:llvm/Pass/preparePassManager.adoc[`preparePassManager`] [.small]#[virtual]# | Check whether available pass managers are suitable for this pass. | xref:llvm/Pass/print.adoc[`print`] [.small]#[virtual]# | Print the internal state of this pass for analysis dumping. | xref:llvm/FunctionPass/printIRUnit.adoc[`printIRUnit`] [.small]#[virtual]# | Serialize the IR unit this pass operates on for ‐‐print‐changed. | xref:llvm/LiveVariablesWrapperPass/releaseMemory.adoc[`releaseMemory`] [.small]#[virtual]# | Release memory used by the wrapped analysis. | xref:llvm/FunctionPass/runOnFunction.adoc[`runOnFunction`] [.small]#[virtual]# | runOnFunction ‐ Virtual method overriden by subclasses to do the per‐function processing of the pass. | xref:llvm/LiveVariablesWrapperPass/runOnMachineFunction.adoc[`runOnMachineFunction`] [.small]#[virtual]# | Run LiveVariables on machine function `MF.` | xref:llvm/Pass/setResolver.adoc[`setResolver`] | Install the analysis resolver used to satisfy this pass's dependencies. | xref:llvm/Pass/verifyAnalysis.adoc[`verifyAnalysis`] [.small]#[virtual]# | verifyAnalysis() ‐ This member can be implemented by a analysis pass to check state of analysis information. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/Pass/createPass.adoc[`createPass`] | Construct a new instance of the pass identified by `ID.` | xref:llvm/Pass/lookupPassInfo-0e.adoc[`lookupPassInfo`] | `lookupPassInfo` overloads |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:llvm/LiveVariablesWrapperPass/ID.adoc[`ID`] | Pass identification, replacement for typeid. |=== == Protected Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/MachineFunctionPass/getAnalysisUsage.adoc[`getAnalysisUsage`] [.small]#[virtual]# | getAnalysisUsage ‐ Subclasses that override getAnalysisUsage must call this. | xref:llvm/MachineFunctionPass/getClearedProperties.adoc[`getClearedProperties`] [.small]#[virtual]# | Return the MachineFunctionProperties this pass clears when it runs. | xref:llvm/MachineFunctionPass/getRequiredProperties.adoc[`getRequiredProperties`] [.small]#[virtual]# | Return the MachineFunctionProperties this pass requires before running. | xref:llvm/MachineFunctionPass/getSetProperties.adoc[`getSetProperties`] [.small]#[virtual]# | Return the MachineFunctionProperties this pass sets after running. | xref:llvm/MachineFunctionPass/runOnMachineFunction.adoc[`runOnMachineFunction`] [.small]#[virtual]# | runOnMachineFunction ‐ This method must be overloaded to perform the desired machine code transformation or analysis. | xref:llvm/FunctionPass/skipFunction.adoc[`skipFunction`] | Check whether this optional pass should be skipped for `F.` |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/getBestSimplifyQuery-05.adoc[`getBestSimplifyQuery`] | Build a SimplifyQuery from analyses currently valid in a pass. | xref:llvm/getPassTimer.adoc[`getPassTimer`] | Request the timer for this legacy‐pass‐manager's pass instance. | xref:llvm/isBitcodeWriterPass.adoc[`isBitcodeWriterPass`] | Check whether a pass is a BitcodeWriterPass. | xref:llvm/isIRPrintingPass.adoc[`isIRPrintingPass`] | Return true if a pass is for IR printing. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#