tvm
Classes | Namespaces | Functions | Variables
base_expr.h File Reference

Base expression and primitive type nodes. More...

#include <tvm/ffi/cast.h>
#include <tvm/ffi/dtype.h>
#include <tvm/ffi/reflection/registry.h>
#include <tvm/ffi/string.h>
#include <tvm/ir/source_map.h>
#include <cstddef>
#include <cstdint>
#include <optional>
#include <type_traits>
Include dependency graph for base_expr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tvm::TypeNode
 Type is the base type of all types. More...
 
class  tvm::Type
 Managed reference to TypeNode. More...
 
class  tvm::PrimTypeNode
 Primitive data types used in the low-level IR. More...
 
class  tvm::PrimType
 
class  tvm::ExprNode
 Base type of all the expressions. More...
 
class  tvm::Expr
 Managed reference to ExprNode. More...
 
class  tvm::TypedExpr< ExpectedType >
 Typed reference/view over an expression whose result type is a specific Type subtype. More...
 
class  tvm::PrimExpr
 Typed reference/view over any Expr whose ExprNode::ty is PrimType. More...
 
class  tvm::PrimExprConvertibleNode
 Base class for other IR constructs that can be converted to PrimExpr. This is useful for the FFI to convert the expressions to PrimExpr. More...
 
class  tvm::PrimExprConvertible
 Managed reference to PrimExprConvertibleNode. More...
 
struct  tvm::ffi::TypeTraits< PrimType >
 
struct  tvm::ffi::TypeTraits< TypedExpr< ExpectedType > >
 
struct  tvm::ffi::TypedExprWithFallbackTraitsBase< ObjectRefType, ExpectedType, FallbackTypes >
 
struct  tvm::ffi::TypeTraits< PrimExpr >
 
struct  tvm::ffi::TypeTraits< Expr >
 

Namespaces

 tvm
 An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
 
 tvm::ffi
 

Functions

bool tvm::operator== (const PrimType &lhs, const PrimType &rhs)
 
bool tvm::operator!= (const PrimType &lhs, const PrimType &rhs)
 

Variables

template<>
constexpr bool tvm::ffi::use_default_type_traits_v< PrimType > = false
 
template<typename ExpectedType >
constexpr bool tvm::ffi::use_default_type_traits_v< TypedExpr< ExpectedType > > = false
 
template<>
constexpr bool tvm::ffi::use_default_type_traits_v< PrimExpr > = false
 
template<>
constexpr bool tvm::ffi::use_default_type_traits_v< Expr > = false
 

Detailed Description

Base expression and primitive type nodes.