MLIR 22.0.0git
Syntax.h File Reference

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.

Functions

ParseResult mlir::parseSemiFunctionType (OpAsmParser &parser, Type &argumentType, Type &resultType, bool resultOptional=true)
 Parses a single non-function type or a function type with at least one argument.
ParseResult mlir::parseSemiFunctionType (OpAsmParser &parser, Type &argumentType, SmallVectorImpl< Type > &resultTypes)
void mlir::printSemiFunctionType (OpAsmPrinter &printer, Operation *op, Type argumentType, TypeRange resultType)
 Prints argument and result types in a syntax similar to that of FunctionType but allowing and requiring one to omit the parens around the argument type in absence of result types, and without the trailing -> ().
void mlir::printSemiFunctionType (OpAsmPrinter &printer, Operation *op, Type argumentType, Type resultType, bool resultOptional=true)