tenzr::txpr::TxprEmitter¶
Lowers a Txpr into StableHLO MLIR text by assigning each variable a unique SSA name.
#include <emitter.h>
Public Functions¶
| Name | |
|---|---|
| TxprEmitter() =default | |
| TxprCompiledModule | Emit(const Txpr & txpr) Lowers txpr and returns its compiled module. |
Public Functions Documentation¶
function TxprEmitter¶
function Emit¶
Lowers txpr and returns its compiled module.
Parameters:
- txpr IR graph to lower.
Return: The compiled module with MLIR text and I/O metadata.
Lower a Txpr graph into a StableHLO MLIR module.