LLVM 22.0.0git
llvm::PBQP::MDVector< Metadata > Class Template Reference

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

Inheritance diagram for llvm::PBQP::MDVector< Metadata >:
[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.
 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 PBQPNumbegin () const
const PBQPNumend () const
PBQPNumbegin ()
PBQPNumend ()
bool operator== (const Vector &V) const
 Comparison operator.
unsigned getLength () const
 Return the length of the vector.
PBQPNumoperator[] (unsigned Index)
 Element access.
const PBQPNumoperator[] (unsigned Index) const
 Const element access.
Vectoroperator+= (const Vector &V)
 Add another vector to this one.
unsigned minIndex () const
 Returns the index of the minimum value in this vector.

Detailed Description

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

Definition at line 244 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 246 of file Math.h.

References llvm::PBQP::Vector::Vector().

◆ MDVector() [2/2]

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

Definition at line 247 of file Math.h.

References llvm::move(), and llvm::PBQP::Vector::Vector().

Member Function Documentation

◆ getMetadata()

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

Definition at line 249 of file Math.h.


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