MLIR 22.0.0git
mlir::remark::detail::OptRemarkBase< K, S > Class Template Referencefinal

#include "mlir/IR/Remarks.h"

Inheritance diagram for mlir::remark::detail::OptRemarkBase< K, S >:

Public Member Functions

 OptRemarkBase (Location loc, RemarkOpts opts)
Public Member Functions inherited from mlir::remark::detail::Remark
 Remark (RemarkKind remarkKind, DiagnosticSeverity severity, Location loc, RemarkOpts opts)
void insert (llvm::StringRef s)
void insert (Arg a)
void print (llvm::raw_ostream &os, bool printLocation=false) const
 Print the remark to the given output stream.
Location getLocation () const
llvm::remarks::Remark generateRemark () const
 Diagnostic -> Remark.
StringRef getFunction () const
llvm::StringRef getCategoryName () const
llvm::StringRef getCombinedCategoryName () const
StringRef getRemarkName () const
std::string getMsg () const
ArrayRef< ArggetArgs () const
llvm::remarks::Type getRemarkType () const
StringRef getRemarkTypeString () const

Additional Inherited Members

Protected Attributes inherited from mlir::remark::detail::Remark
RemarkKind remarkKind
 Keeps the MLIR diagnostic kind, which is used to determine the diagnostic kind in the LLVM remark streamer.
StringRef functionName
 Name of the convering function like interface.
Location loc
StringRef categoryName
 Sub category passname e.g., "Unroll" or "UnrollAndJam".
StringRef subCategoryName
 Sub category name "Loop Optimizer".
SmallString< 64 > fullCategoryName
 Combined name for category and sub-category.
StringRef remarkName
 Remark identifier.
SmallVector< Arg, 4 > args
 Args collected via the streaming interface.

Detailed Description

template<RemarkKind K, DiagnosticSeverity S>
class mlir::remark::detail::OptRemarkBase< K, S >

Definition at line 245 of file Remarks.h.

Constructor & Destructor Documentation

◆ OptRemarkBase()

mlir::remark::detail::OptRemarkBase< K, S >::OptRemarkBase ( Location loc,
RemarkOpts opts )
inlineexplicit

Definition at line 247 of file Remarks.h.


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