mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-13 08:56:04 +00:00
Added initialisers for reduction rule counters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113108 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e110abb313
commit
b76d20969f
@ -34,6 +34,10 @@ namespace PBQP {
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
/// \brief Initialise an empty solution.
|
||||||
|
Solution()
|
||||||
|
: r0Reductions(0), r1Reductions(0), r2Reductions(0), rNReductions(0) {}
|
||||||
|
|
||||||
/// \brief Number of nodes for which selections have been made.
|
/// \brief Number of nodes for which selections have been made.
|
||||||
/// @return Number of nodes for which selections have been made.
|
/// @return Number of nodes for which selections have been made.
|
||||||
unsigned numNodes() const { return selections.size(); }
|
unsigned numNodes() const { return selections.size(); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user