LLVM 19.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

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.
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 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: