This class contains meta information specific to a module. Queries can be made by different debugging and exception handling schemes and reformated for specific use.

Synopsis

Declared in <llvm/CodeGen/MachineModuleInfo.h>

class MachineModuleInfo;

Member Functions

Name

Description

MachineModuleInfo [constructor]

Constructors

~MachineModuleInfo [destructor]

Destructor

deleteMachineFunctionFor

Delete the MachineFunction MF and reset the link in the IR Function to Machine Function map. When a function is not grouped with any other function, its MF gets deleted right away. When a function is grouped with other functions, its MF gets deleted when all functions in the same group have been finalized.

finalize

getContext

getMachineFunction

Returns the MachineFunction associated to IR function F if there is one, otherwise nullptr. NOTE: New pass manager clients shall not use this method to get the MachineFunction, use MachineFunctionAnalysis instead.

getModule

getObjFileInfo

Keep track of various per‐module pieces of information for backends that would like to do so.

getOrCreateMachineFunction

Returns the MachineFunction constructed for the IR function F. Creates a new MachineFunction if none exists yet. NOTE: New pass manager clients shall not use this method to get the MachineFunction, use MachineFunctionAnalysis instead.

getTarget

groupMachineFunctionsForDeletion

Group two IR functions so their MachineFunctions are deleted together once both functions have been finalized.

initialize

insertFunction

Add an externally created MachineFunction MF for F.

Friends

Name

Description

llvm::MachineModuleAnalysis

An analysis that produces MachineModuleInfo for a module. 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.

llvm::MachineModuleInfoWrapperPass

Created with MrDocs