MLIR
21.0.0git
|
#include "mlir/Interfaces/CallInterfaces.h"
#include "mlir/IR/Builders.h"
#include "mlir/Interfaces/CallInterfaces.cpp.inc"
Go to the source code of this file.
Functions | |
static ParseResult | parseTypeAndAttrList (OpAsmParser &parser, SmallVectorImpl< Type > &types, SmallVectorImpl< DictionaryAttr > &attrs) |
static void | printFunctionResultList (OpAsmPrinter &p, TypeRange types, ArrayAttr attrs) |
Print a function result list. More... | |
|
static |
Definition at line 19 of file CallInterfaces.cpp.
References mlir::AsmParser::getContext(), mlir::NamedAttrList::getDictionary(), mlir::AsmParser::parseCommaSeparatedList(), mlir::AsmParser::parseOptionalAttrDict(), and mlir::AsmParser::parseType().
Referenced by mlir::call_interface_impl::parseFunctionResultList(), and mlir::call_interface_impl::parseFunctionSignature().
|
static |
Print a function result list.
The provided attrs
must either be null, or contain a set of DictionaryAttrs of the same arity as types
.
Definition at line 81 of file CallInterfaces.cpp.
References mlir::AsmPrinter::getStream().
Referenced by mlir::call_interface_impl::printFunctionSignature().