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

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

#include "llvm/CodeGen/RegAllocPBQP.h"

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

Public Types

using AllowedRegVecRef = AllowedRegVecPool::PoolRef
 

Public Member Functions

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

Public Attributes

MachineFunction & MF
 
LiveIntervals & LIS
 
MachineBlockFrequencyInfo & MBFI
 

Detailed Description

Holds graph-level metadata relevant to PBQP RA problems.

Definition at line 131 of file RegAllocPBQP.h.

Member Typedef Documentation

Definition at line 136 of file RegAllocPBQP.h.

Constructor & Destructor Documentation

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

Definition at line 138 of file RegAllocPBQP.h.

Member Function Documentation

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

Definition at line 158 of file RegAllocPBQP.h.

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

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

Definition at line 151 of file RegAllocPBQP.h.

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

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

Definition at line 147 of file RegAllocPBQP.h.

Member Data Documentation

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

Definition at line 144 of file RegAllocPBQP.h.

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

Definition at line 145 of file RegAllocPBQP.h.

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

Definition at line 143 of file RegAllocPBQP.h.


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