LLVM  6.0.0svn
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 "llvm/CodeGen/MachineFunction.h"

Inheritance diagram for llvm::MachineFunctionInfo:
Inheritance graph
[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 96 of file MachineFunction.h.

Constructor & Destructor Documentation

◆ ~MachineFunctionInfo()

MachineFunctionInfo::~MachineFunctionInfo ( )
virtualdefault

Member Function Documentation

◆ create()

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 104 of file MachineFunction.h.

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


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