LLVM  17.0.0git
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
Collaboration diagram for llvm::PBQP::MDVector< Metadata >:
Collaboration graph

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 255 of file Math.h.

Constructor & Destructor Documentation

◆ MDVector() [1/2]

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

Definition at line 257 of file Math.h.

◆ MDVector() [2/2]

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

Definition at line 258 of file Math.h.

Member Function Documentation

◆ getMetadata()

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

Definition at line 260 of file Math.h.

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