|
LLVM
8.0.1
|
#include "llvm/CodeGen/PBQP/Math.h"

Public Member Functions | |
| Vector (unsigned Length) | |
| Construct a PBQP vector of the given size. More... | |
| Vector (unsigned Length, PBQPNum InitVal) | |
| Construct a PBQP vector with initializer. More... | |
| Vector (const Vector &V) | |
| Copy construct a PBQP vector. More... | |
| Vector (Vector &&V) | |
| Move construct a PBQP vector. More... | |
| bool | operator== (const Vector &V) const |
| Comparison operator. More... | |
| unsigned | getLength () const |
| Return the length of the vector. More... | |
| PBQPNum & | operator[] (unsigned Index) |
| Element access. More... | |
| const PBQPNum & | operator[] (unsigned Index) const |
| Const element access. More... | |
| Vector & | operator+= (const Vector &V) |
| Add another vector to this one. More... | |
| unsigned | minIndex () const |
| Returns the index of the minimum value in this vector. More... | |
Friends | |
| hash_code | hash_value (const Vector &) |
| Return a hash_value for the given vector. More... | |
|
inlineexplicit |
|
inline |
|
inline |
Return the length of the vector.
Definition at line 61 of file Math.h.
References assert().
Referenced by llvm::PBQP::operator<<(), and llvm::PBQP::RegAlloc::NodeMetadata::setup().
|
inline |
Add another vector to this one.
Definition at line 81 of file Math.h.
References assert(), and llvm::transform().
Comparison operator.
Definition at line 53 of file Math.h.
References assert(), and llvm::lltok::equal.
Return a hash_value for the given vector.
Definition at line 101 of file Math.h.
Referenced by llvm::PBQP::hash_value().
1.8.13