struct MachineFunctionInfo
Declaration
struct MachineFunctionInfo { /* full declaration omitted */ };
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.
Declared at: llvm/include/llvm/CodeGen/MachineFunction.h:94
Method Overview
- public template <typename Ty>static Ty * create(llvm::BumpPtrAllocator & Allocator, llvm::MachineFunction & MF)
- public virtual ~MachineFunctionInfo()
Methods
¶template <typename Ty>
static Ty* create(
llvm::BumpPtrAllocator& Allocator,
llvm::MachineFunction& MF)
template <typename Ty>
static Ty* create(
llvm::BumpPtrAllocator& Allocator,
llvm::MachineFunction& MF)
Description
Factory function: default behavior is to call new using the supplied allocator. This function can be overridden in a derive class.
Declared at: llvm/include/llvm/CodeGen/MachineFunction.h:102
Templates
- Ty
Parameters
- llvm::BumpPtrAllocator& Allocator
- llvm::MachineFunction& MF
¶virtual ~MachineFunctionInfo()
virtual ~MachineFunctionInfo()
Declared at: llvm/include/llvm/CodeGen/MachineFunction.h:95