#include "mlir/IR/Remarks.h"
|
| | Arg (llvm::StringRef m) |
| | Arg (llvm::StringRef k, llvm::StringRef v) |
| | Arg (llvm::StringRef k, std::string v) |
| | Arg (llvm::StringRef k, const char *v) |
| | Arg (llvm::StringRef k, Value v) |
| | Arg (llvm::StringRef k, Type t) |
| | Arg (llvm::StringRef k, Attribute a) |
| | Arg (llvm::StringRef k, bool b) |
| bool | hasAttribute () const |
| | Check if this arg has an associated attribute.
|
| Attribute | getAttribute () const |
| | Get the attribute if present.
|
| template<typename T, typename = std::enable_if_t<std::is_arithmetic_v<T> && !std::is_same_v<T, bool>>> |
| | Arg (llvm::StringRef k, T v) |
|
| std::string | key |
| std::string | val |
| std::optional< Attribute > | attr |
| | Optional attribute storage for Attribute-based args.
|
Definition at line 104 of file Remarks.h.
◆ Arg() [1/9]
| mlir::remark::detail::Remark::Arg::Arg |
( |
llvm::StringRef | m | ) |
|
|
inline |
◆ Arg() [2/9]
| mlir::remark::detail::Remark::Arg::Arg |
( |
llvm::StringRef | k, |
|
|
llvm::StringRef | v ) |
|
inline |
◆ Arg() [3/9]
| mlir::remark::detail::Remark::Arg::Arg |
( |
llvm::StringRef | k, |
|
|
std::string | v ) |
|
inline |
◆ Arg() [4/9]
| mlir::remark::detail::Remark::Arg::Arg |
( |
llvm::StringRef | k, |
|
|
const char * | v ) |
|
inline |
◆ Arg() [5/9]
| Remark::Arg::Arg |
( |
llvm::StringRef | k, |
|
|
Value | v ) |
◆ Arg() [6/9]
| Remark::Arg::Arg |
( |
llvm::StringRef | k, |
|
|
Type | t ) |
◆ Arg() [7/9]
| Remark::Arg::Arg |
( |
llvm::StringRef | k, |
|
|
Attribute | a ) |
◆ Arg() [8/9]
| mlir::remark::detail::Remark::Arg::Arg |
( |
llvm::StringRef | k, |
|
|
bool | b ) |
|
inline |
◆ Arg() [9/9]
template<typename T, typename = std::enable_if_t<std::is_arithmetic_v<T> && !std::is_same_v<T, bool>>>
| mlir::remark::detail::Remark::Arg::Arg |
( |
llvm::StringRef | k, |
|
|
T | v ) |
|
inline |
◆ getAttribute()
| Attribute mlir::remark::detail::Remark::Arg::getAttribute |
( |
| ) |
const |
|
inline |
Get the attribute if present.
Definition at line 124 of file Remarks.h.
References attr.
◆ hasAttribute()
| bool mlir::remark::detail::Remark::Arg::hasAttribute |
( |
| ) |
const |
|
inline |
Check if this arg has an associated attribute.
Definition at line 121 of file Remarks.h.
References attr.
◆ attr
| std::optional<Attribute> mlir::remark::detail::Remark::Arg::attr |
◆ key
| std::string mlir::remark::detail::Remark::Arg::key |
◆ val
| std::string mlir::remark::detail::Remark::Arg::val |
The documentation for this struct was generated from the following files: