LLVM  3.7.0
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::PBQP::RegAlloc::GraphMetadata Class Reference

Holds graph-level metadata relevent to PBQP RA problems. More...

#include <RegAllocPBQP.h>

Collaboration diagram for llvm::PBQP::RegAlloc::GraphMetadata:
[legend]

Public Types

typedef AllowedRegVecPool::PoolRef AllowedRegVecRef
 

Public Member Functions

 GraphMetadata (MachineFunction &MF, LiveIntervals &LIS, MachineBlockFrequencyInfo &MBFI)
 
void setNodeIdForVReg (unsigned VReg, GraphBase::NodeId NId)
 
GraphBase::NodeId getNodeIdForVReg (unsigned VReg) const
 
void eraseNodeIdForVReg (unsigned VReg)
 
AllowedRegVecRef getAllowedRegs (AllowedRegVector Allowed)
 

Public Attributes

MachineFunctionMF
 
LiveIntervalsLIS
 
MachineBlockFrequencyInfoMBFI
 

Detailed Description

Holds graph-level metadata relevent to PBQP RA problems.

Definition at line 138 of file RegAllocPBQP.h.

Member Typedef Documentation

Definition at line 143 of file RegAllocPBQP.h.

Constructor & Destructor Documentation

llvm::PBQP::RegAlloc::GraphMetadata::GraphMetadata ( MachineFunction MF,
LiveIntervals LIS,
MachineBlockFrequencyInfo MBFI 
)
inline

Definition at line 145 of file RegAllocPBQP.h.

Member Function Documentation

void llvm::PBQP::RegAlloc::GraphMetadata::eraseNodeIdForVReg ( unsigned  VReg)
inline

Definition at line 165 of file RegAllocPBQP.h.

AllowedRegVecRef llvm::PBQP::RegAlloc::GraphMetadata::getAllowedRegs ( AllowedRegVector  Allowed)
inline

Definition at line 169 of file RegAllocPBQP.h.

References llvm::PBQP::ValuePool< ValueT >::getValue().

GraphBase::NodeId llvm::PBQP::RegAlloc::GraphMetadata::getNodeIdForVReg ( unsigned  VReg) const
inline

Definition at line 158 of file RegAllocPBQP.h.

References llvm::PBQP::GraphBase::invalidNodeId().

void llvm::PBQP::RegAlloc::GraphMetadata::setNodeIdForVReg ( unsigned  VReg,
GraphBase::NodeId  NId 
)
inline

Definition at line 154 of file RegAllocPBQP.h.

Member Data Documentation

LiveIntervals& llvm::PBQP::RegAlloc::GraphMetadata::LIS

Definition at line 151 of file RegAllocPBQP.h.

MachineBlockFrequencyInfo& llvm::PBQP::RegAlloc::GraphMetadata::MBFI

Definition at line 152 of file RegAllocPBQP.h.

MachineFunction& llvm::PBQP::RegAlloc::GraphMetadata::MF

Definition at line 150 of file RegAllocPBQP.h.


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