LLVM  8.0.1
Public Member Functions | List of all members
llvm::PBQP::MDVector< Metadata > Class Template Reference

#include "llvm/CodeGen/PBQP/Math.h"

Inheritance diagram for llvm::PBQP::MDVector< Metadata >:
Inheritance graph
[legend]
Collaboration diagram for llvm::PBQP::MDVector< Metadata >:
Collaboration graph
[legend]

Public Member Functions

 MDVector (const Vector &v)
 
 MDVector (Vector &&v)
 
const MetadatagetMetadata () const
 
- Public Member Functions inherited from llvm::PBQP::Vector
 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...
 
PBQPNumoperator[] (unsigned Index)
 Element access. More...
 
const PBQPNumoperator[] (unsigned Index) const
 Const element access. More...
 
Vectoroperator+= (const Vector &V)
 Add another vector to this one. More...
 
unsigned minIndex () const
 Returns the index of the minimum value in this vector. More...
 

Detailed Description

template<typename Metadata>
class llvm::PBQP::MDVector< Metadata >

Definition at line 256 of file Math.h.

Constructor & Destructor Documentation

◆ MDVector() [1/2]

template<typename Metadata>
llvm::PBQP::MDVector< Metadata >::MDVector ( const Vector v)
inline

Definition at line 258 of file Math.h.

◆ MDVector() [2/2]

template<typename Metadata>
llvm::PBQP::MDVector< Metadata >::MDVector ( Vector &&  v)
inline

Definition at line 259 of file Math.h.

Member Function Documentation

◆ getMetadata()

template<typename Metadata>
const Metadata& llvm::PBQP::MDVector< Metadata >::getMetadata ( ) const
inline

Definition at line 261 of file Math.h.


The documentation for this class was generated from the following file: