MLIR 22.0.0git
mlir::remark::detail Namespace Reference

Classes

class  InFlightRemark
 InFlightRemark is a RAII class that holds a reference to a Remark instance and allows to build the remark using the << operator. More...
struct  LazyTextBuild
 Lazy text building for zero cost string formatting. More...
class  LLVMRemarkStreamer
 Concrete streamer that writes LLVM optimization remarks to a file (YAML or Bitstream). More...
class  MLIRRemarkStreamerBase
 Base class for MLIR remark streamers that is used to stream optimization remarks to the underlying remark streamer. More...
class  OptRemarkBase
class  Remark
class  RemarkEmittingPolicyBase
 Base class for MLIR remark emitting policies that is used to emit optimization remarks to the underlying remark streamer. More...
class  RemarkEngine

Typedefs

using OptRemarkAnalysis
using OptRemarkPass
using OptRemarkMissed
using OptRemarkFailure
using ReportFn = llvm::unique_function<void(const Remark &)>

Functions

Remarkoperator<< (Remark &r, StringRef s)
Remark && operator<< (Remark &&r, StringRef s)
Remarkoperator<< (Remark &r, const Remark::Arg &kv)
template<typename Fn, typename... Args>
InFlightRemark withEngine (Fn fn, Location loc, Args &&...args)

Typedef Documentation

◆ OptRemarkAnalysis

◆ OptRemarkFailure

◆ OptRemarkMissed

◆ OptRemarkPass

◆ ReportFn

using mlir::remark::detail::ReportFn = llvm::unique_function<void(const Remark &)>

Definition at line 340 of file Remarks.h.

Function Documentation

◆ operator<<() [1/3]

Remark && mlir::remark::detail::operator<< ( Remark && r,
StringRef s )
inline

Definition at line 231 of file Remarks.h.

References mlir::remark::detail::Remark::insert().

◆ operator<<() [2/3]

Remark & mlir::remark::detail::operator<< ( Remark & r,
const Remark::Arg & kv )
inline

Definition at line 235 of file Remarks.h.

References mlir::remark::detail::Remark::insert().

◆ operator<<() [3/3]

Remark & mlir::remark::detail::operator<< ( Remark & r,
StringRef s )
inline

Definition at line 227 of file Remarks.h.

References mlir::remark::detail::Remark::insert().

◆ withEngine()

template<typename Fn, typename... Args>
InFlightRemark mlir::remark::detail::withEngine ( Fn fn,
Location loc,
Args &&... args )
inline