This decl represents a shared interface for all callable decls.
More...
#include "mlir/Tools/PDLL/AST/Nodes.h"
This decl represents a shared interface for all callable decls.
Definition at line 1188 of file Nodes.h.
◆ classof()
static bool mlir::pdll::ast::CallableDecl::classof |
( |
const Node * |
decl | ) |
|
|
inlinestatic |
Support LLVM type casting facilities.
Definition at line 1230 of file Nodes.h.
◆ getCallableType()
StringRef mlir::pdll::ast::CallableDecl::getCallableType |
( |
| ) |
const |
|
inline |
Return the callable type of this decl.
Definition at line 1191 of file Nodes.h.
◆ getCodeBlock()
std::optional<StringRef> mlir::pdll::ast::CallableDecl::getCodeBlock |
( |
| ) |
const |
|
inline |
Return the optional code block of this callable, if this is a native callable with a provided implementation.
Definition at line 1223 of file Nodes.h.
◆ getInputs()
Return the inputs of this decl.
Definition at line 1199 of file Nodes.h.
◆ getResults()
Return the explicit results of the declaration.
Note that these may be empty, even if the callable has results (e.g. in the case of inferred results).
Definition at line 1215 of file Nodes.h.
◆ getResultType()
Type mlir::pdll::ast::CallableDecl::getResultType |
( |
| ) |
const |
|
inline |
Return the result type of this decl.
Definition at line 1206 of file Nodes.h.
The documentation for this class was generated from the following file:
- include/mlir/Tools/PDLL/AST/Nodes.h