2021-03-20 09:19:16 +08:00
|
|
|
# Builtin Dialect
|
|
|
|
|
|
|
|
The builtin dialect contains a core set of Attributes, Operations, and Types
|
|
|
|
that have wide applicability across a very large number of domains and
|
|
|
|
abstractions. Many of the components of this dialect are also instrumental in
|
|
|
|
the implementation of the core IR. As such, this dialect is implicitly loaded in
|
|
|
|
every `MLIRContext`, and available directly to all users of MLIR.
|
|
|
|
|
|
|
|
Given the far-reaching nature of this dialect and the fact that MLIR is
|
|
|
|
extensible by design, any potential additions are heavily scrutinized.
|
|
|
|
|
|
|
|
[TOC]
|
|
|
|
|
|
|
|
## Attributes
|
|
|
|
|
|
|
|
[include "Dialects/BuiltinAttributes.md"]
|
|
|
|
|
|
|
|
## Location Attributes
|
|
|
|
|
|
|
|
A subset of the builtin attribute values correspond to
|
2021-05-25 20:50:59 +08:00
|
|
|
[source locations](../Diagnostics.md/#source-locations), that may be attached to
|
2021-03-20 09:19:16 +08:00
|
|
|
Operations.
|
|
|
|
|
|
|
|
[include "Dialects/BuiltinLocationAttributes.md"]
|
|
|
|
|
|
|
|
## Operations
|
|
|
|
|
|
|
|
[include "Dialects/BuiltinOps.md"]
|
|
|
|
|
|
|
|
## Types
|
|
|
|
|
|
|
|
[include "Dialects/BuiltinTypes.md"]
|
2021-06-08 00:33:29 +08:00
|
|
|
|
|
|
|
## Type Interfaces
|
|
|
|
|
|
|
|
[include "Dialects/BuiltinTypeInterfaces.md"]
|