LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
llvm::PBQPBuilder Class Reference

#include <RegAllocPBQP.h>

Inheritance diagram for llvm::PBQPBuilder:
Inheritance graph
[legend]

Public Types

typedef std::set< unsignedRegSet
 

Public Member Functions

 PBQPBuilder ()
 Default constructor. More...
 
virtual ~PBQPBuilder ()
 Clean up a PBQPBuilder. More...
 
virtual PBQPRAProblembuild (MachineFunction *mf, const LiveIntervals *lis, const MachineBlockFrequencyInfo *mbfi, const RegSet &vregs)
 

Detailed Description

Builds PBQP instances to represent register allocation problems. Includes spill, interference and coalescing costs by default. You can extend this class to support additional constraints for your architecture.

Definition at line 110 of file RegAllocPBQP.h.

Member Typedef Documentation

Definition at line 116 of file RegAllocPBQP.h.

Constructor & Destructor Documentation

llvm::PBQPBuilder::PBQPBuilder ( )
inline

Default constructor.

Definition at line 119 of file RegAllocPBQP.h.

virtual llvm::PBQPBuilder::~PBQPBuilder ( )
inlinevirtual

Clean up a PBQPBuilder.

Definition at line 122 of file RegAllocPBQP.h.

Member Function Documentation

PBQPRAProblem * PBQPBuilder::build ( MachineFunction mf,
const LiveIntervals lis,
const MachineBlockFrequencyInfo mbfi,
const RegSet vregs 
)
virtual

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