19#ifndef TVM_S_TIR_FUNCTION_H_
20#define TVM_S_TIR_FUNCTION_H_
22#include <tvm/ffi/container/array.h>
23#include <tvm/ffi/reflection/accessor.h>
33inline constexpr ffi::reflection::AttrKey<bool>
kIsScheduled{
"tirx.is_scheduled"};
37 "layout_free_tensors"};
45inline constexpr ffi::reflection::AttrKey<int64_t>
kEstimatedFlops{
"estimated_flops"};
constexpr const char * kLayoutTransforms
Marks the layout transforms to be used for a tensor.
Definition function.h:44
constexpr ffi::reflection::AttrKey< bool > kIsScheduled
Mark the function as scheduled, so the default schedule will pass will skip it.
Definition function.h:33
constexpr ffi::reflection::AttrKey< ffi::Array< int64_t > > kLayoutFreeTensors
Mark the tensors which is const access and can be transformed layout.
Definition function.h:36
constexpr ffi::reflection::AttrKey< int64_t > kEstimatedFlops
Definition function.h:45
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition analysis.h:41