|
LLVM
3.7.0
|
Holds solver state and other metadata relevant to each PBQP RA node. More...
#include <RegAllocPBQP.h>
Public Types | |
| enum | ReductionState { Unprocessed, NotProvablyAllocatable, ConservativelyAllocatable, OptimallyReducible } |
| typedef RegAlloc::AllowedRegVector | AllowedRegVector |
Public Member Functions | |
| NodeMetadata () | |
| NodeMetadata (const NodeMetadata &Other) | |
| NodeMetadata (NodeMetadata &&Other) | |
| NodeMetadata & | operator= (const NodeMetadata &Other) |
| NodeMetadata & | operator= (NodeMetadata &&Other) |
| 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 179 of file RegAllocPBQP.h.
Definition at line 181 of file RegAllocPBQP.h.
| Enumerator | |
|---|---|
| Unprocessed | |
| NotProvablyAllocatable | |
| ConservativelyAllocatable | |
| OptimallyReducible | |
Definition at line 186 of file RegAllocPBQP.h.
|
inline |
Definition at line 193 of file RegAllocPBQP.h.
|
inline |
Definition at line 203 of file RegAllocPBQP.h.
|
inline |
Definition at line 219 of file RegAllocPBQP.h.
|
inline |
Definition at line 266 of file RegAllocPBQP.h.
|
inline |
Definition at line 273 of file RegAllocPBQP.h.
|
inline |
Definition at line 261 of file RegAllocPBQP.h.
|
inline |
Definition at line 287 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 295 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 303 of file RegAllocPBQP.h.
|
inline |
Definition at line 230 of file RegAllocPBQP.h.
|
inline |
Definition at line 247 of file RegAllocPBQP.h.
References Other.
|
inline |
Definition at line 263 of file RegAllocPBQP.h.
|
inline |
Definition at line 274 of file RegAllocPBQP.h.
References ConservativelyAllocatable.
Definition at line 268 of file RegAllocPBQP.h.
References llvm::PBQP::Vector::getLength().
Referenced by llvm::PBQP::RegAlloc::RegAllocSolverImpl::handleAddNode().
|
inline |
Definition at line 260 of file RegAllocPBQP.h.
|
inline |
Definition at line 310 of file RegAllocPBQP.h.
1.8.6