tvm_tirx.script.ir_builder#
Shared TVMScript construction APIs and lazy language variant builders.
Classes#
|
Hold the exact native result of an already emitted builder operation. |
A shared construction context for any language variant's IR. |
|
|
Alias |
Canonical API |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Functions#
|
Attach source context to the same IR node, emission receipt, or frame. |
|
Resolve selected string arguments before calling a builder operation. |
|
Evaluate once under a location, optionally attaching it to the same result. |
|
Build a shared staging lambda from explicit types and a Python callable. |
|
Mark host control syntax or a JIT specialization annotation. |
|
Construct a tvm_ffi.dtype-valued constant for an ordinary operation argument. |
|
Create a fresh primitive symbolic variable, independently of builder scope. |
|
Return a Python metadata value without binding, naming or relocating it. |
|
Specify the attrs of the ir_module frame. |
|
Get the specified attr of the ir_module frame. |
|
Specify the global infos of the ir_module frame. |
|
Set the specified attr of the ir_module frame. |
|
Register a function signature or a completed function in the active module. |
Start a ir_module frame. |
|
|
Register a concrete function member or retain ordinary class setup. |
|
Resolve a named global-info selector in the current module context. |
Alias |
Canonical API |
|---|---|
|