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

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

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

Public Member Functions

 MDMatrix (const Matrix &m)
 
 MDMatrix (Matrix &&m)
 
const MetadatagetMetadata () const
 
- Public Member Functions inherited from llvm::PBQP::Matrix
 Matrix (unsigned Rows, unsigned Cols)
 Construct a PBQP Matrix with the given dimensions. More...
 
 Matrix (unsigned Rows, unsigned Cols, PBQPNum InitVal)
 Construct a PBQP Matrix with the given dimensions and initial value. More...
 
 Matrix (const Matrix &M)
 Copy construct a PBQP matrix. More...
 
 Matrix (Matrix &&M)
 Move construct a PBQP matrix. More...
 
bool operator== (const Matrix &M) const
 Comparison operator. More...
 
unsigned getRows () const
 Return the number of rows in this matrix. More...
 
unsigned getCols () const
 Return the number of cols in this matrix. More...
 
PBQPNumoperator[] (unsigned R)
 Matrix element access. More...
 
const PBQPNumoperator[] (unsigned R) const
 Matrix element access. More...
 
Vector getRowAsVector (unsigned R) const
 Returns the given row as a vector. More...
 
Vector getColAsVector (unsigned C) const
 Returns the given column as a vector. More...
 
Matrix transpose () const
 Matrix transpose. More...
 
Matrixoperator+= (const Matrix &M)
 Add the given matrix to this one. More...
 
Matrix operator+ (const Matrix &M)
 

Detailed Description

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

Definition at line 273 of file Math.h.

Constructor & Destructor Documentation

◆ MDMatrix() [1/2]

template<typename Metadata>
llvm::PBQP::MDMatrix< Metadata >::MDMatrix ( const Matrix m)
inline

Definition at line 275 of file Math.h.

◆ MDMatrix() [2/2]

template<typename Metadata>
llvm::PBQP::MDMatrix< Metadata >::MDMatrix ( Matrix &&  m)
inline

Definition at line 276 of file Math.h.

Member Function Documentation

◆ getMetadata()

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

Definition at line 278 of file Math.h.

Referenced by llvm::PBQP::RegAlloc::RegAllocSolverImpl::handleUpdateCosts().


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