Module analysis that holds a shared AsmPrinter for a module.
Declared in <llvm/CodeGen/AsmPrinterAnalysis.h>
class AsmPrinterAnalysis
: public AnalysisInfoMixin<AsmPrinterAnalysis>
Owns an AsmPrinter so that state can be shared between the Module and MachineFunction portions of assembly emission.
| Name | Description |
|---|---|
AnalysisInfoMixin<AsmPrinterAnalysis> | A CRTP mix-in that provides informational APIs needed for analysis passes. |
| Name | Description |
|---|---|
Result | Cached analysis result wrapping the held AsmPrinter. |
| Name | Description |
|---|---|
AsmPrinterAnalysis [constructor] | Construct an analysis that takes ownership of Printer. |
run | Return a result wrapping the held AsmPrinter. |
| Name | Description |
|---|---|
ID | Returns an opaque, unique ID for this analysis type. |
| Name | Description |
|---|---|
HeldPrinter | AsmPrinter owned by this analysis and shared across functions. |
| Name | Description |
|---|---|
Key | Analysis key used to identify AsmPrinterAnalysis. |