MLIR  20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
mlir::sparse_tensor::SparseTensorSpecifier Class Reference

#include "Dialect/SparseTensor/Transforms/Utils/SparseTensorDescriptor.h"

Public Member Functions

 SparseTensorSpecifier (Value specifier)
 
 operator Value ()
 
Value getSpecifierField (OpBuilder &builder, Location loc, StorageSpecifierKind kind, std::optional< Level > lvl)
 
void setSpecifierField (OpBuilder &builder, Location loc, Value v, StorageSpecifierKind kind, std::optional< Level > lvl)
 

Static Public Member Functions

static Value getInitValue (OpBuilder &builder, Location loc, SparseTensorType stt)
 

Detailed Description

Definition at line 24 of file SparseTensorDescriptor.h.

Constructor & Destructor Documentation

◆ SparseTensorSpecifier()

mlir::sparse_tensor::SparseTensorSpecifier::SparseTensorSpecifier ( Value  specifier)
inlineexplicit

Definition at line 26 of file SparseTensorDescriptor.h.

Member Function Documentation

◆ getInitValue()

Value SparseTensorSpecifier::getInitValue ( OpBuilder builder,
Location  loc,
SparseTensorType  stt 
)
static

◆ getSpecifierField()

Value SparseTensorSpecifier::getSpecifierField ( OpBuilder builder,
Location  loc,
StorageSpecifierKind  kind,
std::optional< Level lvl 
)

◆ operator Value()

mlir::sparse_tensor::SparseTensorSpecifier::operator Value ( )
inline

Definition at line 33 of file SparseTensorDescriptor.h.

◆ setSpecifierField()

void SparseTensorSpecifier::setSpecifierField ( OpBuilder builder,
Location  loc,
Value  v,
StorageSpecifierKind  kind,
std::optional< Level lvl 
)

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