-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Reimplement `Context` * Reimplement `Dialect` * Reimplement `Location` * Reimplement `Value` * Reimplement `Block` * Move `BlockIterator` * Refactor `first_op` * Refactor `mlirIsNull` calls in `Block` * Reimplement `Region` * Reimplement `Module` * Fix namespaces in `Location` * Refactor `Type` to `Core.Type` to avoid import * Remove unused arg name from `iterator(::BlockIterator)` * Fix namespace calls under `API` * Refactor constructors * Refactor `Context` code * Refactor `Dialect` code * Fix typo in exported symbol * Fix typo in returned value in `enable_multithreading!` * Document some code * Refactor code * Reimplement `Operation` * Remove commented code * Export symbols from `IR` * Reimplement `TypeID` * Move iterators to new file * Fix missing module name in function calls * Remove `MLIRType` from tblgen generator * Refactor `MLIRType` from brutus example * Remove duplicate `get_or_load_dialect!` method * Fix missing module name in symbol refs * Refactor `MLIRType` in tests * Add `Identifier` * Add `SymbolTable` * Implement `IntegerSet` * Add `AffineExpr` type * Throw message on assert fail in `AffineExpr` constructor * Add `AffineMap` type * Fix `Context` kwargs * Import `@affinemap` macro from #35 Co-authored-by: Paul Berg <[email protected]> * Fix `@affinemap` * Implement `LogicalResult` * Fix typo in `move_after!` * Add `rmfromparent!` for `Operation` * Reimplement `Type` * Reorder includes * Fix `Type` clash in `LogicalResult` * Reimplement `Attribute` * Refactor `MLIRType` to `IR.Type` in dialect bindings * Fix `mlir*IsNull` calls `mlir*IsNull` are only defined in headers (no symbol in libs), so binding is generated but fails to look for the symbol * Apply suggestion from @Pangoraw Co-authored-by: Paul Berg <[email protected]> * Apply suggestion from @Pangoraw Co-authored-by: Paul Berg <[email protected]> * Apply suggestion by @Pangoraw Co-authored-by: Paul Berg <[email protected]> * Fix typos * Fix ambiguity * Fix typos * Remove redundant exports * Fix type value retrieval of `Attribute` for integers * Apply suggestion by @Pangoraw * Refactor `@affinemap` * Remove invalid assert in `@affinemap` * Fix extra namespace inside macro * Fix `mlir_str` macro * Fix `verifyall` * Rename `next_in_region` to `next` * Add `OpOperand` type (LLVM 16) * Fix `mlirOpPrintingFlagsEnableDebugInfo` on LLVM 15,16 * Add `@llvmversioned` macro utility * Add Float8 types * Add support for `DenseArray` attributes * Remove `isopaquelements` on LLVM 16 * Fix typos in `OpOperand` * Fix namespace in `DenseArrayAttribute` * Refactor `operandsegmentsizes` * Fix import in Julia 1.10 * Fix max versioning in `@llvmversioned` * Fix `DenseElementsAttribute` docstrings * Fix docstring warning in methods with `@llvmversioned` * Fix docstring of `type` * Fix `mlirIsNull` calls * Fix `LogicalResult` methods `mlirLogicalResult*` functions in the C-API are header-only * Fix `LogicalResult` calls in pass infrastructure * Update Brutus example * Comment `mlirOperationWriteBytecode` * Use signless integer types in MLIR for `<:Signed` types in Julia * Fix `Bool` to MLIR conversion * Fix tests * Update docs * Fix 0-indexing of dims and symbol expressions in `@affinemap` * Refactor `PassManager`,`OpPassManager` * Add `ExecutionEngine` * Fix docstring of `Type(Complex{T})` * Refactor `TensorType` constructor * Refactor `push_argument!` * Apply suggestion by @Pangoraw Co-authored-by: Paul Berg <[email protected]> * Refactor `create_operation` * Fix `push_arguent!` * Try fix `load_all_available_dialects` call in Julia 1.9 --------- Co-authored-by: Paul Berg <[email protected]>
- Loading branch information
Showing
149 changed files
with
18,904 additions
and
16,195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Affine Expressions | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/AffineExpr.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Affine Map | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/AffineMap.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Attribute | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/Attribute.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Block | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/Block.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Context | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/Context.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Dialect | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/Dialect.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Identifier | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/Identifier.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Integer Set | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/IntegerSet.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Iterators | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/Iterators.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Location | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/Location.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Logical Result | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/LogicalResult.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Module | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/Module.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Operation | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/Operation.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Pass Infrastructure | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/Pass.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Region | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/Region.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Symbol Table | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/SymbolTable.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Type | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/Type.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# TypeID | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/TypeID.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Value | ||
|
||
```@autodocs | ||
Modules = [MLIR.IR] | ||
Pages = ["IR/Value.jl"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.