LLVM  7.0.0svn
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:
Collaboration graph

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


Detailed Description

Holds graph-level metadata relevant to PBQP RA problems.

Definition at line 131 of file RegAllocPBQP.h.

Member Typedef Documentation

◆ AllowedRegVecRef

Definition at line 136 of file RegAllocPBQP.h.

Constructor & Destructor Documentation

◆ GraphMetadata()

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

Definition at line 138 of file RegAllocPBQP.h.

Member Function Documentation

◆ getAllowedRegs()

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

Definition at line 158 of file RegAllocPBQP.h.

◆ getNodeIdForVReg()

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

Definition at line 151 of file RegAllocPBQP.h.

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

◆ setNodeIdForVReg()

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

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.

◆ MF

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: