GHEORGHE-TEOD BERCEA
958a2fbffc
ONNX Dialect creation and registration with MLIR ( #358 )
...
* Create and register ONNX Dialect with one Add operation.
* Fix file formatting.
* Change name from ONNX to SGIR.
* Use ONNX dialect. Change SGIR to frontend placeholder dialect.
* Add comments.
* Type clean-up.
2019-12-19 16:56:30 -05:00
GHEORGHE-TEOD BERCEA
45a5a8499c
Fix MLIR-enabled build. ( #354 )
...
* Add new build paths. Add Ranker or Unracked tensor types.
* Remove path to LLVM root folder, it is not needed anymore.
* Code clean-up.
* Clean-up code.
* update LLVM_PROJECT_SRC
* Update p9.sh
* Update MLIR.cmake
2019-12-19 16:16:06 -05:00
Tian Jin
00aee2e0b6
Use TableGen ( #347 )
...
* use table gen
* fix name of the dialect
* add old compilation path
* add some doc
* fix bug, sgir importer imports every op twice
* knl.visit -> knl.iterate
2019-12-19 15:18:35 -05:00
Tian Jin
cc39a92802
fix code format ( #348 )
2019-12-19 14:53:18 -05:00
Doru Bercea
e1f6ae1336
Fix name legalization.
2019-12-19 14:46:18 -05:00
TONG CHEN
50ac6e7bce
emit SGIR based on onnx model, following the toy/Ch2 example ( #345 )
...
* emit SGIR based on onnx model, following the toy/Ch2 example
* fix 1) code style 2) multiple output of a node
* Update sgir.cpp
2019-12-19 14:37:20 -05:00
Doru Bercea
63427030ca
Enable building of first commit.
2019-12-19 14:24:37 -05:00
Doru Bercea
b6a2a50dd8
Add header. Clean-up file. Add CMake file.
2019-12-18 16:45:05 -05:00
TONG CHEN
f3207be963
add MLIR: compile/link/run ( #342 )
...
* add MLIR: compile/link/run
* change LLVMPROJECT to LLVM_PROJECT and do not allow linking with system LLVM libraries
2019-12-18 15:43:35 -05:00