|
LLVM
8.0.1
|
Represents a solution to a PBQP problem. More...
#include "llvm/CodeGen/PBQP/Solution.h"
Public Member Functions | |
| Solution ()=default | |
| Initialise an empty solution. More... | |
| void | setSelection (GraphBase::NodeId nodeId, unsigned selection) |
| Set the selection for a given node. More... | |
| unsigned | getSelection (GraphBase::NodeId nodeId) const |
| Get a node's selection. More... | |
Represents a solution to a PBQP problem.
To get the selection for each node in the problem use the getSelection method.
Definition at line 27 of file Solution.h.
|
default |
Initialise an empty solution.
|
inline |
Get a node's selection.
| nodeId | Node id. |
Definition at line 46 of file Solution.h.
References assert().
Referenced by llvm::PBQP::backpropagate(), and isACalleeSavedRegister().
|
inline |
Set the selection for a given node.
| nodeId | Node id. |
| selection | Selection for nodeId. |
Definition at line 39 of file Solution.h.
Referenced by llvm::PBQP::backpropagate().
1.8.13