tvm
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
tvm::PVecDataType Class Reference

Pattern variable container for data type with lanes. More...

#include <pattern_match.h>

Inheritance diagram for tvm::PVecDataType:
Collaboration diagram for tvm::PVecDataType:

Public Member Functions

 PVecDataType (DLDataType elem_dtype)
 construct vector dtype placeholder with element type check
 
bool Match_ (DLDataType dtype) const
 
- Public Member Functions inherited from tvm::PVarWithCheck< PVecDataType, DLDataType >
void InitMatch_ () const
 
bool Match_ (const DLDataType &value) const
 
bool Match_ (const NodeRefType &value) const
 
DLDataType Eval () const
 
- Public Member Functions inherited from tvm::Pattern< Derived >
template<typename NodeType >
bool Match (const NodeType &value) const
 Check if value matches the current pattern.
 
template<typename NodeType , typename Condition >
bool Match (const NodeType &value, Condition cond) const
 Check if value matches the current pattern.
 
const Derived & derived () const
 

Protected Attributes

DLDataType elem_dtype_
 
- Protected Attributes inherited from tvm::PVarWithCheck< PVecDataType, DLDataType >
PVar< DLDataType > pvar_
 

Additional Inherited Members

- Public Types inherited from tvm::PVarWithCheck< PVecDataType, DLDataType >
using Nested = const PVarWithCheck< PVecDataType, DLDataType > &
 
- Public Types inherited from tvm::Pattern< Derived >
using Nested = Derived
 Nested storage type in the expression.
 

Detailed Description

Pattern variable container for data type with lanes.

Constructor & Destructor Documentation

◆ PVecDataType()

tvm::PVecDataType::PVecDataType ( DLDataType  elem_dtype)
inlineexplicit

construct vector dtype placeholder with element type check

Member Function Documentation

◆ Match_()

bool tvm::PVecDataType::Match_ ( DLDataType  dtype) const
inline

Member Data Documentation

◆ elem_dtype_

DLDataType tvm::PVecDataType::elem_dtype_
protected

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