LLVM
8.0.1
|
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 (unsigned VReg) |
unsigned | 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 |
bool | wasConservativelyAllocatable () const |
Holds solver state and other metadata relevant to each PBQP RA node.
Definition at line 168 of file RegAllocPBQP.h.
Definition at line 170 of file RegAllocPBQP.h.
using llvm::PBQP::RegAlloc::NodeMetadata::ReductionState = enum { Unprocessed, NotProvablyAllocatable, ConservativelyAllocatable, OptimallyReducible } |
Definition at line 180 of file RegAllocPBQP.h.
|
default |
|
inline |
Definition at line 184 of file RegAllocPBQP.h.
References llvm::copy(), and llvm::PBQP::RegAlloc::MatrixMetadata::operator=().
|
default |
|
inline |
Definition at line 207 of file RegAllocPBQP.h.
|
inline |
Definition at line 214 of file RegAllocPBQP.h.
Referenced by llvm::PBQP::RegAlloc::RegAllocSolverImpl::handleUpdateCosts().
|
inline |
Definition at line 202 of file RegAllocPBQP.h.
|
inline |
Definition at line 227 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 235 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 243 of file RegAllocPBQP.h.
References llvm::find().
Referenced by llvm::PBQP::RegAlloc::RegAllocSolverImpl::handleUpdateCosts().
|
default |
|
inline |
Definition at line 204 of file RegAllocPBQP.h.
|
inline |
Definition at line 215 of file RegAllocPBQP.h.
References assert().
Definition at line 209 of file RegAllocPBQP.h.
References llvm::PBQP::Vector::getLength().
|
inline |
Definition at line 201 of file RegAllocPBQP.h.
|
inline |
Definition at line 250 of file RegAllocPBQP.h.