Skip to content

'unsup' Dialect

A vast unsupported dialect. This dialect defines a set of generic unsupported operation/types that can be used to lower AST Node that are yet not supported and can't be lowered by other dialects.

Operations

unsup.decl (::vast::unsup::UnsupportedDecl)

VAST unsupported decl

Syntax:

operation ::= `unsup.decl` $name attr-dict `:` $body

VAST unsupported decl Traits: NoTerminator

Attributes:

AttributeMLIR TypeDescription
name::mlir::StringAttrstring attribute

unsup.stmt (::vast::unsup::UnsupportedStmt)

VAST unsupported statement

Syntax:

operation ::= `unsup.stmt` $name attr-dict `:` type($result) $children

VAST unsupported statement Traits: NoTerminator

Attributes:

AttributeMLIR TypeDescription
name::mlir::StringAttrstring attribute

Results:

Result Description
result any type

Attributes

UnsupportedAttr

Syntax:

#unsup.attr<
  ::mlir::StringAttr   # spelling
>

Parameters:

Parameter C++ type Description
spelling ::mlir::StringAttr

Types

UnsupportedType

Syntax:

!unsup.type<
  ::llvm::StringRef   # originName
>

Parameters:

Parameter C++ type Description
originName ::llvm::StringRef