kirin.dialects.debug.Info
← Module overview
class
classInfo¶source
kirin.dialects.debug.Info
Bases: ir.Statement
print debug information.
class InfoThis statement is used to print debug information during execution. The compiler has freedom to choose how to print the information and send it back to the caller. Note that in the case of heterogeneous hardware, this may not be printed on the same device as the caller but instead being a log.
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
traits | — | frozenset({InfoLowering()}) | |
msg | ir.SSAValue | decl.info.argument(types.String) | |
inputs | tuple[ir.SSAValue, ...] | decl.info.argument() |