|
LLVM
4.0.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)=default | |
| NodeMetadata & | operator= (NodeMetadata &&Other)=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 157 of file RegAllocPBQP.h.
Definition at line 159 of file RegAllocPBQP.h.
| Enumerator | |
|---|---|
| Unprocessed | |
| NotProvablyAllocatable | |
| ConservativelyAllocatable | |
| OptimallyReducible | |
Definition at line 164 of file RegAllocPBQP.h.
|
inline |
Definition at line 171 of file RegAllocPBQP.h.
|
inline |
Definition at line 179 of file RegAllocPBQP.h.
|
default |
|
inline |
Definition at line 203 of file RegAllocPBQP.h.
|
inline |
Definition at line 210 of file RegAllocPBQP.h.
|
inline |
Definition at line 198 of file RegAllocPBQP.h.
|
inline |
Definition at line 223 of file RegAllocPBQP.h.
References llvm::PBQP::RegAlloc::MatrixMetadata::getUnsafeCols(), llvm::PBQP::RegAlloc::MatrixMetadata::getUnsafeRows(), llvm::PBQP::RegAlloc::MatrixMetadata::getWorstCol(), llvm::PBQP::RegAlloc::MatrixMetadata::getWorstRow(), and i.
Referenced by llvm::PBQP::RegAlloc::RegAllocSolverImpl::handleReconnectEdge(), and llvm::PBQP::RegAlloc::RegAllocSolverImpl::handleUpdateCosts().
|
inline |
Definition at line 231 of file RegAllocPBQP.h.
References llvm::PBQP::RegAlloc::MatrixMetadata::getUnsafeCols(), llvm::PBQP::RegAlloc::MatrixMetadata::getUnsafeRows(), llvm::PBQP::RegAlloc::MatrixMetadata::getWorstCol(), llvm::PBQP::RegAlloc::MatrixMetadata::getWorstRow(), and i.
Referenced by llvm::PBQP::RegAlloc::RegAllocSolverImpl::handleDisconnectEdge(), and llvm::PBQP::RegAlloc::RegAllocSolverImpl::handleUpdateCosts().
|
inline |
Definition at line 239 of file RegAllocPBQP.h.
References llvm::find().
|
default |
|
inline |
Definition at line 200 of file RegAllocPBQP.h.
|
inline |
Definition at line 211 of file RegAllocPBQP.h.
References assert(), and ConservativelyAllocatable.
Definition at line 205 of file RegAllocPBQP.h.
References llvm::PBQP::Vector::getLength().
Referenced by llvm::PBQP::RegAlloc::RegAllocSolverImpl::handleAddNode().
|
inline |
Definition at line 197 of file RegAllocPBQP.h.
|
inline |
Definition at line 246 of file RegAllocPBQP.h.
1.8.6