mlir.dialects.transform.debug

Classes

EmitParamAsRemarkOp

This operation emits a diagnostic remark containing the string form of the

EmitRemarkAtOp

This operation emits a diagnostic remark with the given message at the

EmitParamAsRemarkOp

This operation emits a diagnostic remark containing the string form of the

EmitRemarkAtOp

This operation emits a diagnostic remark with the given message at the

Functions

debug_emit_param_as_remark(→ EmitParamAsRemarkOp)

debug_emit_remark_at(→ EmitRemarkAtOp)

emit_param_as_remark(param, *[, anchor, message, loc, ip])

emit_remark_at(at[, message, loc, ip])

Module Contents

class mlir.dialects.transform.debug.EmitParamAsRemarkOp(param, *, anchor=None, message=None, loc=None, ip=None)

Bases: _ods_ir

This operation emits a diagnostic remark containing the string form of the attributes associated with the parameter provided as attribute. It takes as optional arguments:

  • an additional message text to prepend;

  • a handle pointing to operations the location of which will be used to

emit the diagnostic; if multiple operations are associated, the diagnostic is emitted for all of their respective locations.

This operation always succeeds.

OPERATION_NAME = 'transform.debug.emit_param_as_remark'
_ODS_REGIONS = (0, True)
param() _ods_ir
anchor() _ods_ir | None
message() _ods_ir | None
mlir.dialects.transform.debug.debug_emit_param_as_remark(param, *, anchor=None, message=None, loc=None, ip=None) EmitParamAsRemarkOp
class mlir.dialects.transform.debug.EmitRemarkAtOp(at, message, *, loc=None, ip=None)

Bases: _ods_ir

This operation emits a diagnostic remark with the given message at the location of each payload object associated with the argument. The argument may be an operation or a value handle.

This operation always succeeds.

OPERATION_NAME = 'transform.debug.emit_remark_at'
_ODS_REGIONS = (0, True)
at() _ods_ir
message() _ods_ir
mlir.dialects.transform.debug.debug_emit_remark_at(at, message, *, loc=None, ip=None) EmitRemarkAtOp
class mlir.dialects.transform.debug.EmitParamAsRemarkOp(param: mlir.ir.Attribute, *, anchor: mlir.ir.Operation | None = None, message: mlir.ir.StringAttr | str | None = None, loc=None, ip=None)

Bases: EmitParamAsRemarkOp

This operation emits a diagnostic remark containing the string form of the attributes associated with the parameter provided as attribute. It takes as optional arguments:

  • an additional message text to prepend;

  • a handle pointing to operations the location of which will be used to

emit the diagnostic; if multiple operations are associated, the diagnostic is emitted for all of their respective locations.

This operation always succeeds.

mlir.dialects.transform.debug.emit_param_as_remark(param: mlir.ir.Attribute, *, anchor: mlir.ir.Operation | None = None, message: mlir.ir.StringAttr | str | None = None, loc=None, ip=None)
class mlir.dialects.transform.debug.EmitRemarkAtOp(at: mlir.ir.Operation | mlir.ir.Value, message: mlir.ir.StringAttr | str | None = None, *, loc=None, ip=None)

Bases: EmitRemarkAtOp

This operation emits a diagnostic remark with the given message at the location of each payload object associated with the argument. The argument may be an operation or a value handle.

This operation always succeeds.

mlir.dialects.transform.debug.emit_remark_at(at: mlir.ir.Operation | mlir.ir.Value, message: mlir.ir.StringAttr | str | None = None, *, loc=None, ip=None)