Analysis that produces MachineModuleInfo for a module.

Synopsis

Declared in <llvm/CodeGen/MachineModuleInfo.h>

class MachineModuleAnalysis
    : public AnalysisInfoMixin<MachineModuleAnalysis>

Description

This does not produce its own MachineModuleInfo because we need a consistent MachineModuleInfo to keep ownership of MachineFunctions regardless of analysis invalidation/clearing. So something outside the analysis infrastructure must own the MachineModuleInfo.

Base Classes

Name

Description

AnalysisInfoMixin<MachineModuleAnalysis>

A CRTP mix‐in that provides informational APIs needed for analysis passes.

Types

Name

Description

Result

Cached analysis result providing access to MachineModuleInfo.

Member Functions

Name

Description

MachineModuleAnalysis [constructor]

Construct an analysis that exposes externally owned MMI.

run

Run the analysis pass and produce machine module information.

Static Member Functions

Name

Description

ID

Returns an opaque, unique ID for this analysis type.

Friends

Name

Description

llvm::AnalysisInfoMixin

A CRTP mix‐in that provides informational APIs needed for analysis passes.

Created with MrDocs