LLVM: llvm::PBQP::Vector Class Reference (original) (raw)
#include "[llvm/CodeGen/PBQP/Math.h](Math%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| Vector (unsigned Length) | |
| Construct a PBQP vector of the given size. | |
| Vector (unsigned Length, PBQPNum InitVal) | |
| Construct a PBQP vector with initializer. | |
| Vector (const Vector &V) | |
| Copy construct a PBQP vector. | |
| Vector (Vector &&V) | |
| Move construct a PBQP vector. | |
| const PBQPNum * | begin () const |
| const PBQPNum * | end () const |
| PBQPNum * | begin () |
| PBQPNum * | end () |
| bool | operator== (const Vector &V) const |
| Comparison operator. | |
| unsigned | getLength () const |
| Return the length of the vector. | |
| PBQPNum & | operator[] (unsigned Index) |
| Element access. | |
| const PBQPNum & | operator[] (unsigned Index) const |
| Const element access. | |
| Vector & | operator+= (const Vector &V) |
| Add another vector to this one. | |
| unsigned | minIndex () const |
| Returns the index of the minimum value in this vector. |
Definition at line 27 of file Math.h.
◆ Vector() [1/4]
| llvm::PBQP::Vector::Vector ( unsigned Length) | inlineexplicit |
|---|
◆ Vector() [2/4]
◆ Vector() [3/4]
◆ Vector() [4/4]
| llvm::PBQP::Vector::Vector ( Vector && V) | inline |
|---|
◆ begin() [1/2]
| PBQPNum * llvm::PBQP::Vector::begin ( ) | inline |
|---|
Definition at line 46 of file Math.h.
◆ begin() [2/2]
◆ end() [1/2]
| PBQPNum * llvm::PBQP::Vector::end ( ) | inline |
|---|
Definition at line 47 of file Math.h.
◆ end() [2/2]
◆ getLength()
| unsigned llvm::PBQP::Vector::getLength ( ) const | inline |
|---|
◆ minIndex()
| unsigned llvm::PBQP::Vector::minIndex ( ) const | inline |
|---|
◆ operator+=()
◆ operator==()
◆ operator[]() [1/2]
◆ operator[]() [2/2]
Const element access.
Definition at line 69 of file Math.h.
References assert().
The documentation for this class was generated from the following file:
- include/llvm/CodeGen/PBQP/Math.h