LLVM  4.0.0
Public Member Functions | Static Public Member Functions | List of all members
llvm::MachineFunctionInfo Struct Reference

MachineFunctionInfo - This class can be derived from and used by targets to hold private target-specific information for each MachineFunction. More...

#include <MachineFunction.h>

Inheritance diagram for llvm::MachineFunctionInfo:
[legend]

Public Member Functions

virtual ~MachineFunctionInfo ()
 

Static Public Member Functions

template<typename Ty >
static Ty * create (BumpPtrAllocator &Allocator, MachineFunction &MF)
 Factory function: default behavior is to call new using the supplied allocator. More...
 

Detailed Description

MachineFunctionInfo - This class can be derived from and used by targets to hold private target-specific information for each MachineFunction.

Objects of type are accessed/created with MF::getInfo and destroyed when the MachineFunction is destroyed.

Definition at line 73 of file MachineFunction.h.

Constructor & Destructor Documentation

MachineFunctionInfo::~MachineFunctionInfo ( )
virtual

Definition at line 87 of file MachineFunction.cpp.

Member Function Documentation

template<typename Ty >
static Ty* llvm::MachineFunctionInfo::create ( BumpPtrAllocator Allocator,
MachineFunction MF 
)
inlinestatic

Factory function: default behavior is to call new using the supplied allocator.

This function can be overridden in a derive class.

Definition at line 81 of file MachineFunction.h.

References llvm::BumpPtrAllocatorImpl< AllocatorT, SlabSize, SizeThreshold >::Allocate().


The documentation for this struct was generated from the following files: