MLIR  21.0.0git
Classes | Namespaces | Functions
CallInterfaces.h File Reference
#include "mlir/IR/OpImplementation.h"
#include "mlir/IR/SymbolTable.h"
#include "llvm/ADT/PointerUnion.h"
#include "mlir/Interfaces/CallInterfaces.h.inc"

Go to the source code of this file.

Classes

struct  mlir::CallInterfaceCallable
 A callable is either a symbol, or an SSA value, that is referenced by a call-like operation. More...
 
struct  llvm::CastInfo< To, mlir::CallInterfaceCallable >
 
struct  llvm::CastInfo< To, const mlir::CallInterfaceCallable >
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::call_interface_impl
 
 llvm
 The OpAsmOpInterface, see OpAsmInterface.td for more details.
 

Functions

Operationmlir::call_interface_impl::resolveCallable (CallOpInterface call, SymbolTableCollection *symbolTable=nullptr)
 Resolve the callable operation for given callee to a CallableOpInterface, or nullptr if a valid callable was not resolved. More...
 
ParseResult mlir::call_interface_impl::parseFunctionResultList (OpAsmParser &parser, SmallVectorImpl< Type > &resultTypes, SmallVectorImpl< DictionaryAttr > &resultAttrs)
 Parse a function or call result list. More...
 
ParseResult mlir::call_interface_impl::parseFunctionSignature (OpAsmParser &parser, SmallVectorImpl< Type > &argTypes, SmallVectorImpl< DictionaryAttr > &argAttrs, SmallVectorImpl< Type > &resultTypes, SmallVectorImpl< DictionaryAttr > &resultAttrs, bool mustParseEmptyResult=true)
 Parses a function signature using parser. More...
 
void mlir::call_interface_impl::printFunctionSignature (OpAsmPrinter &p, TypeRange argTypes, ArrayAttr argAttrs, bool isVariadic, TypeRange resultTypes, ArrayAttr resultAttrs, Region *body=nullptr, bool printEmptyResult=true)
 Print a function signature for a call or callable operation. More...
 
void mlir::call_interface_impl::addArgAndResultAttrs (Builder &builder, OperationState &result, ArrayRef< DictionaryAttr > argAttrs, ArrayRef< DictionaryAttr > resultAttrs, StringAttr argAttrsName, StringAttr resAttrsName)
 Adds argument and result attributes, provided as argAttrs and resultAttrs arguments, to the list of operation attributes in result. More...
 
void mlir::call_interface_impl::addArgAndResultAttrs (Builder &builder, OperationState &result, ArrayRef< OpAsmParser::Argument > args, ArrayRef< DictionaryAttr > resultAttrs, StringAttr argAttrsName, StringAttr resAttrsName)