19#ifndef TVM_S_TIR_META_SCHEDULE_PROFILER_H_
20#define TVM_S_TIR_META_SCHEDULE_PROFILER_H_
22#include <tvm/ffi/container/array.h>
23#include <tvm/ffi/function.h>
24#include <tvm/ffi/optional.h>
25#include <tvm/ffi/reflection/registry.h>
26#include <tvm/ffi/string.h>
32#include <unordered_map>
39namespace meta_schedule {
44 if (deferred_ !=
nullptr) {
53 ffi::TypedFunction<
void()> deferred_;
65 namespace refl = tvm::ffi::reflection;
66 refl::ObjectDef<ProfilerNode>();
74 ffi::Map<ffi::String, FloatImm>
Get()
const;
RAII wrapper function to enter and exit a context object similar to python's with syntax.
Definition with_context.h:59
IRModule that holds the functions and type definitions.
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition analyzer.h:40
Compilation target object.