|
tvm
|
Managed reference to AnalyzerObj. More...
#include <analyzer.h>
Public Member Functions | |
| Analyzer () | |
| Default-construct a fresh analyzer (allocates an AnalyzerObj). More... | |
| Analyzer (ffi::ObjectPtr< AnalyzerObj > n) | |
| TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Analyzer, ffi::ObjectRef, AnalyzerObj) | |
Managed reference to AnalyzerObj.
Analyzer is a lightweight, reference-counted handle around a heap-allocated AnalyzerObj. Because it is now a first-class FFI object, an Analyzer can be passed across the tvm-ffi boundary (e.g. handed from Python into a C++ pass) and shared, so that accumulated bindings/constraints persist across calls. Copying an Analyzer copies the handle, and both handles share the same mutable AnalyzerObj state. This is not a deep copy of analyzer facts or caches.
|
inline |
Default-construct a fresh analyzer (allocates an AnalyzerObj).
|
inlineexplicit |
| tvm::arith::Analyzer::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE | ( | Analyzer | , |
| ffi::ObjectRef | , | ||
| AnalyzerObj | |||
| ) |