LLVM API Documentation

Public Types | Public Member Functions
llvm::PBQPBuilder Class Reference

#include <RegAllocPBQP.h>

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

List of all members.

Public Types

typedef std::set< unsignedRegSet

Public Member Functions

 PBQPBuilder ()
 Default constructor.
virtual ~PBQPBuilder ()
 Clean up a PBQPBuilder.
virtual std::unique_ptr
< PBQPRAProblem
build (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 ( ) [inline, virtual]

Clean up a PBQPBuilder.

Definition at line 122 of file RegAllocPBQP.h.


Member Function Documentation

std::unique_ptr< 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: