Name |
Last commit
|
Last update |
---|---|---|
.. | ||
adt.cc | ||
alpha_equal.cc | ||
base.cc | ||
doc.cc | ||
doc.h | ||
error.cc | ||
expr.cc | ||
expr_functor.cc | ||
hash.cc | ||
module.cc | ||
op.cc | ||
pattern_functor.cc | ||
pretty_printer.cc | ||
type.cc | ||
type_functor.cc | ||
type_functor.h |
This PR moves a few base types from relay and low-level Expr into the ir sub-folder. These classes will serve as a common type system across the stack. Rationale: - PrimExpr for low-level expressions - RelayExpr for advanced features, including Function definition. - Introduce BaseFunc to host all functions, including future PrimFunc(low-level expr functions, subject to discussion). This is a minimum change we can do to unify the classes into a common hierarchy. The main data structure that are variant specific will still be kept in the sub-namespaces. We only include classes that is needed to allow a common Module class. - BaseFunc - GlobalVar - Type definition part of ADT We will only need the BaseFunc and their checked_type to decide the calling convention across the function variants.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
adt.cc | Loading commit data... | |
alpha_equal.cc | Loading commit data... | |
base.cc | Loading commit data... | |
doc.cc | Loading commit data... | |
doc.h | Loading commit data... | |
error.cc | Loading commit data... | |
expr.cc | Loading commit data... | |
expr_functor.cc | Loading commit data... | |
hash.cc | Loading commit data... | |
module.cc | Loading commit data... | |
op.cc | Loading commit data... | |
pattern_functor.cc | Loading commit data... | |
pretty_printer.cc | Loading commit data... | |
type.cc | Loading commit data... | |
type_functor.cc | Loading commit data... | |
type_functor.h | Loading commit data... |