LLVM
8.0.1
|
#include "llvm/CodeGen/RegAllocPBQP.h"
Classes | |
struct | EdgeMetadata |
Public Types | |
using | RawVector = PBQP::Vector |
using | RawMatrix = PBQP::Matrix |
using | Vector = PBQP::Vector |
using | Matrix = RAMatrix |
using | CostAllocator = PBQP::PoolCostAllocator< Vector, Matrix > |
using | NodeId = GraphBase::NodeId |
using | EdgeId = GraphBase::EdgeId |
using | NodeMetadata = RegAlloc::NodeMetadata |
using | GraphMetadata = RegAlloc::GraphMetadata |
using | Graph = PBQP::Graph< RegAllocSolverImpl > |
Public Member Functions | |
RegAllocSolverImpl (Graph &G) | |
Solution | solve () |
void | handleAddNode (NodeId NId) |
void | handleRemoveNode (NodeId NId) |
void | handleSetNodeCosts (NodeId NId, const Vector &newCosts) |
void | handleAddEdge (EdgeId EId) |
void | handleDisconnectEdge (EdgeId EId, NodeId NId) |
void | handleReconnectEdge (EdgeId EId, NodeId NId) |
void | handleUpdateCosts (EdgeId EId, const Matrix &NewCosts) |
Definition at line 268 of file RegAllocPBQP.h.
using llvm::PBQP::RegAlloc::RegAllocSolverImpl::CostAllocator = PBQP::PoolCostAllocator<Vector, Matrix> |
Definition at line 277 of file RegAllocPBQP.h.
Definition at line 280 of file RegAllocPBQP.h.
Definition at line 286 of file RegAllocPBQP.h.
Definition at line 284 of file RegAllocPBQP.h.
Definition at line 276 of file RegAllocPBQP.h.
Definition at line 279 of file RegAllocPBQP.h.
Definition at line 282 of file RegAllocPBQP.h.
Definition at line 274 of file RegAllocPBQP.h.
Definition at line 273 of file RegAllocPBQP.h.
Definition at line 275 of file RegAllocPBQP.h.
|
inline |
Definition at line 288 of file RegAllocPBQP.h.
|
inline |
Definition at line 308 of file RegAllocPBQP.h.
References G.
|
inline |
Definition at line 299 of file RegAllocPBQP.h.
|
inline |
Definition at line 313 of file RegAllocPBQP.h.
References G, and llvm::PBQP::RegAlloc::NodeMetadata::handleRemoveEdge().
|
inline |
Definition at line 320 of file RegAllocPBQP.h.
References G, and llvm::PBQP::RegAlloc::NodeMetadata::handleAddEdge().
|
inline |
Definition at line 305 of file RegAllocPBQP.h.
|
inline |
Definition at line 306 of file RegAllocPBQP.h.
|
inline |
Definition at line 326 of file RegAllocPBQP.h.
References llvm::PBQP::applyR1(), llvm::PBQP::applyR2(), assert(), G, llvm::PBQP::MDMatrix< Metadata >::getMetadata(), llvm::PBQP::Graph< SolverT >::getNodeCosts(), llvm::PBQP::Graph< SolverT >::getNodeDegree(), llvm::PBQP::RegAlloc::NodeMetadata::getReductionState(), llvm::PBQP::RegAlloc::NodeMetadata::handleAddEdge(), llvm::PBQP::RegAlloc::NodeMetadata::handleRemoveEdge(), llvm::PBQP::RegAlloc::NodeMetadata::isConservativelyAllocatable(), llvm_unreachable, and reduce.
|
inline |
Definition at line 290 of file RegAllocPBQP.h.
References llvm::PBQP::backpropagate(), G, and reduce.
Referenced by llvm::PBQP::RegAlloc::solve().