MLIR 22.0.0git
mlir::remark::RemarkOpts Struct Reference

Options to create a Remark. More...

#include "mlir/IR/Remarks.h"

Public Member Functions

constexpr RemarkOpts category (StringRef v) const
 Return a copy with the category set.
constexpr RemarkOpts subCategory (StringRef v) const
 Return a copy with the subcategory set.
constexpr RemarkOpts function (StringRef v) const
 Return a copy with the function name set.

Static Public Member Functions

static constexpr RemarkOpts name (StringRef n)

Public Attributes

StringRef remarkName
StringRef categoryName
StringRef subCategoryName
StringRef functionName

Detailed Description

Options to create a Remark.

Definition at line 57 of file Remarks.h.

Member Function Documentation

◆ category()

RemarkOpts mlir::remark::RemarkOpts::category ( StringRef v) const
inlineconstexpr

Return a copy with the category set.

Definition at line 68 of file Remarks.h.

References functionName, remarkName, and subCategoryName.

◆ function()

RemarkOpts mlir::remark::RemarkOpts::function ( StringRef v) const
inlineconstexpr

Return a copy with the function name set.

Definition at line 76 of file Remarks.h.

References categoryName, remarkName, and subCategoryName.

◆ name()

constexpr RemarkOpts mlir::remark::RemarkOpts::name ( StringRef n)
inlinestaticconstexpr

◆ subCategory()

RemarkOpts mlir::remark::RemarkOpts::subCategory ( StringRef v) const
inlineconstexpr

Return a copy with the subcategory set.

Definition at line 72 of file Remarks.h.

References categoryName, functionName, and remarkName.

Member Data Documentation

◆ categoryName

StringRef mlir::remark::RemarkOpts::categoryName

Definition at line 59 of file Remarks.h.

Referenced by function(), and subCategory().

◆ functionName

StringRef mlir::remark::RemarkOpts::functionName

Definition at line 61 of file Remarks.h.

Referenced by category(), and subCategory().

◆ remarkName

StringRef mlir::remark::RemarkOpts::remarkName

Definition at line 58 of file Remarks.h.

Referenced by category(), function(), and subCategory().

◆ subCategoryName

StringRef mlir::remark::RemarkOpts::subCategoryName

Definition at line 60 of file Remarks.h.

Referenced by category(), and function().


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