tvm
|
Definitions and helper macros for IR/AST nodes. More...
#include <tvm/node/reflection.h>
#include <tvm/node/repr_printer.h>
#include <tvm/node/structural_equal.h>
#include <tvm/node/structural_hash.h>
#include <tvm/runtime/c_runtime_api.h>
#include <tvm/runtime/memory.h>
#include <tvm/runtime/object.h>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>
Go to the source code of this file.
Namespaces | |
tvm | |
runtime implementation for LibTorch/TorchScript. | |
Definitions and helper macros for IR/AST nodes.
The node folder contains base utilities for IR/AST nodes, invariant of which specific language dialect.
We implement AST/IR nodes as sub-classes of runtime::Object. The base class Node is just an alias of runtime::Object.
Besides the runtime type checking provided by Object, node folder contains additional functionalities such as reflection and serialization, which are important features for building a compiler infra.