mlir-standalone-template:树外MLIR方言模板

时间:2024-06-13 21:12:13
【文件属性】:

文件名称:mlir-standalone-template:树外MLIR方言模板

文件大小:20KB

文件格式:ZIP

更新时间:2024-06-13 21:12:13

CMake

MLIR的树外方言模板 该存储库包含树外方言的模板以及在该方言上运行的独立的类似opt的工具。 如何建造 此设置假定您已在$BUILD_DIR构建了LLVM和$BUILD_DIR并将它们安装到$PREFIX 。 要构建和启动测试,请运行 mkdir build && cd build cmake -G Ninja .. -DMLIR_DIR= $PREFIX /lib/cmake/mlir -DLLVM_EXTERNAL_LIT= $BUILD_DIR /bin/llvm-lit cmake --build . --target check-standalone-opt 要从方言操作的TableGen描述构建文档,请运行 cmake --build . --target mlir-doc 注意:使用CMake构建LLVM时,请确保传递-DLLVM_INSTALL_UTILS=ON ,以


【文件预览】:
mlir-standalone-template-main
----.clang-format(55B)
----.gitignore(101B)
----LICENSE.txt(13KB)
----.github()
--------workflows()
----README.md(969B)
----cmake()
--------modules()
----include()
--------Standalone()
--------CMakeLists.txt(29B)
----lib()
--------Standalone()
--------CMakeLists.txt(29B)
----.clang-tidy(1020B)
----standalone-opt()
--------standalone-opt.cpp(1KB)
--------CMakeLists.txt(392B)
----test()
--------Standalone()
--------lit.site.cfg.py.in(2KB)
--------lit.cfg.py(2KB)
--------CMakeLists.txt(646B)
----CMakeLists.txt(1KB)

网友评论