Ivan Krysak
77affee259
importType: provide a error-less overload
2026-06-15 17:28:22 +02:00
Ivan Krysak
57bbb7b962
Do not propagate model unnecessarily
2026-06-15 17:28:22 +02:00
Ivan Krysak
32b89d86f9
Clifter: Factor makeOpaqueStruct out
2026-06-15 17:28:22 +02:00
Ivan Krysak
d22bd1cc58
CliftImportModel: introduce more bulk importers
2026-06-15 11:47:41 +02:00
Lauri Vasama
4c97c6e7ab
Make CAttributeListBuilder conversion explicit
2026-04-30 15:09:16 +03:00
Lauri Vasama
90e5dfd4c9
Pass MLIRContext by address
...
Passing by address is more conventional. This is what MLIR does most of
the time, and it avoids dereferences and addressofs everywhere.
2026-04-30 15:09:16 +03:00
Lauri Vasama
a338194eb7
Move namespace mlir::clift out of namespace mlir
2026-04-27 12:48:24 +03:00
Ivan Krysak
e693cdbd53
model-verify-clift -> verify-against-model
2026-04-22 08:19:30 +00:00
Ivan Krysak
458cb1f3fe
CAttributeListBuilder: expose append method
2026-04-22 08:19:27 +00:00
Ivan Krysak
539a8370c6
CAttributeListBuilder: allow chaining the methods
...
This lets callees do stuff like:
```cpp
CAttributeListBuilder{Context}
.setOrUpdate<"_MY_ATTRIBUTE_1">()
.setOrUpdate<"_MY_ATTRIBUTE_2">()
.setOrUpdate<"_MY_ATTRIBUTE_3">()
.get()
```
2026-04-22 06:14:52 +00:00
Lauri Vasama
9ba90e9b81
Replace ValueType with mlir::Type where applicable
...
`mlir::Type` is now used as the default C++ type for representing all
MLIR types, even when `ValueType` would be a valid constraint, unless
doing so provides a clear benefit in that specific context.
2026-04-08 12:20:00 +03:00
Ivan Krysak
c354642902
Clifter: fix a newly introduced bug
...
This fixes the invalidation problem introduced by reading attributes
in the scope whose execution order depends on the function processing
order.
2026-03-27 12:27:26 +00:00
Ivan Krysak
19741a32ab
ImportModel: expose a high level type importer
2026-03-27 08:15:23 +00:00
Ivan Krysak
b632772cbb
ImportModel: import function attributes
2026-03-27 08:12:51 +00:00
Ivan Krysak
00f05cac7a
ImportModel: introduce importSegmentDeclaration
2026-03-27 08:12:17 +00:00
Ivan Krysak
8f89984f36
ImportModel: introduce importFunctionDeclaration
2026-03-27 08:11:11 +00:00
Ivan Krysak
1c14ae1c93
Introduce: CAttributeListBuilder
2026-03-27 07:19:27 +00:00
Ivan Krysak
6dc6ad2cf3
importModelTypes -> importTypes
2026-03-26 16:28:48 +00:00
Ivan Krysak
53a476e9ee
importNames -> importDescriptiveInfo
...
This opens up the possibility of importing more than just names.
2026-03-26 16:28:48 +00:00
Ivan Krysak
79618b3b63
CliftImportModel: extract name importing
2026-03-26 16:00:49 +00:00
Lauri Vasama
22d6f70ee2
Clift directory structure overhaul
2025-10-13 15:08:20 +02:00