MLIR 24.0.0git
mlir::remark::RemarkQuery Class Reference

Exact-match criteria for searching emitted or pending remarks. More...

#include "mlir/IR/Remarks.h"

Public Member Functions

RemarkQuery name (StringRef value) const &
RemarkQuery name (StringRef value) &&
RemarkQuery category (StringRef value) const &
 Match the base category, without the subcategory.
RemarkQuery category (StringRef value) &&
RemarkQuery subCategory (StringRef value) const &
RemarkQuery subCategory (StringRef value) &&
RemarkQuery function (StringRef value) const &
RemarkQuery function (StringRef value) &&
RemarkQuery kind (RemarkKind value) const &
RemarkQuery kind (RemarkKind value) &&
RemarkQuery at (Location value) const &
 Match the complete location, including any wrapping locations.
RemarkQuery at (Location value) &&

Static Public Member Functions

static RemarkQuery named (StringRef value)
 Construct a query matching the given remark name.

Friends

class detail::RemarkEngine

Detailed Description

Exact-match criteria for searching emitted or pending remarks.

Unspecified fields match any value; a specified empty string matches an empty field. Strings are owned by the query. Locations belong to their MLIRContext and must not outlive it. A location match does not imply operation identity.

Definition at line 152 of file Remarks.h.

Member Function Documentation

◆ at() [1/2]

RemarkQuery mlir::remark::RemarkQuery::at ( Location value) &&
inlinenodiscard

Definition at line 199 of file Remarks.h.

◆ at() [2/2]

RemarkQuery mlir::remark::RemarkQuery::at ( Location value) const &
inlinenodiscard

Match the complete location, including any wrapping locations.

Definition at line 196 of file Remarks.h.

References at().

Referenced by at().

◆ category() [1/2]

RemarkQuery mlir::remark::RemarkQuery::category ( StringRef value) &&
inlinenodiscard

Definition at line 170 of file Remarks.h.

◆ category() [2/2]

RemarkQuery mlir::remark::RemarkQuery::category ( StringRef value) const &
inlinenodiscard

Match the base category, without the subcategory.

Definition at line 167 of file Remarks.h.

References category().

Referenced by category().

◆ function() [1/2]

RemarkQuery mlir::remark::RemarkQuery::function ( StringRef value) &&
inlinenodiscard

Definition at line 184 of file Remarks.h.

◆ function() [2/2]

RemarkQuery mlir::remark::RemarkQuery::function ( StringRef value) const &
inlinenodiscard

Definition at line 181 of file Remarks.h.

References function().

Referenced by function().

◆ kind() [1/2]

RemarkQuery mlir::remark::RemarkQuery::kind ( RemarkKind value) &&
inlinenodiscard

Definition at line 191 of file Remarks.h.

◆ kind() [2/2]

RemarkQuery mlir::remark::RemarkQuery::kind ( RemarkKind value) const &
inlinenodiscard

Definition at line 188 of file Remarks.h.

References kind().

Referenced by kind().

◆ name() [1/2]

RemarkQuery mlir::remark::RemarkQuery::name ( StringRef value) &&
inlinenodiscard

Definition at line 162 of file Remarks.h.

◆ name() [2/2]

RemarkQuery mlir::remark::RemarkQuery::name ( StringRef value) const &
inlinenodiscard

Definition at line 159 of file Remarks.h.

References name().

Referenced by name(), and named().

◆ named()

RemarkQuery mlir::remark::RemarkQuery::named ( StringRef value)
inlinestaticnodiscard

Construct a query matching the given remark name.

Definition at line 155 of file Remarks.h.

References name().

◆ subCategory() [1/2]

RemarkQuery mlir::remark::RemarkQuery::subCategory ( StringRef value) &&
inlinenodiscard

Definition at line 177 of file Remarks.h.

◆ subCategory() [2/2]

RemarkQuery mlir::remark::RemarkQuery::subCategory ( StringRef value) const &
inlinenodiscard

Definition at line 174 of file Remarks.h.

References subCategory().

Referenced by subCategory().

◆ detail::RemarkEngine

friend class detail::RemarkEngine
friend

Definition at line 205 of file Remarks.h.


The documentation for this class was generated from the following file: