LLVM 20.0.0git
|
Holds solver state and other metadata relevant to each PBQP RA node. More...
#include "llvm/CodeGen/RegAllocPBQP.h"
Public Types | |
using | AllowedRegVector = RegAlloc::AllowedRegVector |
using | ReductionState = enum { Unprocessed, NotProvablyAllocatable, ConservativelyAllocatable, OptimallyReducible } |
Public Member Functions | |
NodeMetadata ()=default | |
NodeMetadata (const NodeMetadata &Other) | |
NodeMetadata (NodeMetadata &&)=default | |
NodeMetadata & | operator= (NodeMetadata &&)=default |
void | setVReg (Register VReg) |
Register | getVReg () const |
void | setAllowedRegs (GraphMetadata::AllowedRegVecRef AllowedRegs) |
const AllowedRegVector & | getAllowedRegs () const |
void | setup (const Vector &Costs) |
ReductionState | getReductionState () const |
void | setReductionState (ReductionState RS) |
void | handleAddEdge (const MatrixMetadata &MD, bool Transpose) |
void | handleRemoveEdge (const MatrixMetadata &MD, bool Transpose) |
bool | isConservativelyAllocatable () const |
Holds solver state and other metadata relevant to each PBQP RA node.
Definition at line 169 of file RegAllocPBQP.h.
Definition at line 171 of file RegAllocPBQP.h.
using llvm::PBQP::RegAlloc::NodeMetadata::ReductionState = enum { Unprocessed, NotProvablyAllocatable, ConservativelyAllocatable, OptimallyReducible } |
Definition at line 176 of file RegAllocPBQP.h.
|
default |
|
inline |
Definition at line 185 of file RegAllocPBQP.h.
References llvm::Other.
|
default |
|
inline |
Definition at line 209 of file RegAllocPBQP.h.
|
inline |
Definition at line 216 of file RegAllocPBQP.h.
|
inline |
Definition at line 204 of file RegAllocPBQP.h.
|
inline |
Definition at line 229 of file RegAllocPBQP.h.
References llvm::PBQP::RegAlloc::MatrixMetadata::getUnsafeCols(), llvm::PBQP::RegAlloc::MatrixMetadata::getUnsafeRows(), llvm::PBQP::RegAlloc::MatrixMetadata::getWorstCol(), and llvm::PBQP::RegAlloc::MatrixMetadata::getWorstRow().
Referenced by llvm::PBQP::RegAlloc::RegAllocSolverImpl::handleReconnectEdge(), and llvm::PBQP::RegAlloc::RegAllocSolverImpl::handleUpdateCosts().
|
inline |
Definition at line 237 of file RegAllocPBQP.h.
References llvm::PBQP::RegAlloc::MatrixMetadata::getUnsafeCols(), llvm::PBQP::RegAlloc::MatrixMetadata::getUnsafeRows(), llvm::PBQP::RegAlloc::MatrixMetadata::getWorstCol(), and llvm::PBQP::RegAlloc::MatrixMetadata::getWorstRow().
Referenced by llvm::PBQP::RegAlloc::RegAllocSolverImpl::handleDisconnectEdge(), and llvm::PBQP::RegAlloc::RegAllocSolverImpl::handleUpdateCosts().
|
inline |
Definition at line 245 of file RegAllocPBQP.h.
|
default |
|
inline |
Definition at line 206 of file RegAllocPBQP.h.
|
inline |
Definition at line 217 of file RegAllocPBQP.h.
References assert().
Definition at line 211 of file RegAllocPBQP.h.
References llvm::PBQP::Vector::getLength().
Referenced by llvm::PBQP::RegAlloc::RegAllocSolverImpl::handleAddNode().
|
inline |
Definition at line 203 of file RegAllocPBQP.h.