MLIR  22.0.0git
Public Member Functions | List of all members
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. More...
 
Location getLocation () const
 
llvm::remarks::Remark generateRemark () const
 Diagnostic -> Remark. More...
 
StringRef getFunction () const
 
llvm::StringRef getCategoryName () const
 
llvm::StringRef getFullCategoryName () 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. More...
 
StringRef functionName
 Name of the convering function like interface. More...
 
Location loc
 
StringRef categoryName
 Sub category passname e.g., "Unroll" or "UnrollAndJam". More...
 
StringRef subCategoryName
 Sub category name "Loop Optimizer". More...
 
SmallString< 64 > fullCategoryName
 Combined name for category and sub-category. More...
 
StringRef remarkName
 Remark identifier. More...
 
SmallVector< Arg, 4 > args
 Args collected via the streaming interface. More...
 

Detailed Description

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

Definition at line 246 of file Remarks.h.

Constructor & Destructor Documentation

◆ OptRemarkBase()

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

Definition at line 248 of file Remarks.h.


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