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 1198 of file Nodes.h.
◆ classof()
static bool mlir::pdll::ast::CallableDecl::classof |
( |
const Node * |
decl | ) |
|
|
inlinestatic |
Support LLVM type casting facilities.
Definition at line 1240 of file Nodes.h.
◆ getCallableType()
StringRef mlir::pdll::ast::CallableDecl::getCallableType |
( |
| ) |
const |
|
inline |
Return the callable type of this decl.
Definition at line 1201 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 1233 of file Nodes.h.
◆ getInputs()
Return the inputs of this decl.
Definition at line 1209 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 1225 of file Nodes.h.
◆ getResultType()
Type mlir::pdll::ast::CallableDecl::getResultType |
( |
| ) |
const |
|
inline |
Return the result type of this decl.
Definition at line 1216 of file Nodes.h.
The documentation for this class was generated from the following file:
- include/mlir/Tools/PDLL/AST/Nodes.h