LLVM API Documentation
#include <RegAllocSolver.h>
Public Types | |
enum | ReductionState { Unprocessed, OptimallyReducible, ConservativelyAllocatable, NotProvablyAllocatable } |
Public Member Functions | |
NodeMetadata () | |
~NodeMetadata () | |
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 |
Definition at line 82 of file RegAllocSolver.h.
Definition at line 84 of file RegAllocSolver.h.
PBQP::RegAlloc::NodeMetadata::NodeMetadata | ( | ) | [inline] |
Definition at line 89 of file RegAllocSolver.h.
PBQP::RegAlloc::NodeMetadata::~NodeMetadata | ( | ) | [inline] |
Definition at line 90 of file RegAllocSolver.h.
ReductionState PBQP::RegAlloc::NodeMetadata::getReductionState | ( | ) | const [inline] |
Definition at line 97 of file RegAllocSolver.h.
Referenced by PBQP::RegAlloc::RegAllocSolverImpl::handleDisconnectEdge().
void PBQP::RegAlloc::NodeMetadata::handleAddEdge | ( | const MatrixMetadata & | MD, |
bool | Transpose | ||
) | [inline] |
Definition at line 100 of file RegAllocSolver.h.
References PBQP::RegAlloc::MatrixMetadata::getUnsafeCols(), PBQP::RegAlloc::MatrixMetadata::getUnsafeRows(), PBQP::RegAlloc::MatrixMetadata::getWorstCol(), and PBQP::RegAlloc::MatrixMetadata::getWorstRow().
Referenced by PBQP::RegAlloc::RegAllocSolverImpl::handleReconnectEdge(), and PBQP::RegAlloc::RegAllocSolverImpl::handleSetEdgeCosts().
void PBQP::RegAlloc::NodeMetadata::handleRemoveEdge | ( | const MatrixMetadata & | MD, |
bool | Transpose | ||
) | [inline] |
Definition at line 108 of file RegAllocSolver.h.
References PBQP::RegAlloc::MatrixMetadata::getUnsafeCols(), PBQP::RegAlloc::MatrixMetadata::getUnsafeRows(), PBQP::RegAlloc::MatrixMetadata::getWorstCol(), and PBQP::RegAlloc::MatrixMetadata::getWorstRow().
Referenced by PBQP::RegAlloc::RegAllocSolverImpl::handleDisconnectEdge().
bool PBQP::RegAlloc::NodeMetadata::isConservativelyAllocatable | ( | ) | const [inline] |
Definition at line 116 of file RegAllocSolver.h.
Referenced by PBQP::RegAlloc::RegAllocSolverImpl::handleDisconnectEdge().
void PBQP::RegAlloc::NodeMetadata::setReductionState | ( | ReductionState | RS | ) | [inline] |
Definition at line 98 of file RegAllocSolver.h.
void PBQP::RegAlloc::NodeMetadata::setup | ( | const Vector & | Costs | ) | [inline] |
Definition at line 92 of file RegAllocSolver.h.
References PBQP::Vector::getLength().
Referenced by PBQP::RegAlloc::RegAllocSolverImpl::handleAddNode().