#include "mlir/Interfaces/FunctionInterfaces.h"
#include "mlir/Interfaces/FunctionInterfaces.cpp.inc"
Go to the source code of this file.
|
static bool | isEmptyAttrDict (Attribute attr) |
|
template<bool isArg> |
static ArrayAttr | getArgResAttrs (FunctionOpInterface op) |
| Get either the argument or result attributes array. More...
|
|
template<bool isArg> |
static void | setArgResAttrs (FunctionOpInterface op, ArrayAttr attrs) |
| Set either the argument or result attributes array. More...
|
|
template<bool isArg> |
static void | removeArgResAttrs (FunctionOpInterface op) |
| Erase either the argument or result attributes array. More...
|
|
template<bool isArg> |
static void | setAllArgResAttrDicts (FunctionOpInterface op, ArrayRef< Attribute > attrs) |
| Set all of the argument or result attribute dictionaries for a function. More...
|
|
template<bool isArg> |
static void | setArgResAttrDict (FunctionOpInterface op, unsigned numTotalIndices, unsigned index, DictionaryAttr attrs) |
| Update the given index into an argument or result attribute dictionary. More...
|
|
◆ getArgResAttrs()
template<bool isArg>
static ArrayAttr getArgResAttrs |
( |
FunctionOpInterface |
op | ) |
|
|
static |
◆ isEmptyAttrDict()
static bool isEmptyAttrDict |
( |
Attribute |
attr | ) |
|
|
static |
◆ removeArgResAttrs()
template<bool isArg>
static void removeArgResAttrs |
( |
FunctionOpInterface |
op | ) |
|
|
static |
◆ setAllArgResAttrDicts()
template<bool isArg>
static void setAllArgResAttrDicts |
( |
FunctionOpInterface |
op, |
|
|
ArrayRef< Attribute > |
attrs |
|
) |
| |
|
static |
Set all of the argument or result attribute dictionaries for a function.
Definition at line 86 of file FunctionInterfaces.cpp.
◆ setArgResAttrDict()
template<bool isArg>
static void setArgResAttrDict |
( |
FunctionOpInterface |
op, |
|
|
unsigned |
numTotalIndices, |
|
|
unsigned |
index, |
|
|
DictionaryAttr |
attrs |
|
) |
| |
|
static |
Update the given index into an argument or result attribute dictionary.
Definition at line 122 of file FunctionInterfaces.cpp.
◆ setArgResAttrs()
template<bool isArg>
static void setArgResAttrs |
( |
FunctionOpInterface |
op, |
|
|
ArrayAttr |
attrs |
|
) |
| |
|
static |