mlir.dialects._transform_debug_extension_ops_gen

Attributes

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

Functions

debug_emit_param_as_remark(→ EmitParamAsRemarkOp)

debug_emit_remark_at(→ EmitRemarkAtOp)

Module Contents

mlir.dialects._transform_debug_extension_ops_gen._ods_ir
class mlir.dialects._transform_debug_extension_ops_gen.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_extension_ops_gen.debug_emit_param_as_remark(param, *, anchor=None, message=None, loc=None, ip=None) EmitParamAsRemarkOp
class mlir.dialects._transform_debug_extension_ops_gen.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_extension_ops_gen.debug_emit_remark_at(at, message, *, loc=None, ip=None) EmitRemarkAtOp