Skip to content

kirin.dialects.debug.Info

← Module overview

classInfosource

kirin.dialects.debug.Info

Bases: ir.Statement

print debug information.

class Info

This 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

NameTypeDefaultDescription
traits—frozenset({InfoLowering()})
msgir.SSAValuedecl.info.argument(types.String)
inputstuple[ir.SSAValue, ...]decl.info.argument()