LLVM 20.0.0git
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"

Public Types

using AllowedRegVecRef = AllowedRegVecPool::PoolRef
 

Public Member Functions

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

Public Attributes

MachineFunctionMF
 
LiveIntervalsLIS
 
MachineBlockFrequencyInfoMBFI
 

Detailed Description

Holds graph-level metadata relevant to PBQP RA problems.

Definition at line 132 of file RegAllocPBQP.h.

Member Typedef Documentation

◆ AllowedRegVecRef

Definition at line 137 of file RegAllocPBQP.h.

Constructor & Destructor Documentation

◆ GraphMetadata()

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

Definition at line 139 of file RegAllocPBQP.h.

Member Function Documentation

◆ getAllowedRegs()

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

Definition at line 159 of file RegAllocPBQP.h.

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

◆ getNodeIdForVReg()

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

Definition at line 152 of file RegAllocPBQP.h.

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

◆ setNodeIdForVReg()

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

Definition at line 148 of file RegAllocPBQP.h.

References llvm::Register::id().

Member Data Documentation

◆ LIS

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

Definition at line 145 of file RegAllocPBQP.h.

◆ MBFI

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

Definition at line 146 of file RegAllocPBQP.h.

◆ MF

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

Definition at line 144 of file RegAllocPBQP.h.


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