├── .clang-format ├── .editorconfig ├── .gitattributes ├── .github └── workflows │ └── buildAndTest.yml ├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── Docker └── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── docs ├── DOCKER.md ├── OLD_PB_FLOW.md ├── POLYBENCH.md └── PREREQUISITES.md ├── example ├── .gitignore ├── encrypt │ └── encrypt.c ├── hashed2mm │ └── hashed2mm.c ├── machsuite.yaml ├── polybench-medium.yaml ├── polybench.yaml └── results │ ├── machsuite.csv │ ├── polybench-baseline.csv │ ├── polybench-polymer-lt-ap.csv │ ├── polybench-polymer.csv │ ├── polybench-speedup.pdf │ └── results.ipynb ├── include └── phism │ ├── CMakeLists.txt │ ├── llvm │ └── Transforms │ │ └── Utils.h │ └── mlir │ ├── CMakeLists.txt │ └── Transforms │ ├── CMakeLists.txt │ ├── Passes.h │ ├── Passes.td │ ├── PhismTransforms.h │ └── Utils.h ├── lib ├── CMakeLists.txt ├── llvm │ ├── CMakeLists.txt │ └── Transforms │ │ ├── CMakeLists.txt │ │ ├── MemRefToArray.cc │ │ ├── Utils.cc │ │ └── VhlsLLVMRewriter.cc └── mlir │ ├── CMakeLists.txt │ └── Transforms │ ├── ArrayPartition.cc │ ├── CMakeLists.txt │ ├── EliminateAffineLoadStore.cc │ ├── ExtractTopFunc.cc │ ├── FoldIf.cc │ ├── LiftMemRefSubview.cc │ ├── LoadSwitch.cc │ ├── LoopBoundHoisting.cc │ ├── LoopTransforms.cc │ ├── PassDetail.h │ ├── PhismTransforms.cc │ ├── SCoPDecomposition.cc │ ├── SimpleArrayPartition.cc │ ├── SimplifyPartitionAccess.cc │ ├── SplitNonAffine.cc │ ├── StripExceptTop.cc │ └── Utils.cc ├── notebooks ├── polybench-baseline-results.ipynb ├── polybench-medium-results.ipynb ├── polybench-results.ipynb ├── polybench-small-results.ipynb ├── polybench-split.ipynb └── search-codegen.ipynb ├── polybench-speedup.pdf ├── pyphism ├── __init__.py ├── machsuite │ └── ms_flow.py ├── phism_runner │ ├── __init__.py │ ├── options.py │ └── runner.py ├── polybench │ ├── __init__.py │ ├── pb_flow.py │ ├── pb_flow_test.py │ └── utils │ │ ├── __init__.py │ │ ├── vhdl.py │ │ └── vhdl_test.py └── utils │ ├── __init__.py │ ├── helper.py │ └── helper_test.py ├── requirements.txt ├── scripts ├── build-llvm.sh ├── build-phism.sh ├── build-polygeist.sh ├── build-polymer.sh ├── check-vitis.sh ├── ms-flow.py ├── pb-flow ├── pb-flow.py ├── pb-report.py ├── phism-runner.py ├── rosetta.py ├── search-codegen.py └── setup-vitis-hls-llvm.sh ├── test ├── CMakeLists.txt ├── lit.cfg.py ├── lit.site.cfg.py.in ├── llvm │ └── Transforms │ │ └── VhlsLLVMRewriter │ │ ├── fneg.ll │ │ ├── mem2arr │ │ ├── array1d.ll │ │ ├── array1d_multiargs.ll │ │ ├── array2d.ll │ │ ├── arraynd_mixed.ll │ │ ├── malloc.ll │ │ ├── matmul.mlir │ │ └── multicalls.mlir │ │ ├── xlnram2p │ │ └── test_tcl_partition.ll │ │ └── xlntbgen │ │ ├── test_dummy_c_multi_arrays.ll │ │ ├── test_dummy_c_no_array.ll │ │ ├── test_dummy_c_single_array.ll │ │ ├── test_dummy_c_single_array_nd.ll │ │ ├── test_dummy_c_single_array_no_int.ll │ │ ├── test_tcl_no_partition.ll │ │ ├── test_tcl_partition.ll │ │ └── test_tcl_partition_flattened.ll └── mlir │ └── Transforms │ ├── ArrayPartition │ ├── nested-top.mlir │ └── partial-tile.mlir │ ├── EliminateAffineLoadStore │ ├── load-after-store-interleaved.mlir │ ├── load-after-store.mlir │ ├── same-load-ops-interleaved.mlir │ └── same-load-ops.mlir │ ├── ExtractTopFunc │ ├── anno-const-args.mlir │ ├── anno-top.mlir │ ├── call-graph.mlir │ ├── keep-all.mlir │ ├── recur-call.mlir │ └── single-decl-no-call.mlir │ ├── FoldIfPass │ ├── fold-if-with-blocks.mlir │ └── fold-if.mlir │ ├── LiftMemRefSubview │ └── basic.mlir │ ├── LoopBoundHoisting │ └── const-inner-bound.mlir │ ├── LoopTransforms │ ├── AffineLoopUnswitching │ │ └── basic.mlir │ ├── AnnotatePointLoops │ │ └── basic.mlir │ ├── RewritePloopIndvar │ │ └── single-ploop.mlir │ ├── demote-bound-to-if.mlir │ ├── dis-indvar.mlir │ ├── loop-merge.mlir │ └── redis-scop-stmts.mlir │ ├── SCoPDecomposition │ └── test.mlir │ ├── SimpleArrayPartition │ ├── no-scop-pe-caller.mlir │ ├── simple-partition-2d-flatten.mlir │ ├── simple-partition-2d.mlir │ └── simple-partition.mlir │ ├── SimplifyPartitionAccess │ ├── floordiv-extra-term.mlir │ ├── floordiv-mod-nested.mlir │ ├── floordiv.mlir │ ├── mod.mlir │ └── simple-tile.mlir │ ├── SplitNonAffine │ ├── nested-loops-no-depth.mlir │ ├── nested-loops-with-depth.mlir │ ├── plain-loop.mlir │ └── top-only.mlir │ └── StripExceptTop │ └── call-graph.mlir └── tools ├── CMakeLists.txt └── phism-opt ├── CMakeLists.txt └── phism-opt.cc /.clang-format: -------------------------------------------------------------------------------- 1 | BasedOnStyle: LLVM 2 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.ipynb linguist-vendored 2 | -------------------------------------------------------------------------------- /.github/workflows/buildAndTest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/.github/workflows/buildAndTest.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /Docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/Docker/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/README.md -------------------------------------------------------------------------------- /docs/DOCKER.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/docs/DOCKER.md -------------------------------------------------------------------------------- /docs/OLD_PB_FLOW.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/docs/OLD_PB_FLOW.md -------------------------------------------------------------------------------- /docs/POLYBENCH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/docs/POLYBENCH.md -------------------------------------------------------------------------------- /docs/PREREQUISITES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/docs/PREREQUISITES.md -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/example/.gitignore -------------------------------------------------------------------------------- /example/encrypt/encrypt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/example/encrypt/encrypt.c -------------------------------------------------------------------------------- /example/hashed2mm/hashed2mm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/example/hashed2mm/hashed2mm.c -------------------------------------------------------------------------------- /example/machsuite.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/example/machsuite.yaml -------------------------------------------------------------------------------- /example/polybench-medium.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/example/polybench-medium.yaml -------------------------------------------------------------------------------- /example/polybench.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/example/polybench.yaml -------------------------------------------------------------------------------- /example/results/machsuite.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/example/results/machsuite.csv -------------------------------------------------------------------------------- /example/results/polybench-baseline.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/example/results/polybench-baseline.csv -------------------------------------------------------------------------------- /example/results/polybench-polymer-lt-ap.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/example/results/polybench-polymer-lt-ap.csv -------------------------------------------------------------------------------- /example/results/polybench-polymer.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/example/results/polybench-polymer.csv -------------------------------------------------------------------------------- /example/results/polybench-speedup.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/example/results/polybench-speedup.pdf -------------------------------------------------------------------------------- /example/results/results.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/example/results/results.ipynb -------------------------------------------------------------------------------- /include/phism/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(mlir) 2 | -------------------------------------------------------------------------------- /include/phism/llvm/Transforms/Utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/include/phism/llvm/Transforms/Utils.h -------------------------------------------------------------------------------- /include/phism/mlir/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(Transforms) 2 | -------------------------------------------------------------------------------- /include/phism/mlir/Transforms/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/include/phism/mlir/Transforms/CMakeLists.txt -------------------------------------------------------------------------------- /include/phism/mlir/Transforms/Passes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/include/phism/mlir/Transforms/Passes.h -------------------------------------------------------------------------------- /include/phism/mlir/Transforms/Passes.td: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/include/phism/mlir/Transforms/Passes.td -------------------------------------------------------------------------------- /include/phism/mlir/Transforms/PhismTransforms.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/include/phism/mlir/Transforms/PhismTransforms.h -------------------------------------------------------------------------------- /include/phism/mlir/Transforms/Utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/include/phism/mlir/Transforms/Utils.h -------------------------------------------------------------------------------- /lib/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/CMakeLists.txt -------------------------------------------------------------------------------- /lib/llvm/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(Transforms) 2 | -------------------------------------------------------------------------------- /lib/llvm/Transforms/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/llvm/Transforms/CMakeLists.txt -------------------------------------------------------------------------------- /lib/llvm/Transforms/MemRefToArray.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/llvm/Transforms/MemRefToArray.cc -------------------------------------------------------------------------------- /lib/llvm/Transforms/Utils.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/llvm/Transforms/Utils.cc -------------------------------------------------------------------------------- /lib/llvm/Transforms/VhlsLLVMRewriter.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/llvm/Transforms/VhlsLLVMRewriter.cc -------------------------------------------------------------------------------- /lib/mlir/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(Transforms) 2 | -------------------------------------------------------------------------------- /lib/mlir/Transforms/ArrayPartition.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/mlir/Transforms/ArrayPartition.cc -------------------------------------------------------------------------------- /lib/mlir/Transforms/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/mlir/Transforms/CMakeLists.txt -------------------------------------------------------------------------------- /lib/mlir/Transforms/EliminateAffineLoadStore.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/mlir/Transforms/EliminateAffineLoadStore.cc -------------------------------------------------------------------------------- /lib/mlir/Transforms/ExtractTopFunc.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/mlir/Transforms/ExtractTopFunc.cc -------------------------------------------------------------------------------- /lib/mlir/Transforms/FoldIf.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/mlir/Transforms/FoldIf.cc -------------------------------------------------------------------------------- /lib/mlir/Transforms/LiftMemRefSubview.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/mlir/Transforms/LiftMemRefSubview.cc -------------------------------------------------------------------------------- /lib/mlir/Transforms/LoadSwitch.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/mlir/Transforms/LoadSwitch.cc -------------------------------------------------------------------------------- /lib/mlir/Transforms/LoopBoundHoisting.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/mlir/Transforms/LoopBoundHoisting.cc -------------------------------------------------------------------------------- /lib/mlir/Transforms/LoopTransforms.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/mlir/Transforms/LoopTransforms.cc -------------------------------------------------------------------------------- /lib/mlir/Transforms/PassDetail.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/mlir/Transforms/PassDetail.h -------------------------------------------------------------------------------- /lib/mlir/Transforms/PhismTransforms.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/mlir/Transforms/PhismTransforms.cc -------------------------------------------------------------------------------- /lib/mlir/Transforms/SCoPDecomposition.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/mlir/Transforms/SCoPDecomposition.cc -------------------------------------------------------------------------------- /lib/mlir/Transforms/SimpleArrayPartition.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/mlir/Transforms/SimpleArrayPartition.cc -------------------------------------------------------------------------------- /lib/mlir/Transforms/SimplifyPartitionAccess.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/mlir/Transforms/SimplifyPartitionAccess.cc -------------------------------------------------------------------------------- /lib/mlir/Transforms/SplitNonAffine.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/mlir/Transforms/SplitNonAffine.cc -------------------------------------------------------------------------------- /lib/mlir/Transforms/StripExceptTop.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/mlir/Transforms/StripExceptTop.cc -------------------------------------------------------------------------------- /lib/mlir/Transforms/Utils.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/lib/mlir/Transforms/Utils.cc -------------------------------------------------------------------------------- /notebooks/polybench-baseline-results.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/notebooks/polybench-baseline-results.ipynb -------------------------------------------------------------------------------- /notebooks/polybench-medium-results.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/notebooks/polybench-medium-results.ipynb -------------------------------------------------------------------------------- /notebooks/polybench-results.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/notebooks/polybench-results.ipynb -------------------------------------------------------------------------------- /notebooks/polybench-small-results.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/notebooks/polybench-small-results.ipynb -------------------------------------------------------------------------------- /notebooks/polybench-split.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/notebooks/polybench-split.ipynb -------------------------------------------------------------------------------- /notebooks/search-codegen.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/notebooks/search-codegen.ipynb -------------------------------------------------------------------------------- /polybench-speedup.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/polybench-speedup.pdf -------------------------------------------------------------------------------- /pyphism/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyphism/machsuite/ms_flow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/pyphism/machsuite/ms_flow.py -------------------------------------------------------------------------------- /pyphism/phism_runner/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyphism/phism_runner/options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/pyphism/phism_runner/options.py -------------------------------------------------------------------------------- /pyphism/phism_runner/runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/pyphism/phism_runner/runner.py -------------------------------------------------------------------------------- /pyphism/polybench/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyphism/polybench/pb_flow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/pyphism/polybench/pb_flow.py -------------------------------------------------------------------------------- /pyphism/polybench/pb_flow_test.py: -------------------------------------------------------------------------------- 1 | from pyphism.polybench import pb_flow 2 | -------------------------------------------------------------------------------- /pyphism/polybench/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyphism/polybench/utils/vhdl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/pyphism/polybench/utils/vhdl.py -------------------------------------------------------------------------------- /pyphism/polybench/utils/vhdl_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/pyphism/polybench/utils/vhdl_test.py -------------------------------------------------------------------------------- /pyphism/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyphism/utils/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/pyphism/utils/helper.py -------------------------------------------------------------------------------- /pyphism/utils/helper_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/pyphism/utils/helper_test.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/build-llvm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/scripts/build-llvm.sh -------------------------------------------------------------------------------- /scripts/build-phism.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/scripts/build-phism.sh -------------------------------------------------------------------------------- /scripts/build-polygeist.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/scripts/build-polygeist.sh -------------------------------------------------------------------------------- /scripts/build-polymer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/scripts/build-polymer.sh -------------------------------------------------------------------------------- /scripts/check-vitis.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/scripts/check-vitis.sh -------------------------------------------------------------------------------- /scripts/ms-flow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/scripts/ms-flow.py -------------------------------------------------------------------------------- /scripts/pb-flow: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/scripts/pb-flow -------------------------------------------------------------------------------- /scripts/pb-flow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/scripts/pb-flow.py -------------------------------------------------------------------------------- /scripts/pb-report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/scripts/pb-report.py -------------------------------------------------------------------------------- /scripts/phism-runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/scripts/phism-runner.py -------------------------------------------------------------------------------- /scripts/rosetta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/scripts/rosetta.py -------------------------------------------------------------------------------- /scripts/search-codegen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/scripts/search-codegen.py -------------------------------------------------------------------------------- /scripts/setup-vitis-hls-llvm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/scripts/setup-vitis-hls-llvm.sh -------------------------------------------------------------------------------- /test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/CMakeLists.txt -------------------------------------------------------------------------------- /test/lit.cfg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/lit.cfg.py -------------------------------------------------------------------------------- /test/lit.site.cfg.py.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/lit.site.cfg.py.in -------------------------------------------------------------------------------- /test/llvm/Transforms/VhlsLLVMRewriter/fneg.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/llvm/Transforms/VhlsLLVMRewriter/fneg.ll -------------------------------------------------------------------------------- /test/llvm/Transforms/VhlsLLVMRewriter/mem2arr/array1d.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/llvm/Transforms/VhlsLLVMRewriter/mem2arr/array1d.ll -------------------------------------------------------------------------------- /test/llvm/Transforms/VhlsLLVMRewriter/mem2arr/array1d_multiargs.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/llvm/Transforms/VhlsLLVMRewriter/mem2arr/array1d_multiargs.ll -------------------------------------------------------------------------------- /test/llvm/Transforms/VhlsLLVMRewriter/mem2arr/array2d.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/llvm/Transforms/VhlsLLVMRewriter/mem2arr/array2d.ll -------------------------------------------------------------------------------- /test/llvm/Transforms/VhlsLLVMRewriter/mem2arr/arraynd_mixed.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/llvm/Transforms/VhlsLLVMRewriter/mem2arr/arraynd_mixed.ll -------------------------------------------------------------------------------- /test/llvm/Transforms/VhlsLLVMRewriter/mem2arr/malloc.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/llvm/Transforms/VhlsLLVMRewriter/mem2arr/malloc.ll -------------------------------------------------------------------------------- /test/llvm/Transforms/VhlsLLVMRewriter/mem2arr/matmul.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/llvm/Transforms/VhlsLLVMRewriter/mem2arr/matmul.mlir -------------------------------------------------------------------------------- /test/llvm/Transforms/VhlsLLVMRewriter/mem2arr/multicalls.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/llvm/Transforms/VhlsLLVMRewriter/mem2arr/multicalls.mlir -------------------------------------------------------------------------------- /test/llvm/Transforms/VhlsLLVMRewriter/xlnram2p/test_tcl_partition.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/llvm/Transforms/VhlsLLVMRewriter/xlnram2p/test_tcl_partition.ll -------------------------------------------------------------------------------- /test/llvm/Transforms/VhlsLLVMRewriter/xlntbgen/test_dummy_c_multi_arrays.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/llvm/Transforms/VhlsLLVMRewriter/xlntbgen/test_dummy_c_multi_arrays.ll -------------------------------------------------------------------------------- /test/llvm/Transforms/VhlsLLVMRewriter/xlntbgen/test_dummy_c_no_array.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/llvm/Transforms/VhlsLLVMRewriter/xlntbgen/test_dummy_c_no_array.ll -------------------------------------------------------------------------------- /test/llvm/Transforms/VhlsLLVMRewriter/xlntbgen/test_dummy_c_single_array.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/llvm/Transforms/VhlsLLVMRewriter/xlntbgen/test_dummy_c_single_array.ll -------------------------------------------------------------------------------- /test/llvm/Transforms/VhlsLLVMRewriter/xlntbgen/test_dummy_c_single_array_nd.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/llvm/Transforms/VhlsLLVMRewriter/xlntbgen/test_dummy_c_single_array_nd.ll -------------------------------------------------------------------------------- /test/llvm/Transforms/VhlsLLVMRewriter/xlntbgen/test_dummy_c_single_array_no_int.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/llvm/Transforms/VhlsLLVMRewriter/xlntbgen/test_dummy_c_single_array_no_int.ll -------------------------------------------------------------------------------- /test/llvm/Transforms/VhlsLLVMRewriter/xlntbgen/test_tcl_no_partition.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/llvm/Transforms/VhlsLLVMRewriter/xlntbgen/test_tcl_no_partition.ll -------------------------------------------------------------------------------- /test/llvm/Transforms/VhlsLLVMRewriter/xlntbgen/test_tcl_partition.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/llvm/Transforms/VhlsLLVMRewriter/xlntbgen/test_tcl_partition.ll -------------------------------------------------------------------------------- /test/llvm/Transforms/VhlsLLVMRewriter/xlntbgen/test_tcl_partition_flattened.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/llvm/Transforms/VhlsLLVMRewriter/xlntbgen/test_tcl_partition_flattened.ll -------------------------------------------------------------------------------- /test/mlir/Transforms/ArrayPartition/nested-top.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/ArrayPartition/nested-top.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/ArrayPartition/partial-tile.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/ArrayPartition/partial-tile.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/EliminateAffineLoadStore/load-after-store-interleaved.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/EliminateAffineLoadStore/load-after-store-interleaved.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/EliminateAffineLoadStore/load-after-store.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/EliminateAffineLoadStore/load-after-store.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/EliminateAffineLoadStore/same-load-ops-interleaved.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/EliminateAffineLoadStore/same-load-ops-interleaved.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/EliminateAffineLoadStore/same-load-ops.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/EliminateAffineLoadStore/same-load-ops.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/ExtractTopFunc/anno-const-args.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/ExtractTopFunc/anno-const-args.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/ExtractTopFunc/anno-top.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/ExtractTopFunc/anno-top.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/ExtractTopFunc/call-graph.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/ExtractTopFunc/call-graph.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/ExtractTopFunc/keep-all.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/ExtractTopFunc/keep-all.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/ExtractTopFunc/recur-call.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/ExtractTopFunc/recur-call.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/ExtractTopFunc/single-decl-no-call.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/ExtractTopFunc/single-decl-no-call.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/FoldIfPass/fold-if-with-blocks.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/FoldIfPass/fold-if-with-blocks.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/FoldIfPass/fold-if.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/FoldIfPass/fold-if.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/LiftMemRefSubview/basic.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/LiftMemRefSubview/basic.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/LoopBoundHoisting/const-inner-bound.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/LoopBoundHoisting/const-inner-bound.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/LoopTransforms/AffineLoopUnswitching/basic.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/LoopTransforms/AffineLoopUnswitching/basic.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/LoopTransforms/AnnotatePointLoops/basic.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/LoopTransforms/AnnotatePointLoops/basic.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/LoopTransforms/RewritePloopIndvar/single-ploop.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/LoopTransforms/RewritePloopIndvar/single-ploop.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/LoopTransforms/demote-bound-to-if.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/LoopTransforms/demote-bound-to-if.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/LoopTransforms/dis-indvar.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/LoopTransforms/dis-indvar.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/LoopTransforms/loop-merge.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/LoopTransforms/loop-merge.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/LoopTransforms/redis-scop-stmts.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/LoopTransforms/redis-scop-stmts.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/SCoPDecomposition/test.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/SCoPDecomposition/test.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/SimpleArrayPartition/no-scop-pe-caller.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/SimpleArrayPartition/no-scop-pe-caller.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/SimpleArrayPartition/simple-partition-2d-flatten.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/SimpleArrayPartition/simple-partition-2d-flatten.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/SimpleArrayPartition/simple-partition-2d.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/SimpleArrayPartition/simple-partition-2d.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/SimpleArrayPartition/simple-partition.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/SimpleArrayPartition/simple-partition.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/SimplifyPartitionAccess/floordiv-extra-term.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/SimplifyPartitionAccess/floordiv-extra-term.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/SimplifyPartitionAccess/floordiv-mod-nested.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/SimplifyPartitionAccess/floordiv-mod-nested.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/SimplifyPartitionAccess/floordiv.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/SimplifyPartitionAccess/floordiv.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/SimplifyPartitionAccess/mod.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/SimplifyPartitionAccess/mod.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/SimplifyPartitionAccess/simple-tile.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/SimplifyPartitionAccess/simple-tile.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/SplitNonAffine/nested-loops-no-depth.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/SplitNonAffine/nested-loops-no-depth.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/SplitNonAffine/nested-loops-with-depth.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/SplitNonAffine/nested-loops-with-depth.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/SplitNonAffine/plain-loop.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/SplitNonAffine/plain-loop.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/SplitNonAffine/top-only.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/SplitNonAffine/top-only.mlir -------------------------------------------------------------------------------- /test/mlir/Transforms/StripExceptTop/call-graph.mlir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/test/mlir/Transforms/StripExceptTop/call-graph.mlir -------------------------------------------------------------------------------- /tools/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/tools/CMakeLists.txt -------------------------------------------------------------------------------- /tools/phism-opt/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/tools/phism-opt/CMakeLists.txt -------------------------------------------------------------------------------- /tools/phism-opt/phism-opt.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumasento/polsca/HEAD/tools/phism-opt/phism-opt.cc --------------------------------------------------------------------------------