Managed reference to an IRBuilderObj.
More...
#include <base.h>
Managed reference to an IRBuilderObj.
- See also
- IRBuilderObj
◆ IRBuilder()
| tvm::script::ir_builder::IRBuilder::IRBuilder |
( |
| ) |
|
|
inline |
◆ Current()
◆ EnterWithScope()
| TVM_TIRX_DLL void tvm::script::ir_builder::IRBuilder::EnterWithScope |
( |
| ) |
|
Puts the current IRBuilder into a thread-local scope, which can be retrieved using IRBuilder::Current().
{
}
RAII wrapper function to enter and exit a context object similar to python's with syntax.
Definition with_context.h:58
Managed reference to an IRBuilderObj.
Definition base.h:217
- See also
- IRBuilder::Current
-
IRBuilder::ExitWithScope
-
tvm::support::With
◆ ExitWithScope()
| TVM_TIRX_DLL void tvm::script::ir_builder::IRBuilder::ExitWithScope |
( |
| ) |
|
◆ IsInScope()
| static TVM_TIRX_DLL bool tvm::script::ir_builder::IRBuilder::IsInScope |
( |
| ) |
|
|
static |
See if the current thread-local scope has an IRBuilder.
◆ Name()
template<class TObjectRef >
| TObjectRef tvm::script::ir_builder::IRBuilder::Name |
( |
ffi::String |
name, |
|
|
TObjectRef |
obj |
|
) |
| |
|
inlinestatic |
Give a string name to the obj
- Template Parameters
-
| TObjectRef | The type of the object to name. |
- Parameters
-
| name | The name to give to the object. |
| obj | The object to name. |
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()
| tvm::script::ir_builder::IRBuilder::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE |
( |
IRBuilder |
, |
|
|
ffi::ObjectRef |
, |
|
|
IRBuilderObj |
|
|
) |
| |
The documentation for this class was generated from the following file:
- 3rdparty/tvm-tirx/include/tvm/script/ir_builder/base.h