LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
llvm::PBQP::PoolCostAllocator< VectorT, MatrixT > Class Template Reference

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

Public Types

using Vector = VectorT
 
using Matrix = MatrixT
 
using VectorPtr = typename VectorCostPool::PoolRef
 
using MatrixPtr = typename MatrixCostPool::PoolRef
 

Public Member Functions

template<typename VectorKeyT >
VectorPtr getVector (VectorKeyT v)
 
template<typename MatrixKeyT >
MatrixPtr getMatrix (MatrixKeyT m)
 

Detailed Description

template<typename VectorT, typename MatrixT>
class llvm::PBQP::PoolCostAllocator< VectorT, MatrixT >

Definition at line 107 of file CostAllocator.h.

Member Typedef Documentation

◆ Matrix

template<typename VectorT , typename MatrixT >
using llvm::PBQP::PoolCostAllocator< VectorT, MatrixT >::Matrix = MatrixT

Definition at line 114 of file CostAllocator.h.

◆ MatrixPtr

template<typename VectorT , typename MatrixT >
using llvm::PBQP::PoolCostAllocator< VectorT, MatrixT >::MatrixPtr = typename MatrixCostPool::PoolRef

Definition at line 116 of file CostAllocator.h.

◆ Vector

template<typename VectorT , typename MatrixT >
using llvm::PBQP::PoolCostAllocator< VectorT, MatrixT >::Vector = VectorT

Definition at line 113 of file CostAllocator.h.

◆ VectorPtr

template<typename VectorT , typename MatrixT >
using llvm::PBQP::PoolCostAllocator< VectorT, MatrixT >::VectorPtr = typename VectorCostPool::PoolRef

Definition at line 115 of file CostAllocator.h.

Member Function Documentation

◆ getMatrix()

template<typename VectorT , typename MatrixT >
template<typename MatrixKeyT >
MatrixPtr llvm::PBQP::PoolCostAllocator< VectorT, MatrixT >::getMatrix ( MatrixKeyT  m)
inline

Definition at line 122 of file CostAllocator.h.

References llvm::PBQP::ValuePool< ValueT >::getValue().

◆ getVector()

template<typename VectorT , typename MatrixT >
template<typename VectorKeyT >
VectorPtr llvm::PBQP::PoolCostAllocator< VectorT, MatrixT >::getVector ( VectorKeyT  v)
inline

Definition at line 118 of file CostAllocator.h.

References llvm::PBQP::ValuePool< ValueT >::getValue().


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