From ed01c470c9f058b24135911c0045fda689e7a14c Mon Sep 17 00:00:00 2001 From: "William S. Moses" Date: Thu, 16 Jun 2022 15:49:33 -0400 Subject: [PATCH 1/2] Rename mlir-clang to cgeist --- .github/workflows/build.yml | 4 ++-- .github/workflows/clang-format.yml | 2 +- README.md | 6 +++--- tools/CMakeLists.txt | 2 +- tools/{mlir-clang => cgeist}/.clang-format | 0 tools/{mlir-clang => cgeist}/.gitignore | 0 tools/{mlir-clang => cgeist}/CMakeLists.txt | 16 ++++++++-------- tools/{mlir-clang => cgeist}/Lib/AffineUtils.cc | 0 tools/{mlir-clang => cgeist}/Lib/AffineUtils.h | 0 tools/{mlir-clang => cgeist}/Lib/CGCall.cc | 0 tools/{mlir-clang => cgeist}/Lib/CGStmt.cc | 0 tools/{mlir-clang => cgeist}/Lib/IfScope.cc | 0 tools/{mlir-clang => cgeist}/Lib/IfScope.h | 0 tools/{mlir-clang => cgeist}/Lib/TypeUtils.cc | 0 tools/{mlir-clang => cgeist}/Lib/TypeUtils.h | 0 .../{mlir-clang => cgeist}/Lib/ValueCategory.cc | 0 .../{mlir-clang => cgeist}/Lib/ValueCategory.h | 0 tools/{mlir-clang => cgeist}/Lib/clang-mlir.cc | 0 tools/{mlir-clang => cgeist}/Lib/clang-mlir.h | 0 .../{mlir-clang => cgeist}/Lib/pragmaHandler.cc | 0 .../{mlir-clang => cgeist}/Lib/pragmaHandler.h | 0 tools/{mlir-clang => cgeist}/Lib/utils.cc | 0 tools/{mlir-clang => cgeist}/Lib/utils.h | 0 .../{mlir-clang => cgeist}/Test/CMakeLists.txt | 8 ++++---- .../Test/Verification/Inputs/cuda.h | 0 .../Test/Verification/affun.c | 2 +- .../Test/Verification/alignof.cpp | 2 +- .../Test/Verification/arrayconsllvm.cpp | 2 +- .../Test/Verification/arrayconsmemref.cpp | 2 +- .../Test/Verification/arrayconsmemrefinner.cpp | 2 +- .../Test/Verification/base_nostructabi.cpp | 2 +- .../Test/Verification/base_with_virt.cpp | 2 +- .../Test/Verification/base_with_virt2.cpp | 2 +- .../Test/Verification/caff.cpp | 2 +- .../Test/Verification/call.c | 4 ++-- .../Test/Verification/calloc.c | 2 +- .../Test/Verification/capture.cpp | 2 +- .../Test/Verification/charswitch.cpp | 2 +- .../Test/Verification/clangbuiltin.cpp | 2 +- .../Test/Verification/classrefmem.cpp | 2 +- .../Test/Verification/combif.c | 2 +- .../Test/Verification/cond.c | 2 +- .../Test/Verification/cond2.c | 2 +- .../Test/Verification/consabi.cpp | 2 +- .../Test/Verification/constexpr.cpp | 2 +- .../Test/Verification/continue.c | 2 +- .../Test/Verification/cout.cpp | 2 +- .../Test/Verification/cudaglobalcodegen.cu | 2 +- .../Test/Verification/der.c | 2 +- .../Test/Verification/deref.c | 2 +- .../Test/Verification/derived.cpp | 2 +- .../Test/Verification/dynalloc.c | 2 +- .../Test/Verification/ext.c | 2 +- .../Test/Verification/ext_vector_type.cpp | 2 +- .../Test/Verification/free.c | 2 +- .../Test/Verification/freecst.c | 2 +- .../Test/Verification/fscanf.c | 2 +- .../Test/Verification/fw.c | 4 ++-- .../Test/Verification/fwfree.c | 4 ++-- .../Test/Verification/gcd.c | 2 +- .../Test/Verification/gettimeofday.c | 2 +- .../Test/Verification/globals.c | 2 +- .../Test/Verification/hist.c | 2 +- .../Test/Verification/ident.cpp | 2 +- .../Test/Verification/ident2.cpp | 2 +- .../Test/Verification/ker.c | 4 ++-- .../Test/Verification/label.c | 2 +- .../Test/Verification/ler.c | 2 +- .../Test/Verification/loop.cpp | 2 +- .../Test/Verification/loopinc.c | 2 +- .../Test/Verification/lower-to-linalg-op.c | 2 +- .../Test/Verification/lower_to.c | 2 +- .../Test/Verification/lowerrecur.c | 2 +- .../Test/Verification/lum.c | 2 +- .../Test/Verification/malloc.c | 2 +- .../Test/Verification/memcpystruct.c | 2 +- .../Test/Verification/memref-fullrank.c | 2 +- .../Test/Verification/memrefaddassign.cpp | 2 +- .../Test/Verification/mer.c | 4 ++-- .../Test/Verification/min.c | 2 +- .../Test/Verification/multidim_init.c | 2 +- .../Test/Verification/nestloop.c | 4 ++-- .../Test/Verification/no_inline.c | 4 ++-- .../Test/Verification/nocond.c | 2 +- .../Test/Verification/nulretstruct.c | 2 +- .../Test/Verification/nus.c | 4 ++-- .../Test/Verification/omp.c | 2 +- .../Test/Verification/omp2.c | 2 +- .../Test/Verification/omp3.c | 2 +- .../Test/Verification/omp4.c | 2 +- .../Test/Verification/omp5.c | 2 +- .../Test/Verification/packedstruct.c | 2 +- .../Test/Verification/pair.c | 2 +- .../Test/Verification/pairinit.c | 2 +- .../Test/Verification/pairptr.c | 2 +- .../Test/Verification/palloc.c | 4 ++-- .../Test/Verification/ptraddsub.c | 2 +- .../Test/Verification/raiseToAffine.c | 4 ++-- .../Verification/raiseToAffineUnsignedCmp.c | 2 +- .../Test/Verification/recurstruct.c | 2 +- .../Test/Verification/red.mlir | 0 .../Test/Verification/redstore.c | 2 +- .../Test/Verification/redstore2.c | 2 +- .../Test/Verification/reduction.c | 6 +++--- .../Test/Verification/ref.cpp | 2 +- .../Test/Verification/refpair.cpp | 2 +- .../Test/Verification/refptrabi.cpp | 2 +- .../Test/Verification/reverseRaise.c | 2 +- .../Test/Verification/scor.c | 4 ++-- .../Test/Verification/scor2.c | 4 ++-- .../Test/Verification/scor3.c | 4 ++-- .../Test/Verification/scor4.c | 4 ++-- .../Test/Verification/sec.c | 2 +- .../Test/Verification/setter.c | 2 +- .../Test/Verification/sgesv.c | 4 ++-- .../Test/Verification/signcmp.c | 2 +- .../Test/Verification/size.c | 2 +- .../Test/Verification/sizeof.c | 2 +- .../Test/Verification/snus.c | 4 ++-- .../Test/Verification/static.c | 2 +- .../Test/Verification/staticint.c | 2 +- .../Test/Verification/str.c | 2 +- .../Test/Verification/stream.cu | 2 +- .../Test/Verification/struct.cpp | 2 +- .../Test/Verification/switcherr.c | 2 +- .../Test/Verification/switchnone.c | 2 +- .../Test/Verification/templatemember.cpp | 2 +- .../Test/Verification/threeInt.c | 2 +- .../Test/Verification/tobits.c | 2 +- tools/cgeist/Test/Verification/triple.cu | 7 +++++++ .../Test/Verification/twotemplatevardecls.cpp | 2 +- .../Test/Verification/unioncopy.cpp | 2 +- .../Test/Verification/unlinked.c | 4 ++-- .../Test/Verification/virt.cpp | 2 +- .../Test/Verification/virt2.cpp | 2 +- .../Test/Verification/whileset.c | 4 ++-- .../Test/Verification/whiletofor.c | 4 ++-- .../Test/Verification/x.c | 2 +- .../Test/Verification/xor.c | 2 +- tools/{mlir-clang => cgeist}/Test/aff.c | 2 +- .../Test/canonicalization.c | 2 +- tools/{mlir-clang => cgeist}/Test/global.c | 2 +- tools/{mlir-clang => cgeist}/Test/lit.cfg | 4 ++-- .../{mlir-clang => cgeist}/Test/lit.site.cfg.in | 0 .../Test/polybench/AUTHORS | 0 .../Test/polybench/CHANGELOG | 0 .../Test/polybench/LICENSE.txt | 0 .../Test/polybench/README | 0 .../Test/polybench/THANKS | 0 .../datamining/correlation/correlation.c | 8 ++++---- .../datamining/correlation/correlation.h | 0 .../datamining/covariance/covariance.c | 8 ++++---- .../datamining/covariance/covariance.h | 0 .../polybench/linear-algebra/blas/gemm/gemm.c | 10 +++++----- .../polybench/linear-algebra/blas/gemm/gemm.h | 0 .../linear-algebra/blas/gemver/gemver.c | 8 ++++---- .../linear-algebra/blas/gemver/gemver.h | 0 .../linear-algebra/blas/gesummv/gesummv.c | 8 ++++---- .../linear-algebra/blas/gesummv/gesummv.h | 0 .../polybench/linear-algebra/blas/symm/symm.c | 8 ++++---- .../polybench/linear-algebra/blas/symm/symm.h | 0 .../polybench/linear-algebra/blas/syr2k/syr2k.c | 8 ++++---- .../polybench/linear-algebra/blas/syr2k/syr2k.h | 0 .../polybench/linear-algebra/blas/syrk/syrk.c | 8 ++++---- .../polybench/linear-algebra/blas/syrk/syrk.h | 0 .../polybench/linear-algebra/blas/trmm/trmm.c | 8 ++++---- .../polybench/linear-algebra/blas/trmm/trmm.h | 0 .../polybench/linear-algebra/kernels/2mm/2mm.c | 10 +++++----- .../polybench/linear-algebra/kernels/2mm/2mm.h | 0 .../polybench/linear-algebra/kernels/3mm/3mm.c | 8 ++++---- .../polybench/linear-algebra/kernels/3mm/3mm.h | 0 .../linear-algebra/kernels/atax/atax.c | 8 ++++---- .../linear-algebra/kernels/atax/atax.h | 0 .../linear-algebra/kernels/bicg/bicg.c | 8 ++++---- .../linear-algebra/kernels/bicg/bicg.h | 0 .../linear-algebra/kernels/doitgen/doitgen.c | 8 ++++---- .../linear-algebra/kernels/doitgen/doitgen.h | 0 .../polybench/linear-algebra/kernels/mvt/mvt.c | 8 ++++---- .../polybench/linear-algebra/kernels/mvt/mvt.h | 0 .../linear-algebra/solvers/cholesky/cholesky.c | 8 ++++---- .../linear-algebra/solvers/cholesky/cholesky.h | 0 .../linear-algebra/solvers/durbin/durbin.c | 8 ++++---- .../linear-algebra/solvers/durbin/durbin.h | 0 .../solvers/gramschmidt/gramschmidt.c | 8 ++++---- .../solvers/gramschmidt/gramschmidt.h | 0 .../polybench/linear-algebra/solvers/lu/lu.c | 8 ++++---- .../polybench/linear-algebra/solvers/lu/lu.h | 0 .../linear-algebra/solvers/ludcmp/ludcmp.c | 8 ++++---- .../linear-algebra/solvers/ludcmp/ludcmp.h | 0 .../linear-algebra/solvers/trisolv/trisolv.c | 8 ++++---- .../linear-algebra/solvers/trisolv/trisolv.h | 0 .../Test/polybench/medley/deriche/deriche.c | 8 ++++---- .../Test/polybench/medley/deriche/deriche.h | 0 .../medley/floyd-warshall/floyd-warshall.c | 8 ++++---- .../medley/floyd-warshall/floyd-warshall.h | 0 .../polybench/medley/nussinov/Nussinov.orig.c | 4 ++-- .../Test/polybench/medley/nussinov/nussinov.c | 6 +++--- .../Test/polybench/medley/nussinov/nussinov.h | 0 .../Test/polybench/polybench.pdf | Bin .../Test/polybench/stencils/adi/adi.c | 8 ++++---- .../Test/polybench/stencils/adi/adi.h | 0 .../Test/polybench/stencils/fdtd-2d/fdtd-2d.c | 8 ++++---- .../Test/polybench/stencils/fdtd-2d/fdtd-2d.h | 0 .../Test/polybench/stencils/heat-3d/heat-3d.c | 8 ++++---- .../Test/polybench/stencils/heat-3d/heat-3d.h | 0 .../polybench/stencils/jacobi-1d/jacobi-1d.c | 8 ++++---- .../polybench/stencils/jacobi-1d/jacobi-1d.h | 0 .../polybench/stencils/jacobi-2d/jacobi-2d.c | 8 ++++---- .../polybench/stencils/jacobi-2d/jacobi-2d.h | 0 .../polybench/stencils/seidel-2d/seidel-2d.c | 8 ++++---- .../polybench/stencils/seidel-2d/seidel-2d.h | 0 .../Test/polybench/utilities/benchmark_list | 0 .../Test/polybench/utilities/clean.pl | 0 .../polybench/utilities/create_cpped_version.pl | 0 .../Test/polybench/utilities/header-gen.pl | 0 .../Test/polybench/utilities/makefile-gen.pl | 0 .../Test/polybench/utilities/papi_counters.list | 0 .../Test/polybench/utilities/polybench.R | 0 .../Test/polybench/utilities/polybench.c | 2 +- .../Test/polybench/utilities/polybench.h | 0 .../Test/polybench/utilities/polybench.spec | 0 .../Test/polybench/utilities/run-all.pl | 0 .../Test/polybench/utilities/time_benchmark.sh | 0 .../mlir-clang.cc => cgeist/driver.cc} | 4 ++-- tools/mlir-clang/Test/Verification/triple.cu | 7 ------- 225 files changed, 290 insertions(+), 290 deletions(-) rename tools/{mlir-clang => cgeist}/.clang-format (100%) rename tools/{mlir-clang => cgeist}/.gitignore (100%) rename tools/{mlir-clang => cgeist}/CMakeLists.txt (78%) rename tools/{mlir-clang => cgeist}/Lib/AffineUtils.cc (100%) rename tools/{mlir-clang => cgeist}/Lib/AffineUtils.h (100%) rename tools/{mlir-clang => cgeist}/Lib/CGCall.cc (100%) rename tools/{mlir-clang => cgeist}/Lib/CGStmt.cc (100%) rename tools/{mlir-clang => cgeist}/Lib/IfScope.cc (100%) rename tools/{mlir-clang => cgeist}/Lib/IfScope.h (100%) rename tools/{mlir-clang => cgeist}/Lib/TypeUtils.cc (100%) rename tools/{mlir-clang => cgeist}/Lib/TypeUtils.h (100%) rename tools/{mlir-clang => cgeist}/Lib/ValueCategory.cc (100%) rename tools/{mlir-clang => cgeist}/Lib/ValueCategory.h (100%) rename tools/{mlir-clang => cgeist}/Lib/clang-mlir.cc (100%) rename tools/{mlir-clang => cgeist}/Lib/clang-mlir.h (100%) rename tools/{mlir-clang => cgeist}/Lib/pragmaHandler.cc (100%) rename tools/{mlir-clang => cgeist}/Lib/pragmaHandler.h (100%) rename tools/{mlir-clang => cgeist}/Lib/utils.cc (100%) rename tools/{mlir-clang => cgeist}/Lib/utils.h (100%) rename tools/{mlir-clang => cgeist}/Test/CMakeLists.txt (66%) rename tools/{mlir-clang => cgeist}/Test/Verification/Inputs/cuda.h (100%) rename tools/{mlir-clang => cgeist}/Test/Verification/affun.c (90%) rename tools/{mlir-clang => cgeist}/Test/Verification/alignof.cpp (91%) rename tools/{mlir-clang => cgeist}/Test/Verification/arrayconsllvm.cpp (96%) rename tools/{mlir-clang => cgeist}/Test/Verification/arrayconsmemref.cpp (95%) rename tools/{mlir-clang => cgeist}/Test/Verification/arrayconsmemrefinner.cpp (97%) rename tools/{mlir-clang => cgeist}/Test/Verification/base_nostructabi.cpp (96%) rename tools/{mlir-clang => cgeist}/Test/Verification/base_with_virt.cpp (97%) rename tools/{mlir-clang => cgeist}/Test/Verification/base_with_virt2.cpp (95%) rename tools/{mlir-clang => cgeist}/Test/Verification/caff.cpp (97%) rename tools/{mlir-clang => cgeist}/Test/Verification/call.c (82%) rename tools/{mlir-clang => cgeist}/Test/Verification/calloc.c (94%) rename tools/{mlir-clang => cgeist}/Test/Verification/capture.cpp (97%) rename tools/{mlir-clang => cgeist}/Test/Verification/charswitch.cpp (95%) rename tools/{mlir-clang => cgeist}/Test/Verification/clangbuiltin.cpp (81%) rename tools/{mlir-clang => cgeist}/Test/Verification/classrefmem.cpp (96%) rename tools/{mlir-clang => cgeist}/Test/Verification/combif.c (97%) rename tools/{mlir-clang => cgeist}/Test/Verification/cond.c (88%) rename tools/{mlir-clang => cgeist}/Test/Verification/cond2.c (88%) rename tools/{mlir-clang => cgeist}/Test/Verification/consabi.cpp (98%) rename tools/{mlir-clang => cgeist}/Test/Verification/constexpr.cpp (94%) rename tools/{mlir-clang => cgeist}/Test/Verification/continue.c (95%) rename tools/{mlir-clang => cgeist}/Test/Verification/cout.cpp (61%) rename tools/{mlir-clang => cgeist}/Test/Verification/cudaglobalcodegen.cu (89%) rename tools/{mlir-clang => cgeist}/Test/Verification/der.c (79%) rename tools/{mlir-clang => cgeist}/Test/Verification/deref.c (80%) rename tools/{mlir-clang => cgeist}/Test/Verification/derived.cpp (96%) rename tools/{mlir-clang => cgeist}/Test/Verification/dynalloc.c (93%) rename tools/{mlir-clang => cgeist}/Test/Verification/ext.c (94%) rename tools/{mlir-clang => cgeist}/Test/Verification/ext_vector_type.cpp (93%) rename tools/{mlir-clang => cgeist}/Test/Verification/free.c (90%) rename tools/{mlir-clang => cgeist}/Test/Verification/freecst.c (91%) rename tools/{mlir-clang => cgeist}/Test/Verification/fscanf.c (97%) rename tools/{mlir-clang => cgeist}/Test/Verification/fw.c (87%) rename tools/{mlir-clang => cgeist}/Test/Verification/fwfree.c (88%) rename tools/{mlir-clang => cgeist}/Test/Verification/gcd.c (92%) rename tools/{mlir-clang => cgeist}/Test/Verification/gettimeofday.c (93%) rename tools/{mlir-clang => cgeist}/Test/Verification/globals.c (95%) rename tools/{mlir-clang => cgeist}/Test/Verification/hist.c (92%) rename tools/{mlir-clang => cgeist}/Test/Verification/ident.cpp (98%) rename tools/{mlir-clang => cgeist}/Test/Verification/ident2.cpp (90%) rename tools/{mlir-clang => cgeist}/Test/Verification/ker.c (76%) rename tools/{mlir-clang => cgeist}/Test/Verification/label.c (95%) rename tools/{mlir-clang => cgeist}/Test/Verification/ler.c (87%) rename tools/{mlir-clang => cgeist}/Test/Verification/loop.cpp (96%) rename tools/{mlir-clang => cgeist}/Test/Verification/loopinc.c (94%) rename tools/{mlir-clang => cgeist}/Test/Verification/lower-to-linalg-op.c (89%) rename tools/{mlir-clang => cgeist}/Test/Verification/lower_to.c (83%) rename tools/{mlir-clang => cgeist}/Test/Verification/lowerrecur.c (65%) rename tools/{mlir-clang => cgeist}/Test/Verification/lum.c (75%) rename tools/{mlir-clang => cgeist}/Test/Verification/malloc.c (91%) rename tools/{mlir-clang => cgeist}/Test/Verification/memcpystruct.c (91%) rename tools/{mlir-clang => cgeist}/Test/Verification/memref-fullrank.c (90%) rename tools/{mlir-clang => cgeist}/Test/Verification/memrefaddassign.cpp (84%) rename tools/{mlir-clang => cgeist}/Test/Verification/mer.c (75%) rename tools/{mlir-clang => cgeist}/Test/Verification/min.c (90%) rename tools/{mlir-clang => cgeist}/Test/Verification/multidim_init.c (97%) rename tools/{mlir-clang => cgeist}/Test/Verification/nestloop.c (92%) rename tools/{mlir-clang => cgeist}/Test/Verification/no_inline.c (70%) rename tools/{mlir-clang => cgeist}/Test/Verification/nocond.c (91%) rename tools/{mlir-clang => cgeist}/Test/Verification/nulretstruct.c (93%) rename tools/{mlir-clang => cgeist}/Test/Verification/nus.c (83%) rename tools/{mlir-clang => cgeist}/Test/Verification/omp.c (95%) rename tools/{mlir-clang => cgeist}/Test/Verification/omp2.c (97%) rename tools/{mlir-clang => cgeist}/Test/Verification/omp3.c (94%) rename tools/{mlir-clang => cgeist}/Test/Verification/omp4.c (96%) rename tools/{mlir-clang => cgeist}/Test/Verification/omp5.c (93%) rename tools/{mlir-clang => cgeist}/Test/Verification/packedstruct.c (95%) rename tools/{mlir-clang => cgeist}/Test/Verification/pair.c (96%) rename tools/{mlir-clang => cgeist}/Test/Verification/pairinit.c (89%) rename tools/{mlir-clang => cgeist}/Test/Verification/pairptr.c (96%) rename tools/{mlir-clang => cgeist}/Test/Verification/palloc.c (81%) rename tools/{mlir-clang => cgeist}/Test/Verification/ptraddsub.c (96%) rename tools/{mlir-clang => cgeist}/Test/Verification/raiseToAffine.c (87%) rename tools/{mlir-clang => cgeist}/Test/Verification/raiseToAffineUnsignedCmp.c (91%) rename tools/{mlir-clang => cgeist}/Test/Verification/recurstruct.c (97%) rename tools/{mlir-clang => cgeist}/Test/Verification/red.mlir (100%) rename tools/{mlir-clang => cgeist}/Test/Verification/redstore.c (94%) rename tools/{mlir-clang => cgeist}/Test/Verification/redstore2.c (92%) rename tools/{mlir-clang => cgeist}/Test/Verification/reduction.c (78%) rename tools/{mlir-clang => cgeist}/Test/Verification/ref.cpp (94%) rename tools/{mlir-clang => cgeist}/Test/Verification/refpair.cpp (94%) rename tools/{mlir-clang => cgeist}/Test/Verification/refptrabi.cpp (93%) rename tools/{mlir-clang => cgeist}/Test/Verification/reverseRaise.c (91%) rename tools/{mlir-clang => cgeist}/Test/Verification/scor.c (87%) rename tools/{mlir-clang => cgeist}/Test/Verification/scor2.c (77%) rename tools/{mlir-clang => cgeist}/Test/Verification/scor3.c (80%) rename tools/{mlir-clang => cgeist}/Test/Verification/scor4.c (80%) rename tools/{mlir-clang => cgeist}/Test/Verification/sec.c (95%) rename tools/{mlir-clang => cgeist}/Test/Verification/setter.c (92%) rename tools/{mlir-clang => cgeist}/Test/Verification/sgesv.c (92%) rename tools/{mlir-clang => cgeist}/Test/Verification/signcmp.c (92%) rename tools/{mlir-clang => cgeist}/Test/Verification/size.c (86%) rename tools/{mlir-clang => cgeist}/Test/Verification/sizeof.c (93%) rename tools/{mlir-clang => cgeist}/Test/Verification/snus.c (86%) rename tools/{mlir-clang => cgeist}/Test/Verification/static.c (88%) rename tools/{mlir-clang => cgeist}/Test/Verification/staticint.c (95%) rename tools/{mlir-clang => cgeist}/Test/Verification/str.c (94%) rename tools/{mlir-clang => cgeist}/Test/Verification/stream.cu (91%) rename tools/{mlir-clang => cgeist}/Test/Verification/struct.cpp (91%) rename tools/{mlir-clang => cgeist}/Test/Verification/switcherr.c (95%) rename tools/{mlir-clang => cgeist}/Test/Verification/switchnone.c (78%) rename tools/{mlir-clang => cgeist}/Test/Verification/templatemember.cpp (88%) rename tools/{mlir-clang => cgeist}/Test/Verification/threeInt.c (80%) rename tools/{mlir-clang => cgeist}/Test/Verification/tobits.c (92%) create mode 100644 tools/cgeist/Test/Verification/triple.cu rename tools/{mlir-clang => cgeist}/Test/Verification/twotemplatevardecls.cpp (92%) rename tools/{mlir-clang => cgeist}/Test/Verification/unioncopy.cpp (98%) rename tools/{mlir-clang => cgeist}/Test/Verification/unlinked.c (83%) rename tools/{mlir-clang => cgeist}/Test/Verification/virt.cpp (98%) rename tools/{mlir-clang => cgeist}/Test/Verification/virt2.cpp (98%) rename tools/{mlir-clang => cgeist}/Test/Verification/whileset.c (87%) rename tools/{mlir-clang => cgeist}/Test/Verification/whiletofor.c (92%) rename tools/{mlir-clang => cgeist}/Test/Verification/x.c (85%) rename tools/{mlir-clang => cgeist}/Test/Verification/xor.c (92%) rename tools/{mlir-clang => cgeist}/Test/aff.c (92%) rename tools/{mlir-clang => cgeist}/Test/canonicalization.c (96%) rename tools/{mlir-clang => cgeist}/Test/global.c (92%) rename tools/{mlir-clang => cgeist}/Test/lit.cfg (98%) rename tools/{mlir-clang => cgeist}/Test/lit.site.cfg.in (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/AUTHORS (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/CHANGELOG (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/LICENSE.txt (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/README (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/THANKS (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/datamining/correlation/correlation.c (98%) rename tools/{mlir-clang => cgeist}/Test/polybench/datamining/correlation/correlation.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/datamining/covariance/covariance.c (94%) rename tools/{mlir-clang => cgeist}/Test/polybench/datamining/covariance/covariance.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/blas/gemm/gemm.c (92%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/blas/gemm/gemm.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/blas/gemver/gemver.c (95%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/blas/gemver/gemver.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/blas/gesummv/gesummv.c (93%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/blas/gesummv/gesummv.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/blas/symm/symm.c (94%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/blas/symm/symm.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/blas/syr2k/syr2k.c (93%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/blas/syr2k/syr2k.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/blas/syrk/syrk.c (92%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/blas/syrk/syrk.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/blas/trmm/trmm.c (92%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/blas/trmm/trmm.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/kernels/2mm/2mm.c (92%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/kernels/2mm/2mm.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/kernels/3mm/3mm.c (95%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/kernels/3mm/3mm.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/kernels/atax/atax.c (92%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/kernels/atax/atax.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/kernels/bicg/bicg.c (93%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/kernels/bicg/bicg.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/kernels/doitgen/doitgen.c (92%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/kernels/doitgen/doitgen.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/kernels/mvt/mvt.c (93%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/kernels/mvt/mvt.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/solvers/cholesky/cholesky.c (93%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/solvers/cholesky/cholesky.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/solvers/durbin/durbin.c (94%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/solvers/durbin/durbin.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/solvers/gramschmidt/gramschmidt.c (94%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/solvers/gramschmidt/gramschmidt.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/solvers/lu/lu.c (93%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/solvers/lu/lu.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/solvers/ludcmp/ludcmp.c (95%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/solvers/ludcmp/ludcmp.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/solvers/trisolv/trisolv.c (92%) rename tools/{mlir-clang => cgeist}/Test/polybench/linear-algebra/solvers/trisolv/trisolv.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/medley/deriche/deriche.c (97%) rename tools/{mlir-clang => cgeist}/Test/polybench/medley/deriche/deriche.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/medley/floyd-warshall/floyd-warshall.c (91%) rename tools/{mlir-clang => cgeist}/Test/polybench/medley/floyd-warshall/floyd-warshall.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/medley/nussinov/Nussinov.orig.c (98%) rename tools/{mlir-clang => cgeist}/Test/polybench/medley/nussinov/nussinov.c (98%) rename tools/{mlir-clang => cgeist}/Test/polybench/medley/nussinov/nussinov.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/polybench.pdf (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/stencils/adi/adi.c (96%) rename tools/{mlir-clang => cgeist}/Test/polybench/stencils/adi/adi.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/stencils/fdtd-2d/fdtd-2d.c (95%) rename tools/{mlir-clang => cgeist}/Test/polybench/stencils/fdtd-2d/fdtd-2d.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/stencils/heat-3d/heat-3d.c (95%) rename tools/{mlir-clang => cgeist}/Test/polybench/stencils/heat-3d/heat-3d.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/stencils/jacobi-1d/jacobi-1d.c (92%) rename tools/{mlir-clang => cgeist}/Test/polybench/stencils/jacobi-1d/jacobi-1d.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/stencils/jacobi-2d/jacobi-2d.c (93%) rename tools/{mlir-clang => cgeist}/Test/polybench/stencils/jacobi-2d/jacobi-2d.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/stencils/seidel-2d/seidel-2d.c (92%) rename tools/{mlir-clang => cgeist}/Test/polybench/stencils/seidel-2d/seidel-2d.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/utilities/benchmark_list (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/utilities/clean.pl (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/utilities/create_cpped_version.pl (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/utilities/header-gen.pl (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/utilities/makefile-gen.pl (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/utilities/papi_counters.list (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/utilities/polybench.R (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/utilities/polybench.c (99%) rename tools/{mlir-clang => cgeist}/Test/polybench/utilities/polybench.h (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/utilities/polybench.spec (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/utilities/run-all.pl (100%) rename tools/{mlir-clang => cgeist}/Test/polybench/utilities/time_benchmark.sh (100%) rename tools/{mlir-clang/mlir-clang.cc => cgeist/driver.cc} (99%) delete mode 100644 tools/mlir-clang/Test/Verification/triple.cu diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b6b9aee9548a..1be5e910fc4e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,8 +66,8 @@ jobs: cd build ls ../mlir-build/lib/cmake/clang cmake ../src/ -GNinja -DMLIR_DIR=`pwd`/../mlir-build/lib/cmake/mlir -DLLVM_EXTERNAL_LIT=`pwd`/../mlir-build/bin/llvm-lit -DClang_DIR=`pwd`/../mlir-build/lib/cmake/clang -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DCMAKE_C_COMPILER=${{matrix.compiler}} -DCMAKE_CXX_COMPILER=${{matrix.cxxcompiler}} - - name: test mlir-clang + - name: test cgeist run: | cd build ninja check-polygeist-opt - ninja check-mlir-clang + ninja check-cgeist diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 8715fecd7044..0d6b3a86eba6 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -16,6 +16,6 @@ jobs: fetch-depth: 1 - uses: DoozyX/clang-format-lint-action@v0.11 with: - exclude: './tools/mlir-clang/Test ./test' + exclude: './tools/cgeist/Test ./test' clangFormatVersion: 11 style: llvm diff --git a/README.md b/README.md index a3fc87f9610d..7a6c5c4cd3e7 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ### 0. Clone Polygeist ```sh -git clone --recursive https://github.com/wsmoses/Polygeist.git +git clone --recursive https://github.com/llvm/Polygeist cd Polygeist ``` @@ -41,7 +41,7 @@ cmake -G Ninja .. \ -DLLVM_ENABLE_ASSERTIONS=ON \ -DCMAKE_BUILD_TYPE=DEBUG ninja -ninja check-mlir-clang +ninja check-cgeist ``` #### Option 2: Using unified LLVM, MLIR, Clang, and Polygeist build @@ -60,5 +60,5 @@ cmake -G Ninja ../llvm-project/llvm \ -DLLVM_ENABLE_ASSERTIONS=ON \ -DCMAKE_BUILD_TYPE=DEBUG ninja -ninja check-mlir-clang +ninja check-cgeist ``` diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 42a372f6a5ce..bff6d682becf 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -1,2 +1,2 @@ add_subdirectory(polygeist-opt) -add_subdirectory(mlir-clang) +add_subdirectory(cgeist) diff --git a/tools/mlir-clang/.clang-format b/tools/cgeist/.clang-format similarity index 100% rename from tools/mlir-clang/.clang-format rename to tools/cgeist/.clang-format diff --git a/tools/mlir-clang/.gitignore b/tools/cgeist/.gitignore similarity index 100% rename from tools/mlir-clang/.gitignore rename to tools/cgeist/.gitignore diff --git a/tools/mlir-clang/CMakeLists.txt b/tools/cgeist/CMakeLists.txt similarity index 78% rename from tools/mlir-clang/CMakeLists.txt rename to tools/cgeist/CMakeLists.txt index 60683f970f99..693d2a3269e6 100644 --- a/tools/mlir-clang/CMakeLists.txt +++ b/tools/cgeist/CMakeLists.txt @@ -17,8 +17,8 @@ set( LLVM_LINK_COMPONENTS Vectorize ) -add_clang_executable(mlir-clang - mlir-clang.cc +add_clang_executable(cgeist + driver.cc Lib/CGStmt.cc "${LLVM_SOURCE_DIR}/../clang/tools/driver/cc1_main.cpp" "${LLVM_SOURCE_DIR}/../clang/tools/driver/cc1as_main.cpp" @@ -31,18 +31,18 @@ add_clang_executable(mlir-clang Lib/TypeUtils.cc Lib/CGCall.cc ) -install(TARGETS mlir-clang +install(TARGETS cgeist EXPORT PolygeistTargets RUNTIME DESTINATION ${LLVM_TOOLS_INSTALL_DIR} -COMPONENT mlir-clang) +COMPONENT cgeist) -target_include_directories(mlir-clang PRIVATE +target_include_directories(cgeist PRIVATE "${LLVM_SOURCE_DIR}/../clang/include" "${CMAKE_BINARY_DIR}/tools/clang/include" ) -target_compile_definitions(mlir-clang PUBLIC -DLLVM_OBJ_ROOT="${LLVM_BINARY_DIR}") -target_link_libraries(mlir-clang PRIVATE +target_compile_definitions(cgeist PUBLIC -DLLVM_OBJ_ROOT="${LLVM_BINARY_DIR}") +target_link_libraries(cgeist PRIVATE MLIRSCFTransforms MLIRPolygeist @@ -75,5 +75,5 @@ target_link_libraries(mlir-clang PRIVATE clangLex clangSerialization ) -add_dependencies(mlir-clang MLIRPolygeistOpsIncGen MLIRPolygeistPassIncGen) +add_dependencies(cgeist MLIRPolygeistOpsIncGen MLIRPolygeistPassIncGen) add_subdirectory(Test) diff --git a/tools/mlir-clang/Lib/AffineUtils.cc b/tools/cgeist/Lib/AffineUtils.cc similarity index 100% rename from tools/mlir-clang/Lib/AffineUtils.cc rename to tools/cgeist/Lib/AffineUtils.cc diff --git a/tools/mlir-clang/Lib/AffineUtils.h b/tools/cgeist/Lib/AffineUtils.h similarity index 100% rename from tools/mlir-clang/Lib/AffineUtils.h rename to tools/cgeist/Lib/AffineUtils.h diff --git a/tools/mlir-clang/Lib/CGCall.cc b/tools/cgeist/Lib/CGCall.cc similarity index 100% rename from tools/mlir-clang/Lib/CGCall.cc rename to tools/cgeist/Lib/CGCall.cc diff --git a/tools/mlir-clang/Lib/CGStmt.cc b/tools/cgeist/Lib/CGStmt.cc similarity index 100% rename from tools/mlir-clang/Lib/CGStmt.cc rename to tools/cgeist/Lib/CGStmt.cc diff --git a/tools/mlir-clang/Lib/IfScope.cc b/tools/cgeist/Lib/IfScope.cc similarity index 100% rename from tools/mlir-clang/Lib/IfScope.cc rename to tools/cgeist/Lib/IfScope.cc diff --git a/tools/mlir-clang/Lib/IfScope.h b/tools/cgeist/Lib/IfScope.h similarity index 100% rename from tools/mlir-clang/Lib/IfScope.h rename to tools/cgeist/Lib/IfScope.h diff --git a/tools/mlir-clang/Lib/TypeUtils.cc b/tools/cgeist/Lib/TypeUtils.cc similarity index 100% rename from tools/mlir-clang/Lib/TypeUtils.cc rename to tools/cgeist/Lib/TypeUtils.cc diff --git a/tools/mlir-clang/Lib/TypeUtils.h b/tools/cgeist/Lib/TypeUtils.h similarity index 100% rename from tools/mlir-clang/Lib/TypeUtils.h rename to tools/cgeist/Lib/TypeUtils.h diff --git a/tools/mlir-clang/Lib/ValueCategory.cc b/tools/cgeist/Lib/ValueCategory.cc similarity index 100% rename from tools/mlir-clang/Lib/ValueCategory.cc rename to tools/cgeist/Lib/ValueCategory.cc diff --git a/tools/mlir-clang/Lib/ValueCategory.h b/tools/cgeist/Lib/ValueCategory.h similarity index 100% rename from tools/mlir-clang/Lib/ValueCategory.h rename to tools/cgeist/Lib/ValueCategory.h diff --git a/tools/mlir-clang/Lib/clang-mlir.cc b/tools/cgeist/Lib/clang-mlir.cc similarity index 100% rename from tools/mlir-clang/Lib/clang-mlir.cc rename to tools/cgeist/Lib/clang-mlir.cc diff --git a/tools/mlir-clang/Lib/clang-mlir.h b/tools/cgeist/Lib/clang-mlir.h similarity index 100% rename from tools/mlir-clang/Lib/clang-mlir.h rename to tools/cgeist/Lib/clang-mlir.h diff --git a/tools/mlir-clang/Lib/pragmaHandler.cc b/tools/cgeist/Lib/pragmaHandler.cc similarity index 100% rename from tools/mlir-clang/Lib/pragmaHandler.cc rename to tools/cgeist/Lib/pragmaHandler.cc diff --git a/tools/mlir-clang/Lib/pragmaHandler.h b/tools/cgeist/Lib/pragmaHandler.h similarity index 100% rename from tools/mlir-clang/Lib/pragmaHandler.h rename to tools/cgeist/Lib/pragmaHandler.h diff --git a/tools/mlir-clang/Lib/utils.cc b/tools/cgeist/Lib/utils.cc similarity index 100% rename from tools/mlir-clang/Lib/utils.cc rename to tools/cgeist/Lib/utils.cc diff --git a/tools/mlir-clang/Lib/utils.h b/tools/cgeist/Lib/utils.h similarity index 100% rename from tools/mlir-clang/Lib/utils.h rename to tools/cgeist/Lib/utils.h diff --git a/tools/mlir-clang/Test/CMakeLists.txt b/tools/cgeist/Test/CMakeLists.txt similarity index 66% rename from tools/mlir-clang/Test/CMakeLists.txt rename to tools/cgeist/Test/CMakeLists.txt index 1a18648abb10..32f4dbb85e9f 100644 --- a/tools/mlir-clang/Test/CMakeLists.txt +++ b/tools/cgeist/Test/CMakeLists.txt @@ -11,20 +11,20 @@ configure_lit_site_cfg( list(APPEND MLIR_CLANG_TEST_DEPS llvm-config FileCheck count not - mlir-clang + cgeist split-file clang ) -add_lit_testsuite(check-mlir-clang "Running the clang-to-mlir regression tests" +add_lit_testsuite(check-cgeist "Running the clang-to-mlir regression tests" ${CMAKE_CURRENT_BINARY_DIR} DEPENDS ${MLIR_CLANG_TEST_DEPS} ) -add_lit_testsuite(check-mlir-clang-single "Running the clang-to-mlir regression tests" +add_lit_testsuite(check-cgeist-single "Running the clang-to-mlir regression tests" ${CMAKE_CURRENT_BINARY_DIR} DEPENDS ${MLIR_CLANG_TEST_DEPS} ARGS -j 1 ) -set_target_properties(check-mlir-clang PROPERTIES FOLDER "clang-to-mlir tests") +set_target_properties(check-cgeist PROPERTIES FOLDER "clang-to-mlir tests") diff --git a/tools/mlir-clang/Test/Verification/Inputs/cuda.h b/tools/cgeist/Test/Verification/Inputs/cuda.h similarity index 100% rename from tools/mlir-clang/Test/Verification/Inputs/cuda.h rename to tools/cgeist/Test/Verification/Inputs/cuda.h diff --git a/tools/mlir-clang/Test/Verification/affun.c b/tools/cgeist/Test/Verification/affun.c similarity index 90% rename from tools/mlir-clang/Test/Verification/affun.c rename to tools/cgeist/Test/Verification/affun.c index 36e474239eb5..e8d2e3850371 100644 --- a/tools/mlir-clang/Test/Verification/affun.c +++ b/tools/cgeist/Test/Verification/affun.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=okernel_2mm -S | FileCheck %s +// RUN: cgeist %s --function=okernel_2mm -S | FileCheck %s void okernel_2mm(unsigned int ni, double *tmp) { diff --git a/tools/mlir-clang/Test/Verification/alignof.cpp b/tools/cgeist/Test/Verification/alignof.cpp similarity index 91% rename from tools/mlir-clang/Test/Verification/alignof.cpp rename to tools/cgeist/Test/Verification/alignof.cpp index 6c5cbdcfce92..3cf4622b832e 100644 --- a/tools/mlir-clang/Test/Verification/alignof.cpp +++ b/tools/cgeist/Test/Verification/alignof.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang -std=c++11 %s --function=* -S | FileCheck %s +// RUN: cgeist -std=c++11 %s --function=* -S | FileCheck %s struct Meta { float* f; diff --git a/tools/mlir-clang/Test/Verification/arrayconsllvm.cpp b/tools/cgeist/Test/Verification/arrayconsllvm.cpp similarity index 96% rename from tools/mlir-clang/Test/Verification/arrayconsllvm.cpp rename to tools/cgeist/Test/Verification/arrayconsllvm.cpp index 447207fbb72b..ef58b99b133d 100644 --- a/tools/mlir-clang/Test/Verification/arrayconsllvm.cpp +++ b/tools/cgeist/Test/Verification/arrayconsllvm.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s struct AIntDivider { AIntDivider() : divisor(3) {} diff --git a/tools/mlir-clang/Test/Verification/arrayconsmemref.cpp b/tools/cgeist/Test/Verification/arrayconsmemref.cpp similarity index 95% rename from tools/mlir-clang/Test/Verification/arrayconsmemref.cpp rename to tools/cgeist/Test/Verification/arrayconsmemref.cpp index 0426646e49ab..9e6556bf23d2 100644 --- a/tools/mlir-clang/Test/Verification/arrayconsmemref.cpp +++ b/tools/cgeist/Test/Verification/arrayconsmemref.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s struct AIntDivider { AIntDivider() : divisor(3) {} diff --git a/tools/mlir-clang/Test/Verification/arrayconsmemrefinner.cpp b/tools/cgeist/Test/Verification/arrayconsmemrefinner.cpp similarity index 97% rename from tools/mlir-clang/Test/Verification/arrayconsmemrefinner.cpp rename to tools/cgeist/Test/Verification/arrayconsmemrefinner.cpp index f9e47c774798..b70d9cdeb446 100644 --- a/tools/mlir-clang/Test/Verification/arrayconsmemrefinner.cpp +++ b/tools/cgeist/Test/Verification/arrayconsmemrefinner.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s struct AIntDivider { AIntDivider() : divisor(3) {} diff --git a/tools/mlir-clang/Test/Verification/base_nostructabi.cpp b/tools/cgeist/Test/Verification/base_nostructabi.cpp similarity index 96% rename from tools/mlir-clang/Test/Verification/base_nostructabi.cpp rename to tools/cgeist/Test/Verification/base_nostructabi.cpp index 0df6dcf50e9d..37872259792b 100644 --- a/tools/mlir-clang/Test/Verification/base_nostructabi.cpp +++ b/tools/cgeist/Test/Verification/base_nostructabi.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* --struct-abi=0 -memref-abi=0 -S | FileCheck %s +// RUN: cgeist %s --function=* --struct-abi=0 -memref-abi=0 -S | FileCheck %s void run0(void*); void run1(void*); diff --git a/tools/mlir-clang/Test/Verification/base_with_virt.cpp b/tools/cgeist/Test/Verification/base_with_virt.cpp similarity index 97% rename from tools/mlir-clang/Test/Verification/base_with_virt.cpp rename to tools/cgeist/Test/Verification/base_with_virt.cpp index d5fbdea32eb0..8189fb438396 100644 --- a/tools/mlir-clang/Test/Verification/base_with_virt.cpp +++ b/tools/cgeist/Test/Verification/base_with_virt.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s class M { }; diff --git a/tools/mlir-clang/Test/Verification/base_with_virt2.cpp b/tools/cgeist/Test/Verification/base_with_virt2.cpp similarity index 95% rename from tools/mlir-clang/Test/Verification/base_with_virt2.cpp rename to tools/cgeist/Test/Verification/base_with_virt2.cpp index 43101c604f27..3b484eb462af 100644 --- a/tools/mlir-clang/Test/Verification/base_with_virt2.cpp +++ b/tools/cgeist/Test/Verification/base_with_virt2.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s class M { }; diff --git a/tools/mlir-clang/Test/Verification/caff.cpp b/tools/cgeist/Test/Verification/caff.cpp similarity index 97% rename from tools/mlir-clang/Test/Verification/caff.cpp rename to tools/cgeist/Test/Verification/caff.cpp index ad47f865d9c6..2e2e1589f47c 100644 --- a/tools/mlir-clang/Test/Verification/caff.cpp +++ b/tools/cgeist/Test/Verification/caff.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s struct AOperandInfo { void* data; diff --git a/tools/mlir-clang/Test/Verification/call.c b/tools/cgeist/Test/Verification/call.c similarity index 82% rename from tools/mlir-clang/Test/Verification/call.c rename to tools/cgeist/Test/Verification/call.c index 6589f568be55..c75d44bfd2c0 100644 --- a/tools/mlir-clang/Test/Verification/call.c +++ b/tools/cgeist/Test/Verification/call.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s -// RUN: mlir-clang %s --function=* -S -memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S -memref-fullrank | FileCheck %s --check-prefix=FULLRANK void sub0(int a[2]); void sub(int a[2]) { a[2]++; } diff --git a/tools/mlir-clang/Test/Verification/calloc.c b/tools/cgeist/Test/Verification/calloc.c similarity index 94% rename from tools/mlir-clang/Test/Verification/calloc.c rename to tools/cgeist/Test/Verification/calloc.c index 252c875caf6e..346ac94ba8d5 100644 --- a/tools/mlir-clang/Test/Verification/calloc.c +++ b/tools/cgeist/Test/Verification/calloc.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s void* calloc(unsigned long a, unsigned long b); diff --git a/tools/mlir-clang/Test/Verification/capture.cpp b/tools/cgeist/Test/Verification/capture.cpp similarity index 97% rename from tools/mlir-clang/Test/Verification/capture.cpp rename to tools/cgeist/Test/Verification/capture.cpp index da8256ac528f..aa3054980d6f 100644 --- a/tools/mlir-clang/Test/Verification/capture.cpp +++ b/tools/cgeist/Test/Verification/capture.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s extern "C" { diff --git a/tools/mlir-clang/Test/Verification/charswitch.cpp b/tools/cgeist/Test/Verification/charswitch.cpp similarity index 95% rename from tools/mlir-clang/Test/Verification/charswitch.cpp rename to tools/cgeist/Test/Verification/charswitch.cpp index 43598a12f5aa..dde1e8f6e191 100644 --- a/tools/mlir-clang/Test/Verification/charswitch.cpp +++ b/tools/cgeist/Test/Verification/charswitch.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=foo -S | FileCheck %s +// RUN: cgeist %s --function=foo -S | FileCheck %s extern "C" { int foo(char t) { diff --git a/tools/mlir-clang/Test/Verification/clangbuiltin.cpp b/tools/cgeist/Test/Verification/clangbuiltin.cpp similarity index 81% rename from tools/mlir-clang/Test/Verification/clangbuiltin.cpp rename to tools/cgeist/Test/Verification/clangbuiltin.cpp index 4e1500f15cde..3d4a8e6e6c19 100644 --- a/tools/mlir-clang/Test/Verification/clangbuiltin.cpp +++ b/tools/cgeist/Test/Verification/clangbuiltin.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s #include diff --git a/tools/mlir-clang/Test/Verification/classrefmem.cpp b/tools/cgeist/Test/Verification/classrefmem.cpp similarity index 96% rename from tools/mlir-clang/Test/Verification/classrefmem.cpp rename to tools/cgeist/Test/Verification/classrefmem.cpp index f1f444720636..996589219cbe 100644 --- a/tools/mlir-clang/Test/Verification/classrefmem.cpp +++ b/tools/cgeist/Test/Verification/classrefmem.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s extern int& moo; void oadd(int& x) { diff --git a/tools/mlir-clang/Test/Verification/combif.c b/tools/cgeist/Test/Verification/combif.c similarity index 97% rename from tools/mlir-clang/Test/Verification/combif.c rename to tools/cgeist/Test/Verification/combif.c index 314d13fdf230..58b36709e533 100644 --- a/tools/mlir-clang/Test/Verification/combif.c +++ b/tools/cgeist/Test/Verification/combif.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s // TODO handle negation on if combine // TODO remove unused cyclic phi diff --git a/tools/mlir-clang/Test/Verification/cond.c b/tools/cgeist/Test/Verification/cond.c similarity index 88% rename from tools/mlir-clang/Test/Verification/cond.c rename to tools/cgeist/Test/Verification/cond.c index 8cad47002fe8..c38f0ad2fcac 100644 --- a/tools/mlir-clang/Test/Verification/cond.c +++ b/tools/cgeist/Test/Verification/cond.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s %stdinclude --function=set -S | FileCheck %s +// RUN: cgeist %s %stdinclude --function=set -S | FileCheck %s #include #include diff --git a/tools/mlir-clang/Test/Verification/cond2.c b/tools/cgeist/Test/Verification/cond2.c similarity index 88% rename from tools/mlir-clang/Test/Verification/cond2.c rename to tools/cgeist/Test/Verification/cond2.c index e64d30b58e5e..b1d2604c07cb 100644 --- a/tools/mlir-clang/Test/Verification/cond2.c +++ b/tools/cgeist/Test/Verification/cond2.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s %stdinclude --function=set -S | FileCheck %s +// RUN: cgeist %s %stdinclude --function=set -S | FileCheck %s #include #include diff --git a/tools/mlir-clang/Test/Verification/consabi.cpp b/tools/cgeist/Test/Verification/consabi.cpp similarity index 98% rename from tools/mlir-clang/Test/Verification/consabi.cpp rename to tools/cgeist/Test/Verification/consabi.cpp index c01745121fd6..ec4d2fe01c8e 100644 --- a/tools/mlir-clang/Test/Verification/consabi.cpp +++ b/tools/cgeist/Test/Verification/consabi.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s class D { double a; diff --git a/tools/mlir-clang/Test/Verification/constexpr.cpp b/tools/cgeist/Test/Verification/constexpr.cpp similarity index 94% rename from tools/mlir-clang/Test/Verification/constexpr.cpp rename to tools/cgeist/Test/Verification/constexpr.cpp index bae3a9176636..07be472df691 100644 --- a/tools/mlir-clang/Test/Verification/constexpr.cpp +++ b/tools/cgeist/Test/Verification/constexpr.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s constexpr int num = 10 + 4; int sum(int*); diff --git a/tools/mlir-clang/Test/Verification/continue.c b/tools/cgeist/Test/Verification/continue.c similarity index 95% rename from tools/mlir-clang/Test/Verification/continue.c rename to tools/cgeist/Test/Verification/continue.c index e9d714ab07ce..94bf01201945 100644 --- a/tools/mlir-clang/Test/Verification/continue.c +++ b/tools/cgeist/Test/Verification/continue.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s int get(); void other(); diff --git a/tools/mlir-clang/Test/Verification/cout.cpp b/tools/cgeist/Test/Verification/cout.cpp similarity index 61% rename from tools/mlir-clang/Test/Verification/cout.cpp rename to tools/cgeist/Test/Verification/cout.cpp index 76e9ba331160..74c3b16ec1c0 100644 --- a/tools/mlir-clang/Test/Verification/cout.cpp +++ b/tools/cgeist/Test/Verification/cout.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s // XFAIL: * #include diff --git a/tools/mlir-clang/Test/Verification/cudaglobalcodegen.cu b/tools/cgeist/Test/Verification/cudaglobalcodegen.cu similarity index 89% rename from tools/mlir-clang/Test/Verification/cudaglobalcodegen.cu rename to tools/cgeist/Test/Verification/cudaglobalcodegen.cu index b5b0f44af656..28108af34fca 100755 --- a/tools/mlir-clang/Test/Verification/cudaglobalcodegen.cu +++ b/tools/cgeist/Test/Verification/cudaglobalcodegen.cu @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --cuda-gpu-arch=sm_60 -nocudalib -nocudainc %resourcedir --function=* -S | FileCheck %s +// RUN: cgeist %s --cuda-gpu-arch=sm_60 -nocudalib -nocudainc %resourcedir --function=* -S | FileCheck %s #include "Inputs/cuda.h" diff --git a/tools/mlir-clang/Test/Verification/der.c b/tools/cgeist/Test/Verification/der.c similarity index 79% rename from tools/mlir-clang/Test/Verification/der.c rename to tools/cgeist/Test/Verification/der.c index f9dc2e1d7a83..5a1800909653 100644 --- a/tools/mlir-clang/Test/Verification/der.c +++ b/tools/cgeist/Test/Verification/der.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=kernel_deriche -S | FileCheck %s +// RUN: cgeist %s --function=kernel_deriche -S | FileCheck %s float kernel_deriche() { float a2, a6; diff --git a/tools/mlir-clang/Test/Verification/deref.c b/tools/cgeist/Test/Verification/deref.c similarity index 80% rename from tools/mlir-clang/Test/Verification/deref.c rename to tools/cgeist/Test/Verification/deref.c index f05a8c809252..eac818b20387 100644 --- a/tools/mlir-clang/Test/Verification/deref.c +++ b/tools/cgeist/Test/Verification/deref.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=kernel_deriche -S | FileCheck %s +// RUN: cgeist %s --function=kernel_deriche -S | FileCheck %s int deref(int a); diff --git a/tools/mlir-clang/Test/Verification/derived.cpp b/tools/cgeist/Test/Verification/derived.cpp similarity index 96% rename from tools/mlir-clang/Test/Verification/derived.cpp rename to tools/cgeist/Test/Verification/derived.cpp index 66a39e05b91e..f9aacfdebb93 100644 --- a/tools/mlir-clang/Test/Verification/derived.cpp +++ b/tools/cgeist/Test/Verification/derived.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s struct A { int x; diff --git a/tools/mlir-clang/Test/Verification/dynalloc.c b/tools/cgeist/Test/Verification/dynalloc.c similarity index 93% rename from tools/mlir-clang/Test/Verification/dynalloc.c rename to tools/cgeist/Test/Verification/dynalloc.c index 2161a0702c34..4c24c538cd5a 100644 --- a/tools/mlir-clang/Test/Verification/dynalloc.c +++ b/tools/cgeist/Test/Verification/dynalloc.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=create_matrix -S | FileCheck %s +// RUN: cgeist %s --function=create_matrix -S | FileCheck %s void create_matrix(float *m, int size) { float coe[2 * size + 1]; diff --git a/tools/mlir-clang/Test/Verification/ext.c b/tools/cgeist/Test/Verification/ext.c similarity index 94% rename from tools/mlir-clang/Test/Verification/ext.c rename to tools/cgeist/Test/Verification/ext.c index 8c913fae6522..79a93e150df3 100644 --- a/tools/mlir-clang/Test/Verification/ext.c +++ b/tools/cgeist/Test/Verification/ext.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s int c2i(char x) { return x; diff --git a/tools/mlir-clang/Test/Verification/ext_vector_type.cpp b/tools/cgeist/Test/Verification/ext_vector_type.cpp similarity index 93% rename from tools/mlir-clang/Test/Verification/ext_vector_type.cpp rename to tools/cgeist/Test/Verification/ext_vector_type.cpp index 7150bba51d9f..d7b8edba706d 100644 --- a/tools/mlir-clang/Test/Verification/ext_vector_type.cpp +++ b/tools/cgeist/Test/Verification/ext_vector_type.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s typedef size_t size_t_vec __attribute__((ext_vector_type(3))); diff --git a/tools/mlir-clang/Test/Verification/free.c b/tools/cgeist/Test/Verification/free.c similarity index 90% rename from tools/mlir-clang/Test/Verification/free.c rename to tools/cgeist/Test/Verification/free.c index 3d735ba27821..2b8885749c65 100644 --- a/tools/mlir-clang/Test/Verification/free.c +++ b/tools/cgeist/Test/Verification/free.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s void free(void*); diff --git a/tools/mlir-clang/Test/Verification/freecst.c b/tools/cgeist/Test/Verification/freecst.c similarity index 91% rename from tools/mlir-clang/Test/Verification/freecst.c rename to tools/cgeist/Test/Verification/freecst.c index aebcc2e3e7b7..ff58adc0b927 100755 --- a/tools/mlir-clang/Test/Verification/freecst.c +++ b/tools/cgeist/Test/Verification/freecst.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s #include struct band { diff --git a/tools/mlir-clang/Test/Verification/fscanf.c b/tools/cgeist/Test/Verification/fscanf.c similarity index 97% rename from tools/mlir-clang/Test/Verification/fscanf.c rename to tools/cgeist/Test/Verification/fscanf.c index e2427eac7921..e2ad6166fd52 100644 --- a/tools/mlir-clang/Test/Verification/fscanf.c +++ b/tools/cgeist/Test/Verification/fscanf.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s %stdinclude --function=alloc -S | FileCheck %s +// RUN: cgeist %s %stdinclude --function=alloc -S | FileCheck %s #include #include diff --git a/tools/mlir-clang/Test/Verification/fw.c b/tools/cgeist/Test/Verification/fw.c similarity index 87% rename from tools/mlir-clang/Test/Verification/fw.c rename to tools/cgeist/Test/Verification/fw.c index 641fc7489143..a3ce1a2eba9f 100644 --- a/tools/mlir-clang/Test/Verification/fw.c +++ b/tools/cgeist/Test/Verification/fw.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s %stdinclude -S | FileCheck %s -// RUN: mlir-clang %s %stdinclude -S -memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s %stdinclude -S | FileCheck %s +// RUN: cgeist %s %stdinclude -S -memref-fullrank | FileCheck %s --check-prefix=FULLRANK #include #include diff --git a/tools/mlir-clang/Test/Verification/fwfree.c b/tools/cgeist/Test/Verification/fwfree.c similarity index 88% rename from tools/mlir-clang/Test/Verification/fwfree.c rename to tools/cgeist/Test/Verification/fwfree.c index ae072fa06983..0332ff120fda 100644 --- a/tools/mlir-clang/Test/Verification/fwfree.c +++ b/tools/cgeist/Test/Verification/fwfree.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s %stdinclude -S | FileCheck %s -// RUN: mlir-clang %s %stdinclude -S -memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s %stdinclude -S | FileCheck %s +// RUN: cgeist %s %stdinclude -S -memref-fullrank | FileCheck %s --check-prefix=FULLRANK #include #include diff --git a/tools/mlir-clang/Test/Verification/gcd.c b/tools/cgeist/Test/Verification/gcd.c similarity index 92% rename from tools/mlir-clang/Test/Verification/gcd.c rename to tools/cgeist/Test/Verification/gcd.c index 53692ed38999..25d7c5127dbe 100644 --- a/tools/mlir-clang/Test/Verification/gcd.c +++ b/tools/cgeist/Test/Verification/gcd.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=gcd -S | FileCheck %s +// RUN: cgeist %s --function=gcd -S | FileCheck %s int gcd(int m, int n) { while (n > 0) { diff --git a/tools/mlir-clang/Test/Verification/gettimeofday.c b/tools/cgeist/Test/Verification/gettimeofday.c similarity index 93% rename from tools/mlir-clang/Test/Verification/gettimeofday.c rename to tools/cgeist/Test/Verification/gettimeofday.c index f1762c75a2ed..4638348256dd 100644 --- a/tools/mlir-clang/Test/Verification/gettimeofday.c +++ b/tools/cgeist/Test/Verification/gettimeofday.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s %stdinclude --function=alloc -S | FileCheck %s +// RUN: cgeist %s %stdinclude --function=alloc -S | FileCheck %s #include #include diff --git a/tools/mlir-clang/Test/Verification/globals.c b/tools/cgeist/Test/Verification/globals.c similarity index 95% rename from tools/mlir-clang/Test/Verification/globals.c rename to tools/cgeist/Test/Verification/globals.c index e7e9318a32d7..6b8fcdb1e1e0 100644 --- a/tools/mlir-clang/Test/Verification/globals.c +++ b/tools/cgeist/Test/Verification/globals.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=kernel_deriche -S | FileCheck %s +// RUN: cgeist %s --function=kernel_deriche -S | FileCheck %s int local; int local_init = 4; diff --git a/tools/mlir-clang/Test/Verification/hist.c b/tools/cgeist/Test/Verification/hist.c similarity index 92% rename from tools/mlir-clang/Test/Verification/hist.c rename to tools/cgeist/Test/Verification/hist.c index b941c56a8b1c..9d6c523168e6 100644 --- a/tools/mlir-clang/Test/Verification/hist.c +++ b/tools/cgeist/Test/Verification/hist.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s void histo_kernel(int i); diff --git a/tools/mlir-clang/Test/Verification/ident.cpp b/tools/cgeist/Test/Verification/ident.cpp similarity index 98% rename from tools/mlir-clang/Test/Verification/ident.cpp rename to tools/cgeist/Test/Verification/ident.cpp index 8cb1d98437e8..4253971f1cc6 100644 --- a/tools/mlir-clang/Test/Verification/ident.cpp +++ b/tools/cgeist/Test/Verification/ident.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s struct MOperandInfo { char device; diff --git a/tools/mlir-clang/Test/Verification/ident2.cpp b/tools/cgeist/Test/Verification/ident2.cpp similarity index 90% rename from tools/mlir-clang/Test/Verification/ident2.cpp rename to tools/cgeist/Test/Verification/ident2.cpp index a0ef444e454a..84201559014b 100644 --- a/tools/mlir-clang/Test/Verification/ident2.cpp +++ b/tools/cgeist/Test/Verification/ident2.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s struct MOperandInfo { char device; diff --git a/tools/mlir-clang/Test/Verification/ker.c b/tools/cgeist/Test/Verification/ker.c similarity index 76% rename from tools/mlir-clang/Test/Verification/ker.c rename to tools/cgeist/Test/Verification/ker.c index 56ffc17cdac3..8291289021cc 100644 --- a/tools/mlir-clang/Test/Verification/ker.c +++ b/tools/cgeist/Test/Verification/ker.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s --function=kernel_deriche -S | FileCheck %s -// RUN: mlir-clang %s --function=kernel_deriche -S -memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s --function=kernel_deriche -S | FileCheck %s +// RUN: cgeist %s --function=kernel_deriche -S -memref-fullrank | FileCheck %s --check-prefix=FULLRANK int kernel_deriche(int a[30][40]) { a[3][5]++; diff --git a/tools/mlir-clang/Test/Verification/label.c b/tools/cgeist/Test/Verification/label.c similarity index 95% rename from tools/mlir-clang/Test/Verification/label.c rename to tools/cgeist/Test/Verification/label.c index fb8301c58f20..b707e756d165 100644 --- a/tools/mlir-clang/Test/Verification/label.c +++ b/tools/cgeist/Test/Verification/label.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s int fir (int d_i[1000], int idx[1000] ) { int i; diff --git a/tools/mlir-clang/Test/Verification/ler.c b/tools/cgeist/Test/Verification/ler.c similarity index 87% rename from tools/mlir-clang/Test/Verification/ler.c rename to tools/cgeist/Test/Verification/ler.c index dd8275fcbd38..9b675e15dcca 100644 --- a/tools/mlir-clang/Test/Verification/ler.c +++ b/tools/cgeist/Test/Verification/ler.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=kernel_deriche -S | FileCheck %s +// RUN: cgeist %s --function=kernel_deriche -S | FileCheck %s int kernel_deriche(int *a) { a[3]++; diff --git a/tools/mlir-clang/Test/Verification/loop.cpp b/tools/cgeist/Test/Verification/loop.cpp similarity index 96% rename from tools/mlir-clang/Test/Verification/loop.cpp rename to tools/cgeist/Test/Verification/loop.cpp index ae8d23985cb0..744c58758763 100644 --- a/tools/mlir-clang/Test/Verification/loop.cpp +++ b/tools/cgeist/Test/Verification/loop.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s int MAX_DIMS; diff --git a/tools/mlir-clang/Test/Verification/loopinc.c b/tools/cgeist/Test/Verification/loopinc.c similarity index 94% rename from tools/mlir-clang/Test/Verification/loopinc.c rename to tools/cgeist/Test/Verification/loopinc.c index 315805d11b48..6426e030fa43 100644 --- a/tools/mlir-clang/Test/Verification/loopinc.c +++ b/tools/cgeist/Test/Verification/loopinc.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=test -S | FileCheck %s +// RUN: cgeist %s --function=test -S | FileCheck %s // TODO // XFAIL: * diff --git a/tools/mlir-clang/Test/Verification/lower-to-linalg-op.c b/tools/cgeist/Test/Verification/lower-to-linalg-op.c similarity index 89% rename from tools/mlir-clang/Test/Verification/lower-to-linalg-op.c rename to tools/cgeist/Test/Verification/lower-to-linalg-op.c index ef0fd86d5223..2da25fa19dbd 100644 --- a/tools/mlir-clang/Test/Verification/lower-to-linalg-op.c +++ b/tools/cgeist/Test/Verification/lower-to-linalg-op.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s -S | FileCheck %s +// RUN: cgeist %s -S | FileCheck %s #pragma lower_to(copy_op, "memref.copy") "input"(a), "output"(b) void copy_op(int b[3][3], int a[3][3]) { diff --git a/tools/mlir-clang/Test/Verification/lower_to.c b/tools/cgeist/Test/Verification/lower_to.c similarity index 83% rename from tools/mlir-clang/Test/Verification/lower_to.c rename to tools/cgeist/Test/Verification/lower_to.c index b9c397f8376e..521cfff47777 100644 --- a/tools/mlir-clang/Test/Verification/lower_to.c +++ b/tools/cgeist/Test/Verification/lower_to.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=foo -S | FileCheck %s +// RUN: cgeist %s --function=foo -S | FileCheck %s #pragma lower_to(bar, "arith.addf") extern float bar(float a, float b); diff --git a/tools/mlir-clang/Test/Verification/lowerrecur.c b/tools/cgeist/Test/Verification/lowerrecur.c similarity index 65% rename from tools/mlir-clang/Test/Verification/lowerrecur.c rename to tools/cgeist/Test/Verification/lowerrecur.c index aef4b81ae62d..3d344ebeba0a 100644 --- a/tools/mlir-clang/Test/Verification/lowerrecur.c +++ b/tools/cgeist/Test/Verification/lowerrecur.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -emit-llvm -S | FileCheck %s +// RUN: cgeist %s --function=* -emit-llvm -S | FileCheck %s struct X{ double* a; diff --git a/tools/mlir-clang/Test/Verification/lum.c b/tools/cgeist/Test/Verification/lum.c similarity index 75% rename from tools/mlir-clang/Test/Verification/lum.c rename to tools/cgeist/Test/Verification/lum.c index 7010dc15d940..b3612d9c6204 100644 --- a/tools/mlir-clang/Test/Verification/lum.c +++ b/tools/cgeist/Test/Verification/lum.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=test -S | FileCheck %s +// RUN: cgeist %s --function=test -S | FileCheck %s int test() { return -3; diff --git a/tools/mlir-clang/Test/Verification/malloc.c b/tools/cgeist/Test/Verification/malloc.c similarity index 91% rename from tools/mlir-clang/Test/Verification/malloc.c rename to tools/cgeist/Test/Verification/malloc.c index 20c8a578d5f4..c336cceff183 100644 --- a/tools/mlir-clang/Test/Verification/malloc.c +++ b/tools/cgeist/Test/Verification/malloc.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=caller %stdinclude -S | FileCheck %s +// RUN: cgeist %s --function=caller %stdinclude -S | FileCheck %s #include diff --git a/tools/mlir-clang/Test/Verification/memcpystruct.c b/tools/cgeist/Test/Verification/memcpystruct.c similarity index 91% rename from tools/mlir-clang/Test/Verification/memcpystruct.c rename to tools/cgeist/Test/Verification/memcpystruct.c index a33b30b9e3b0..671c41eb2283 100644 --- a/tools/mlir-clang/Test/Verification/memcpystruct.c +++ b/tools/cgeist/Test/Verification/memcpystruct.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s struct N { int a; diff --git a/tools/mlir-clang/Test/Verification/memref-fullrank.c b/tools/cgeist/Test/Verification/memref-fullrank.c similarity index 90% rename from tools/mlir-clang/Test/Verification/memref-fullrank.c rename to tools/cgeist/Test/Verification/memref-fullrank.c index 7bcb9456ad3f..8e48874bf26e 100644 --- a/tools/mlir-clang/Test/Verification/memref-fullrank.c +++ b/tools/cgeist/Test/Verification/memref-fullrank.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s -S -memref-fullrank -O0 | FileCheck %s +// RUN: cgeist %s -S -memref-fullrank -O0 | FileCheck %s #include diff --git a/tools/mlir-clang/Test/Verification/memrefaddassign.cpp b/tools/cgeist/Test/Verification/memrefaddassign.cpp similarity index 84% rename from tools/mlir-clang/Test/Verification/memrefaddassign.cpp rename to tools/cgeist/Test/Verification/memrefaddassign.cpp index 18b091e42396..9c024c6c2d7a 100644 --- a/tools/mlir-clang/Test/Verification/memrefaddassign.cpp +++ b/tools/cgeist/Test/Verification/memrefaddassign.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -c -S | FileCheck %s +// RUN: cgeist %s --function=* -c -S | FileCheck %s float *foo(float *a) { a += 32; diff --git a/tools/mlir-clang/Test/Verification/mer.c b/tools/cgeist/Test/Verification/mer.c similarity index 75% rename from tools/mlir-clang/Test/Verification/mer.c rename to tools/cgeist/Test/Verification/mer.c index 06fbdb8175b7..1742b228dbe2 100644 --- a/tools/mlir-clang/Test/Verification/mer.c +++ b/tools/cgeist/Test/Verification/mer.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s --function=kernel_deriche -S | FileCheck %s -// RUN: mlir-clang %s --function=kernel_deriche -S -memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s --function=kernel_deriche -S | FileCheck %s +// RUN: cgeist %s --function=kernel_deriche -S -memref-fullrank | FileCheck %s --check-prefix=FULLRANK int kernel_deriche(int a[30]) { a[0]++; diff --git a/tools/mlir-clang/Test/Verification/min.c b/tools/cgeist/Test/Verification/min.c similarity index 90% rename from tools/mlir-clang/Test/Verification/min.c rename to tools/cgeist/Test/Verification/min.c index 662d97f2080f..36b906dd3fbe 100644 --- a/tools/mlir-clang/Test/Verification/min.c +++ b/tools/cgeist/Test/Verification/min.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=min -S | FileCheck %s +// RUN: cgeist %s --function=min -S | FileCheck %s // TODO combine selects diff --git a/tools/mlir-clang/Test/Verification/multidim_init.c b/tools/cgeist/Test/Verification/multidim_init.c similarity index 97% rename from tools/mlir-clang/Test/Verification/multidim_init.c rename to tools/cgeist/Test/Verification/multidim_init.c index 98cd4c60764a..5337106744af 100644 --- a/tools/mlir-clang/Test/Verification/multidim_init.c +++ b/tools/cgeist/Test/Verification/multidim_init.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s -S --function=* | FileCheck %s +// RUN: cgeist %s -S --function=* | FileCheck %s float glob_A[][4] = { {1.0f, 2.0, 3.0, 4.0}, diff --git a/tools/mlir-clang/Test/Verification/nestloop.c b/tools/cgeist/Test/Verification/nestloop.c similarity index 92% rename from tools/mlir-clang/Test/Verification/nestloop.c rename to tools/cgeist/Test/Verification/nestloop.c index deb7e4cfd2f8..f047e1b0c346 100644 --- a/tools/mlir-clang/Test/Verification/nestloop.c +++ b/tools/cgeist/Test/Verification/nestloop.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s %stdinclude --function=init_array -S | FileCheck %s -// RUN: mlir-clang %s %stdinclude --function=init_array -S -memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s %stdinclude --function=init_array -S | FileCheck %s +// RUN: cgeist %s %stdinclude --function=init_array -S -memref-fullrank | FileCheck %s --check-prefix=FULLRANK #include #include diff --git a/tools/mlir-clang/Test/Verification/no_inline.c b/tools/cgeist/Test/Verification/no_inline.c similarity index 70% rename from tools/mlir-clang/Test/Verification/no_inline.c rename to tools/cgeist/Test/Verification/no_inline.c index 3276888ee210..61e33fc405fb 100644 --- a/tools/mlir-clang/Test/Verification/no_inline.c +++ b/tools/cgeist/Test/Verification/no_inline.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang -S -O0 %s | FileCheck %s -// RUN: mlir-clang -S -O1 %s | FileCheck %s --check-prefix=OPT1 +// RUN: cgeist -S -O0 %s | FileCheck %s +// RUN: cgeist -S -O1 %s | FileCheck %s --check-prefix=OPT1 void foo(int A[10]) { #pragma scop diff --git a/tools/mlir-clang/Test/Verification/nocond.c b/tools/cgeist/Test/Verification/nocond.c similarity index 91% rename from tools/mlir-clang/Test/Verification/nocond.c rename to tools/cgeist/Test/Verification/nocond.c index af46b2751152..f122ee7d30a3 100644 --- a/tools/mlir-clang/Test/Verification/nocond.c +++ b/tools/cgeist/Test/Verification/nocond.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s int run(); diff --git a/tools/mlir-clang/Test/Verification/nulretstruct.c b/tools/cgeist/Test/Verification/nulretstruct.c similarity index 93% rename from tools/mlir-clang/Test/Verification/nulretstruct.c rename to tools/cgeist/Test/Verification/nulretstruct.c index 2fccd7486031..f23401bf6bc2 100644 --- a/tools/mlir-clang/Test/Verification/nulretstruct.c +++ b/tools/cgeist/Test/Verification/nulretstruct.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang -S --function=* %s | FileCheck %s +// RUN: cgeist -S --function=* %s | FileCheck %s struct C { int a; diff --git a/tools/mlir-clang/Test/Verification/nus.c b/tools/cgeist/Test/Verification/nus.c similarity index 83% rename from tools/mlir-clang/Test/Verification/nus.c rename to tools/cgeist/Test/Verification/nus.c index 9e3888b77ab6..98e0ee850e71 100644 --- a/tools/mlir-clang/Test/Verification/nus.c +++ b/tools/cgeist/Test/Verification/nus.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s --function=kernel_nussinov -S | FileCheck %s -// RUN: mlir-clang %s --function=kernel_nussinov -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s --function=kernel_nussinov -S | FileCheck %s +// RUN: cgeist %s --function=kernel_nussinov -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK #define N 5500 #define max_score(s1, s2) ((s1 >= s2) ? s1 : s2) diff --git a/tools/mlir-clang/Test/Verification/omp.c b/tools/cgeist/Test/Verification/omp.c similarity index 95% rename from tools/mlir-clang/Test/Verification/omp.c rename to tools/cgeist/Test/Verification/omp.c index 32b2b66be06c..6f987535361b 100644 --- a/tools/mlir-clang/Test/Verification/omp.c +++ b/tools/cgeist/Test/Verification/omp.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -fopenmp -S | FileCheck %s +// RUN: cgeist %s --function=* -fopenmp -S | FileCheck %s void square(double* x, int sstart, int send, int sinc) { #pragma omp parallel for diff --git a/tools/mlir-clang/Test/Verification/omp2.c b/tools/cgeist/Test/Verification/omp2.c similarity index 97% rename from tools/mlir-clang/Test/Verification/omp2.c rename to tools/cgeist/Test/Verification/omp2.c index 20d70c9a20a0..026182cc9aa7 100644 --- a/tools/mlir-clang/Test/Verification/omp2.c +++ b/tools/cgeist/Test/Verification/omp2.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -fopenmp -S | FileCheck %s +// RUN: cgeist %s --function=* -fopenmp -S | FileCheck %s void square2(double** x, int sstart, int send, int sinc, int tstart, int tend, int tinc) { #pragma omp parallel for collapse(2) diff --git a/tools/mlir-clang/Test/Verification/omp3.c b/tools/cgeist/Test/Verification/omp3.c similarity index 94% rename from tools/mlir-clang/Test/Verification/omp3.c rename to tools/cgeist/Test/Verification/omp3.c index b83adab25509..7ec10b21a266 100644 --- a/tools/mlir-clang/Test/Verification/omp3.c +++ b/tools/cgeist/Test/Verification/omp3.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -fopenmp -S | FileCheck %s +// RUN: cgeist %s --function=* -fopenmp -S | FileCheck %s void square(double* x) { int i; diff --git a/tools/mlir-clang/Test/Verification/omp4.c b/tools/cgeist/Test/Verification/omp4.c similarity index 96% rename from tools/mlir-clang/Test/Verification/omp4.c rename to tools/cgeist/Test/Verification/omp4.c index 4b13e804796e..f8e1637f8761 100644 --- a/tools/mlir-clang/Test/Verification/omp4.c +++ b/tools/cgeist/Test/Verification/omp4.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -fopenmp -S | FileCheck %s +// RUN: cgeist %s --function=* -fopenmp -S | FileCheck %s int get(int); void square(double* x, int ss) { diff --git a/tools/mlir-clang/Test/Verification/omp5.c b/tools/cgeist/Test/Verification/omp5.c similarity index 93% rename from tools/mlir-clang/Test/Verification/omp5.c rename to tools/cgeist/Test/Verification/omp5.c index 03ee3030a8c8..ca214f06038f 100644 --- a/tools/mlir-clang/Test/Verification/omp5.c +++ b/tools/cgeist/Test/Verification/omp5.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -fopenmp -S | FileCheck %s +// RUN: cgeist %s --function=* -fopenmp -S | FileCheck %s void square(double* x, int sstart, int send, int sinc) { #pragma omp parallel for diff --git a/tools/mlir-clang/Test/Verification/packedstruct.c b/tools/cgeist/Test/Verification/packedstruct.c similarity index 95% rename from tools/mlir-clang/Test/Verification/packedstruct.c rename to tools/cgeist/Test/Verification/packedstruct.c index 2f6e4b4d11be..a50e3d13ccf7 100644 --- a/tools/mlir-clang/Test/Verification/packedstruct.c +++ b/tools/cgeist/Test/Verification/packedstruct.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s struct meta { long long a; diff --git a/tools/mlir-clang/Test/Verification/pair.c b/tools/cgeist/Test/Verification/pair.c similarity index 96% rename from tools/mlir-clang/Test/Verification/pair.c rename to tools/cgeist/Test/Verification/pair.c index facfcdf9da32..89da61858ef4 100644 --- a/tools/mlir-clang/Test/Verification/pair.c +++ b/tools/cgeist/Test/Verification/pair.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s typedef struct { int a, b; diff --git a/tools/mlir-clang/Test/Verification/pairinit.c b/tools/cgeist/Test/Verification/pairinit.c similarity index 89% rename from tools/mlir-clang/Test/Verification/pairinit.c rename to tools/cgeist/Test/Verification/pairinit.c index 7f4ee7624371..27fe05ab5a7a 100644 --- a/tools/mlir-clang/Test/Verification/pairinit.c +++ b/tools/cgeist/Test/Verification/pairinit.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=func -S | FileCheck %s +// RUN: cgeist %s --function=func -S | FileCheck %s struct pair { int x, y; diff --git a/tools/mlir-clang/Test/Verification/pairptr.c b/tools/cgeist/Test/Verification/pairptr.c similarity index 96% rename from tools/mlir-clang/Test/Verification/pairptr.c rename to tools/cgeist/Test/Verification/pairptr.c index 1e65a930b5ac..5ffb29721f3b 100644 --- a/tools/mlir-clang/Test/Verification/pairptr.c +++ b/tools/cgeist/Test/Verification/pairptr.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s typedef struct { int a, b; diff --git a/tools/mlir-clang/Test/Verification/palloc.c b/tools/cgeist/Test/Verification/palloc.c similarity index 81% rename from tools/mlir-clang/Test/Verification/palloc.c rename to tools/cgeist/Test/Verification/palloc.c index 6b454f18a764..7fe1eda3ff04 100644 --- a/tools/mlir-clang/Test/Verification/palloc.c +++ b/tools/cgeist/Test/Verification/palloc.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s %stdinclude --function=init_array -S | FileCheck %s -// RUN: mlir-clang %s %stdinclude --function=init_array -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s %stdinclude --function=init_array -S | FileCheck %s +// RUN: cgeist %s %stdinclude --function=init_array -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK #include #include diff --git a/tools/mlir-clang/Test/Verification/ptraddsub.c b/tools/cgeist/Test/Verification/ptraddsub.c similarity index 96% rename from tools/mlir-clang/Test/Verification/ptraddsub.c rename to tools/cgeist/Test/Verification/ptraddsub.c index 646867f38df8..ebff5b7bb531 100644 --- a/tools/mlir-clang/Test/Verification/ptraddsub.c +++ b/tools/cgeist/Test/Verification/ptraddsub.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s int sub() { int data[10]; diff --git a/tools/mlir-clang/Test/Verification/raiseToAffine.c b/tools/cgeist/Test/Verification/raiseToAffine.c similarity index 87% rename from tools/mlir-clang/Test/Verification/raiseToAffine.c rename to tools/cgeist/Test/Verification/raiseToAffine.c index 1eab09e7f9ab..be866a6c167a 100644 --- a/tools/mlir-clang/Test/Verification/raiseToAffine.c +++ b/tools/cgeist/Test/Verification/raiseToAffine.c @@ -1,7 +1,7 @@ // RUN: split-file %s %t -// RUN: mlir-clang %t/matmul_signed_cmp.c --function=matmul --raise-scf-to-affine -S | FileCheck %s -check-prefix=GEMMSIGNED -// RUN: mlir-clang %t/matmul_unsigned_cmp.c --function=matmul_unsigned_cmp --raise-scf-to-affine -S | FileCheck %s -check-prefix=GEMMUNSIGNED +// RUN: cgeist %t/matmul_signed_cmp.c --function=matmul --raise-scf-to-affine -S | FileCheck %s -check-prefix=GEMMSIGNED +// RUN: cgeist %t/matmul_unsigned_cmp.c --function=matmul_unsigned_cmp --raise-scf-to-affine -S | FileCheck %s -check-prefix=GEMMUNSIGNED //--- matmul_signed_cmp.c #define N 200 diff --git a/tools/mlir-clang/Test/Verification/raiseToAffineUnsignedCmp.c b/tools/cgeist/Test/Verification/raiseToAffineUnsignedCmp.c similarity index 91% rename from tools/mlir-clang/Test/Verification/raiseToAffineUnsignedCmp.c rename to tools/cgeist/Test/Verification/raiseToAffineUnsignedCmp.c index e654a222ac54..643d8f3dec74 100644 --- a/tools/mlir-clang/Test/Verification/raiseToAffineUnsignedCmp.c +++ b/tools/cgeist/Test/Verification/raiseToAffineUnsignedCmp.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=matmul --raise-scf-to-affine -S | FileCheck %s +// RUN: cgeist %s --function=matmul --raise-scf-to-affine -S | FileCheck %s void matmul(float A[100][200], float B[200][300], float C[100][300]) { int i, j, k; diff --git a/tools/mlir-clang/Test/Verification/recurstruct.c b/tools/cgeist/Test/Verification/recurstruct.c similarity index 97% rename from tools/mlir-clang/Test/Verification/recurstruct.c rename to tools/cgeist/Test/Verification/recurstruct.c index 6c6a995f080a..6fe2c3414274 100644 --- a/tools/mlir-clang/Test/Verification/recurstruct.c +++ b/tools/cgeist/Test/Verification/recurstruct.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=sum -S | FileCheck %s +// RUN: cgeist %s --function=sum -S | FileCheck %s struct Node { struct Node* next; diff --git a/tools/mlir-clang/Test/Verification/red.mlir b/tools/cgeist/Test/Verification/red.mlir similarity index 100% rename from tools/mlir-clang/Test/Verification/red.mlir rename to tools/cgeist/Test/Verification/red.mlir diff --git a/tools/mlir-clang/Test/Verification/redstore.c b/tools/cgeist/Test/Verification/redstore.c similarity index 94% rename from tools/mlir-clang/Test/Verification/redstore.c rename to tools/cgeist/Test/Verification/redstore.c index 66005674165a..303063ff00b0 100644 --- a/tools/mlir-clang/Test/Verification/redstore.c +++ b/tools/cgeist/Test/Verification/redstore.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* --detect-reduction -S | FileCheck %s +// RUN: cgeist %s --function=* --detect-reduction -S | FileCheck %s extern int print(double); diff --git a/tools/mlir-clang/Test/Verification/redstore2.c b/tools/cgeist/Test/Verification/redstore2.c similarity index 92% rename from tools/mlir-clang/Test/Verification/redstore2.c rename to tools/cgeist/Test/Verification/redstore2.c index 8b73ab00dd8a..edecd52d52f6 100644 --- a/tools/mlir-clang/Test/Verification/redstore2.c +++ b/tools/cgeist/Test/Verification/redstore2.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* --detect-reduction -S | FileCheck %s +// RUN: cgeist %s --function=* --detect-reduction -S | FileCheck %s void sum(double *result, double* array) { result[0] = 0; diff --git a/tools/mlir-clang/Test/Verification/reduction.c b/tools/cgeist/Test/Verification/reduction.c similarity index 78% rename from tools/mlir-clang/Test/Verification/reduction.c rename to tools/cgeist/Test/Verification/reduction.c index e563dabd67a2..3381eef1bbf4 100644 --- a/tools/mlir-clang/Test/Verification/reduction.c +++ b/tools/cgeist/Test/Verification/reduction.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=reduction_gemm | FileCheck %s +// RUN: cgeist %s --function=reduction_gemm | FileCheck %s // XFAIL: * void reduction_gemm() { int i, j, k; @@ -14,7 +14,7 @@ void reduction_gemm() { #pragma endscop } -// RUN: mlir-clang %s --function=reduction_bicg | FileCheck %s +// RUN: cgeist %s --function=reduction_bicg | FileCheck %s // XFAIL: * void reduction_bicg() { int i, j; @@ -33,7 +33,7 @@ void reduction_bicg() { #pragma endscop } -// RUN: mlir-clang %s --function=reduction_sum | FileCheck %s +// RUN: cgeist %s --function=reduction_sum | FileCheck %s // XFAIL: * void reduction_sum() { int sum = 0; diff --git a/tools/mlir-clang/Test/Verification/ref.cpp b/tools/cgeist/Test/Verification/ref.cpp similarity index 94% rename from tools/mlir-clang/Test/Verification/ref.cpp rename to tools/cgeist/Test/Verification/ref.cpp index 212598c61e03..b91353e25969 100644 --- a/tools/mlir-clang/Test/Verification/ref.cpp +++ b/tools/cgeist/Test/Verification/ref.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s extern "C" { diff --git a/tools/mlir-clang/Test/Verification/refpair.cpp b/tools/cgeist/Test/Verification/refpair.cpp similarity index 94% rename from tools/mlir-clang/Test/Verification/refpair.cpp rename to tools/cgeist/Test/Verification/refpair.cpp index 44a9e1e4550d..e077834aa984 100644 --- a/tools/mlir-clang/Test/Verification/refpair.cpp +++ b/tools/cgeist/Test/Verification/refpair.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s extern "C" { diff --git a/tools/mlir-clang/Test/Verification/refptrabi.cpp b/tools/cgeist/Test/Verification/refptrabi.cpp similarity index 93% rename from tools/mlir-clang/Test/Verification/refptrabi.cpp rename to tools/cgeist/Test/Verification/refptrabi.cpp index f47a98c4b102..fe2d594f9bde 100644 --- a/tools/mlir-clang/Test/Verification/refptrabi.cpp +++ b/tools/cgeist/Test/Verification/refptrabi.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=ll -S | FileCheck %s +// RUN: cgeist %s --function=ll -S | FileCheck %s struct alignas(2) Half { unsigned short x; diff --git a/tools/mlir-clang/Test/Verification/reverseRaise.c b/tools/cgeist/Test/Verification/reverseRaise.c similarity index 91% rename from tools/mlir-clang/Test/Verification/reverseRaise.c rename to tools/cgeist/Test/Verification/reverseRaise.c index 59ecf4894c12..819b2c1eac00 100644 --- a/tools/mlir-clang/Test/Verification/reverseRaise.c +++ b/tools/cgeist/Test/Verification/reverseRaise.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=kernel_correlation --raise-scf-to-affine -S | FileCheck %s +// RUN: cgeist %s --function=kernel_correlation --raise-scf-to-affine -S | FileCheck %s #define DATA_TYPE double diff --git a/tools/mlir-clang/Test/Verification/scor.c b/tools/cgeist/Test/Verification/scor.c similarity index 87% rename from tools/mlir-clang/Test/Verification/scor.c rename to tools/cgeist/Test/Verification/scor.c index b8ab1c8a825d..56802dfd00f1 100644 --- a/tools/mlir-clang/Test/Verification/scor.c +++ b/tools/cgeist/Test/Verification/scor.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s --function=kernel_correlation -S | FileCheck %s -// RUN: mlir-clang %s --function=kernel_correlation -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s --function=kernel_correlation -S | FileCheck %s +// RUN: cgeist %s --function=kernel_correlation -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK #define DATA_TYPE double diff --git a/tools/mlir-clang/Test/Verification/scor2.c b/tools/cgeist/Test/Verification/scor2.c similarity index 77% rename from tools/mlir-clang/Test/Verification/scor2.c rename to tools/cgeist/Test/Verification/scor2.c index c86d781d68e9..04417a5f27dc 100644 --- a/tools/mlir-clang/Test/Verification/scor2.c +++ b/tools/cgeist/Test/Verification/scor2.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s --function=kernel_correlation --raise-scf-to-affine -S | FileCheck %s -// RUN: mlir-clang %s --function=kernel_correlation --raise-scf-to-affine -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s --function=kernel_correlation --raise-scf-to-affine -S | FileCheck %s +// RUN: cgeist %s --function=kernel_correlation --raise-scf-to-affine -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK #define DATA_TYPE double diff --git a/tools/mlir-clang/Test/Verification/scor3.c b/tools/cgeist/Test/Verification/scor3.c similarity index 80% rename from tools/mlir-clang/Test/Verification/scor3.c rename to tools/cgeist/Test/Verification/scor3.c index 1896cefee9bd..71f61a5f542a 100644 --- a/tools/mlir-clang/Test/Verification/scor3.c +++ b/tools/cgeist/Test/Verification/scor3.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s --function=kernel_correlation --raise-scf-to-affine -S | FileCheck %s -// RUN: mlir-clang %s --function=kernel_correlation --raise-scf-to-affine -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s --function=kernel_correlation --raise-scf-to-affine -S | FileCheck %s +// RUN: cgeist %s --function=kernel_correlation --raise-scf-to-affine -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK #define DATA_TYPE double diff --git a/tools/mlir-clang/Test/Verification/scor4.c b/tools/cgeist/Test/Verification/scor4.c similarity index 80% rename from tools/mlir-clang/Test/Verification/scor4.c rename to tools/cgeist/Test/Verification/scor4.c index 18c7e4ffcee6..36457a18daa0 100644 --- a/tools/mlir-clang/Test/Verification/scor4.c +++ b/tools/cgeist/Test/Verification/scor4.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s --function=kernel_correlation --raise-scf-to-affine -S | FileCheck %s -// RUN: mlir-clang %s --function=kernel_correlation --raise-scf-to-affine -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s --function=kernel_correlation --raise-scf-to-affine -S | FileCheck %s +// RUN: cgeist %s --function=kernel_correlation --raise-scf-to-affine -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK #define DATA_TYPE double diff --git a/tools/mlir-clang/Test/Verification/sec.c b/tools/cgeist/Test/Verification/sec.c similarity index 95% rename from tools/mlir-clang/Test/Verification/sec.c rename to tools/cgeist/Test/Verification/sec.c index ba9037fd8d96..21b613b134ab 100644 --- a/tools/mlir-clang/Test/Verification/sec.c +++ b/tools/cgeist/Test/Verification/sec.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s int compute_tran_temp(int total_iterations, int num_iterations) { diff --git a/tools/mlir-clang/Test/Verification/setter.c b/tools/cgeist/Test/Verification/setter.c similarity index 92% rename from tools/mlir-clang/Test/Verification/setter.c rename to tools/cgeist/Test/Verification/setter.c index af430f32aba0..678e6496b644 100644 --- a/tools/mlir-clang/Test/Verification/setter.c +++ b/tools/cgeist/Test/Verification/setter.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s void sub0(int *a); void sub(int *a) { diff --git a/tools/mlir-clang/Test/Verification/sgesv.c b/tools/cgeist/Test/Verification/sgesv.c similarity index 92% rename from tools/mlir-clang/Test/Verification/sgesv.c rename to tools/cgeist/Test/Verification/sgesv.c index ea94201a7017..41328a5e5961 100644 --- a/tools/mlir-clang/Test/Verification/sgesv.c +++ b/tools/cgeist/Test/Verification/sgesv.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s --function=kernel_correlation --raise-scf-to-affine -S | FileCheck %s -// RUN: mlir-clang %s --function=kernel_correlation --raise-scf-to-affine -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s --function=kernel_correlation --raise-scf-to-affine -S | FileCheck %s +// RUN: cgeist %s --function=kernel_correlation --raise-scf-to-affine -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK #define DATA_TYPE double diff --git a/tools/mlir-clang/Test/Verification/signcmp.c b/tools/cgeist/Test/Verification/signcmp.c similarity index 92% rename from tools/mlir-clang/Test/Verification/signcmp.c rename to tools/cgeist/Test/Verification/signcmp.c index ee5b72d292fe..56228728e1a5 100644 --- a/tools/mlir-clang/Test/Verification/signcmp.c +++ b/tools/cgeist/Test/Verification/signcmp.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s void run(); unsigned int cmp(int a, int b) { diff --git a/tools/mlir-clang/Test/Verification/size.c b/tools/cgeist/Test/Verification/size.c similarity index 86% rename from tools/mlir-clang/Test/Verification/size.c rename to tools/cgeist/Test/Verification/size.c index 759b1ea13990..a01fcc89f61c 100644 --- a/tools/mlir-clang/Test/Verification/size.c +++ b/tools/cgeist/Test/Verification/size.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s struct X { int a; diff --git a/tools/mlir-clang/Test/Verification/sizeof.c b/tools/cgeist/Test/Verification/sizeof.c similarity index 93% rename from tools/mlir-clang/Test/Verification/sizeof.c rename to tools/cgeist/Test/Verification/sizeof.c index facddad208e2..31b6cf210b19 100644 --- a/tools/mlir-clang/Test/Verification/sizeof.c +++ b/tools/cgeist/Test/Verification/sizeof.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s void* malloc(unsigned long); diff --git a/tools/mlir-clang/Test/Verification/snus.c b/tools/cgeist/Test/Verification/snus.c similarity index 86% rename from tools/mlir-clang/Test/Verification/snus.c rename to tools/cgeist/Test/Verification/snus.c index c60bb1330e21..8be214db1447 100644 --- a/tools/mlir-clang/Test/Verification/snus.c +++ b/tools/cgeist/Test/Verification/snus.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s -detect-reduction --function=kernel_nussinov -S | FileCheck %s -// RUN: mlir-clang %s -detect-reduction --function=kernel_nussinov -S -memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s -detect-reduction --function=kernel_nussinov -S | FileCheck %s +// RUN: cgeist %s -detect-reduction --function=kernel_nussinov -S -memref-fullrank | FileCheck %s --check-prefix=FULLRANK #define max_score(s1, s2) ((s1 >= s2) ? s1 : s2) diff --git a/tools/mlir-clang/Test/Verification/static.c b/tools/cgeist/Test/Verification/static.c similarity index 88% rename from tools/mlir-clang/Test/Verification/static.c rename to tools/cgeist/Test/Verification/static.c index ad543f6568ce..81dd1075e162 100644 --- a/tools/mlir-clang/Test/Verification/static.c +++ b/tools/cgeist/Test/Verification/static.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=foo -S | FileCheck %s +// RUN: cgeist %s --function=foo -S | FileCheck %s #define N 8 int foo() { diff --git a/tools/mlir-clang/Test/Verification/staticint.c b/tools/cgeist/Test/Verification/staticint.c similarity index 95% rename from tools/mlir-clang/Test/Verification/staticint.c rename to tools/cgeist/Test/Verification/staticint.c index e90ccdb94294..90b87b2d857f 100644 --- a/tools/mlir-clang/Test/Verification/staticint.c +++ b/tools/cgeist/Test/Verification/staticint.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s int adder(int x) { static int cur = 0; diff --git a/tools/mlir-clang/Test/Verification/str.c b/tools/cgeist/Test/Verification/str.c similarity index 94% rename from tools/mlir-clang/Test/Verification/str.c rename to tools/cgeist/Test/Verification/str.c index deb781c1aff2..d9d8ffb617aa 100644 --- a/tools/mlir-clang/Test/Verification/str.c +++ b/tools/cgeist/Test/Verification/str.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=meta -S | FileCheck %s +// RUN: cgeist %s --function=meta -S | FileCheck %s int foo(const char*); diff --git a/tools/mlir-clang/Test/Verification/stream.cu b/tools/cgeist/Test/Verification/stream.cu similarity index 91% rename from tools/mlir-clang/Test/Verification/stream.cu rename to tools/cgeist/Test/Verification/stream.cu index 67e628e4cc15..1eb8f170eda2 100644 --- a/tools/mlir-clang/Test/Verification/stream.cu +++ b/tools/cgeist/Test/Verification/stream.cu @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --cuda-gpu-arch=sm_60 -nocudalib -nocudainc %resourcedir --function=* -S | FileCheck %s +// RUN: cgeist %s --cuda-gpu-arch=sm_60 -nocudalib -nocudainc %resourcedir --function=* -S | FileCheck %s #include "Inputs/cuda.h" diff --git a/tools/mlir-clang/Test/Verification/struct.cpp b/tools/cgeist/Test/Verification/struct.cpp similarity index 91% rename from tools/mlir-clang/Test/Verification/struct.cpp rename to tools/cgeist/Test/Verification/struct.cpp index 7505447dfb30..c34ed8cc8d30 100644 --- a/tools/mlir-clang/Test/Verification/struct.cpp +++ b/tools/cgeist/Test/Verification/struct.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s %stdinclude --function=func -S | FileCheck %s +// RUN: cgeist %s %stdinclude --function=func -S | FileCheck %s float hload(const void* data); diff --git a/tools/mlir-clang/Test/Verification/switcherr.c b/tools/cgeist/Test/Verification/switcherr.c similarity index 95% rename from tools/mlir-clang/Test/Verification/switcherr.c rename to tools/cgeist/Test/Verification/switcherr.c index f8c1181d49d7..130329918412 100644 --- a/tools/mlir-clang/Test/Verification/switcherr.c +++ b/tools/cgeist/Test/Verification/switcherr.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=foo -S | FileCheck %s +// RUN: cgeist %s --function=foo -S | FileCheck %s int foo(int t) { int n = 10; diff --git a/tools/mlir-clang/Test/Verification/switchnone.c b/tools/cgeist/Test/Verification/switchnone.c similarity index 78% rename from tools/mlir-clang/Test/Verification/switchnone.c rename to tools/cgeist/Test/Verification/switchnone.c index bd6a3a45ad97..6f7486bf1ee7 100644 --- a/tools/mlir-clang/Test/Verification/switchnone.c +++ b/tools/cgeist/Test/Verification/switchnone.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=foo -S | FileCheck %s +// RUN: cgeist %s --function=foo -S | FileCheck %s int foo(int t) { switch (t) { diff --git a/tools/mlir-clang/Test/Verification/templatemember.cpp b/tools/cgeist/Test/Verification/templatemember.cpp similarity index 88% rename from tools/mlir-clang/Test/Verification/templatemember.cpp rename to tools/cgeist/Test/Verification/templatemember.cpp index a252cc083335..1a0f70d4e48d 100644 --- a/tools/mlir-clang/Test/Verification/templatemember.cpp +++ b/tools/cgeist/Test/Verification/templatemember.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s class House; diff --git a/tools/mlir-clang/Test/Verification/threeInt.c b/tools/cgeist/Test/Verification/threeInt.c similarity index 80% rename from tools/mlir-clang/Test/Verification/threeInt.c rename to tools/cgeist/Test/Verification/threeInt.c index dbecd812a340..c4d3ca1d6898 100644 --- a/tools/mlir-clang/Test/Verification/threeInt.c +++ b/tools/cgeist/Test/Verification/threeInt.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=struct_pass_all_same -S | FileCheck %s +// RUN: cgeist %s --function=struct_pass_all_same -S | FileCheck %s typedef struct { int a, b, c; diff --git a/tools/mlir-clang/Test/Verification/tobits.c b/tools/cgeist/Test/Verification/tobits.c similarity index 92% rename from tools/mlir-clang/Test/Verification/tobits.c rename to tools/cgeist/Test/Verification/tobits.c index eec1242f455f..7ed977602aff 100644 --- a/tools/mlir-clang/Test/Verification/tobits.c +++ b/tools/cgeist/Test/Verification/tobits.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=fp32_from_bits -S | FileCheck %s +// RUN: cgeist %s --function=fp32_from_bits -S | FileCheck %s #include float fp32_from_bits(uint32_t w) { diff --git a/tools/cgeist/Test/Verification/triple.cu b/tools/cgeist/Test/Verification/triple.cu new file mode 100644 index 000000000000..adc857c59e70 --- /dev/null +++ b/tools/cgeist/Test/Verification/triple.cu @@ -0,0 +1,7 @@ +// RUN: cgeist --target aarch64-unknown-linux-gnu %s %stdinclude -S -o - | FileCheck %s -check-prefix=MLIR +// RUN: cgeist --target aarch64-unknown-linux-gnu %s %stdinclude -emit-llvm -S -o - | FileCheck %s -check-prefix=LLVM + +// MLIR: llvm.target_triple = "aarch64-unknown-linux-gnu" +// LLVM: target triple = "aarch64-unknown-linux-gnu" + +int main() { return 0; } diff --git a/tools/mlir-clang/Test/Verification/twotemplatevardecls.cpp b/tools/cgeist/Test/Verification/twotemplatevardecls.cpp similarity index 92% rename from tools/mlir-clang/Test/Verification/twotemplatevardecls.cpp rename to tools/cgeist/Test/Verification/twotemplatevardecls.cpp index e1d55578e9bc..0c8e59084d20 100644 --- a/tools/mlir-clang/Test/Verification/twotemplatevardecls.cpp +++ b/tools/cgeist/Test/Verification/twotemplatevardecls.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s template struct integral_constant diff --git a/tools/mlir-clang/Test/Verification/unioncopy.cpp b/tools/cgeist/Test/Verification/unioncopy.cpp similarity index 98% rename from tools/mlir-clang/Test/Verification/unioncopy.cpp rename to tools/cgeist/Test/Verification/unioncopy.cpp index 9a1da95c72a4..4f166a3681af 100644 --- a/tools/mlir-clang/Test/Verification/unioncopy.cpp +++ b/tools/cgeist/Test/Verification/unioncopy.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s union S { double d; diff --git a/tools/mlir-clang/Test/Verification/unlinked.c b/tools/cgeist/Test/Verification/unlinked.c similarity index 83% rename from tools/mlir-clang/Test/Verification/unlinked.c rename to tools/cgeist/Test/Verification/unlinked.c index 0d10f4383e07..8994e6b7e8a4 100644 --- a/tools/mlir-clang/Test/Verification/unlinked.c +++ b/tools/cgeist/Test/Verification/unlinked.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s --function=kernel_correlation --raise-scf-to-affine -S | FileCheck %s -// RUN: mlir-clang %s --function=kernel_correlation --raise-scf-to-affine -S -memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s --function=kernel_correlation --raise-scf-to-affine -S | FileCheck %s +// RUN: cgeist %s --function=kernel_correlation --raise-scf-to-affine -S -memref-fullrank | FileCheck %s --check-prefix=FULLRANK #define DATA_TYPE double diff --git a/tools/mlir-clang/Test/Verification/virt.cpp b/tools/cgeist/Test/Verification/virt.cpp similarity index 98% rename from tools/mlir-clang/Test/Verification/virt.cpp rename to tools/cgeist/Test/Verification/virt.cpp index 9efcdabeb902..8bb09f7e354e 100644 --- a/tools/mlir-clang/Test/Verification/virt.cpp +++ b/tools/cgeist/Test/Verification/virt.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s extern void print(char*); diff --git a/tools/mlir-clang/Test/Verification/virt2.cpp b/tools/cgeist/Test/Verification/virt2.cpp similarity index 98% rename from tools/mlir-clang/Test/Verification/virt2.cpp rename to tools/cgeist/Test/Verification/virt2.cpp index b05cd46c65e9..ef6328bc2bc9 100644 --- a/tools/mlir-clang/Test/Verification/virt2.cpp +++ b/tools/cgeist/Test/Verification/virt2.cpp @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=* -S | FileCheck %s +// RUN: cgeist %s --function=* -S | FileCheck %s extern void print(char*); diff --git a/tools/mlir-clang/Test/Verification/whileset.c b/tools/cgeist/Test/Verification/whileset.c similarity index 87% rename from tools/mlir-clang/Test/Verification/whileset.c rename to tools/cgeist/Test/Verification/whileset.c index 5073099420be..25dddbbeceb3 100644 --- a/tools/mlir-clang/Test/Verification/whileset.c +++ b/tools/cgeist/Test/Verification/whileset.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s %stdinclude --function=set -S | FileCheck %s -// RUN: mlir-clang %s %stdinclude --function=set -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s %stdinclude --function=set -S | FileCheck %s +// RUN: cgeist %s %stdinclude --function=set -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK #include #include diff --git a/tools/mlir-clang/Test/Verification/whiletofor.c b/tools/cgeist/Test/Verification/whiletofor.c similarity index 92% rename from tools/mlir-clang/Test/Verification/whiletofor.c rename to tools/cgeist/Test/Verification/whiletofor.c index 6bdef5965382..581dc2406859 100644 --- a/tools/mlir-clang/Test/Verification/whiletofor.c +++ b/tools/cgeist/Test/Verification/whiletofor.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s --function=whiletofor -S | FileCheck %s -// RUN: mlir-clang %s --function=whiletofor -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s --function=whiletofor -S | FileCheck %s +// RUN: cgeist %s --function=whiletofor -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK void use(int a[100][100]); diff --git a/tools/mlir-clang/Test/Verification/x.c b/tools/cgeist/Test/Verification/x.c similarity index 85% rename from tools/mlir-clang/Test/Verification/x.c rename to tools/cgeist/Test/Verification/x.c index ca4ed4d12581..b0500005010c 100644 --- a/tools/mlir-clang/Test/Verification/x.c +++ b/tools/cgeist/Test/Verification/x.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=kernel_deriche -S | FileCheck %s +// RUN: cgeist %s --function=kernel_deriche -S | FileCheck %s int kernel_deriche(int x) { x++; diff --git a/tools/mlir-clang/Test/Verification/xor.c b/tools/cgeist/Test/Verification/xor.c similarity index 92% rename from tools/mlir-clang/Test/Verification/xor.c rename to tools/cgeist/Test/Verification/xor.c index 7f3b533078a8..5d96b8221e28 100644 --- a/tools/mlir-clang/Test/Verification/xor.c +++ b/tools/cgeist/Test/Verification/xor.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=foo -S | FileCheck %s +// RUN: cgeist %s --function=foo -S | FileCheck %s void foo(int A[10], int a) { for (int i = 0; i < 10; ++i) diff --git a/tools/mlir-clang/Test/aff.c b/tools/cgeist/Test/aff.c similarity index 92% rename from tools/mlir-clang/Test/aff.c rename to tools/cgeist/Test/aff.c index 1b90a8b2bd27..bf7652e0fb1f 100644 --- a/tools/mlir-clang/Test/aff.c +++ b/tools/cgeist/Test/aff.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s --function=kernel_deriche -S | FileCheck %s +// RUN: cgeist %s --function=kernel_deriche -S | FileCheck %s void kernel_deriche(int w, int h, double alpha, double** y2) { int i,j; diff --git a/tools/mlir-clang/Test/canonicalization.c b/tools/cgeist/Test/canonicalization.c similarity index 96% rename from tools/mlir-clang/Test/canonicalization.c rename to tools/cgeist/Test/canonicalization.c index e29fb20a9424..d9a92ece16fa 100644 --- a/tools/mlir-clang/Test/canonicalization.c +++ b/tools/cgeist/Test/canonicalization.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang --S --function=* --memref-fullrank %s | FileCheck %s +// RUN: cgeist --S --function=* --memref-fullrank %s | FileCheck %s // The following should be able to fully lower to memref ops without memref // subviews. diff --git a/tools/mlir-clang/Test/global.c b/tools/cgeist/Test/global.c similarity index 92% rename from tools/mlir-clang/Test/global.c rename to tools/cgeist/Test/global.c index 550a440b88d7..b3cbffc824eb 100644 --- a/tools/mlir-clang/Test/global.c +++ b/tools/cgeist/Test/global.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s %stdinclude -S | FileCheck %s +// RUN: cgeist %s %stdinclude -S | FileCheck %s float A[64][32]; diff --git a/tools/mlir-clang/Test/lit.cfg b/tools/cgeist/Test/lit.cfg similarity index 98% rename from tools/mlir-clang/Test/lit.cfg rename to tools/cgeist/Test/lit.cfg index ad5b953b7f9d..eed85ef89fa6 100644 --- a/tools/mlir-clang/Test/lit.cfg +++ b/tools/cgeist/Test/lit.cfg @@ -10,7 +10,7 @@ from lit.llvm import llvm_config # Configuration file for the 'lit' test runner. # name: The name of this test suite. -config.name = 'mlir-clang' +config.name = 'cgeist' # testFormat: The test format to use to interpret tests. config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell) @@ -57,7 +57,7 @@ tool_dirs = [config.llvm_tools_dir] tools = [ 'opt', 'clang' ] llvm_config.add_tool_substitutions(tools, tool_dirs) tool_dirs = [config.polygeist_tools_dir] -tools = [ 'mlir-clang' ] +tools = [ 'cgeist' ] llvm_config.add_tool_substitutions(tools, tool_dirs) import subprocess diff --git a/tools/mlir-clang/Test/lit.site.cfg.in b/tools/cgeist/Test/lit.site.cfg.in similarity index 100% rename from tools/mlir-clang/Test/lit.site.cfg.in rename to tools/cgeist/Test/lit.site.cfg.in diff --git a/tools/mlir-clang/Test/polybench/AUTHORS b/tools/cgeist/Test/polybench/AUTHORS similarity index 100% rename from tools/mlir-clang/Test/polybench/AUTHORS rename to tools/cgeist/Test/polybench/AUTHORS diff --git a/tools/mlir-clang/Test/polybench/CHANGELOG b/tools/cgeist/Test/polybench/CHANGELOG similarity index 100% rename from tools/mlir-clang/Test/polybench/CHANGELOG rename to tools/cgeist/Test/polybench/CHANGELOG diff --git a/tools/mlir-clang/Test/polybench/LICENSE.txt b/tools/cgeist/Test/polybench/LICENSE.txt similarity index 100% rename from tools/mlir-clang/Test/polybench/LICENSE.txt rename to tools/cgeist/Test/polybench/LICENSE.txt diff --git a/tools/mlir-clang/Test/polybench/README b/tools/cgeist/Test/polybench/README similarity index 100% rename from tools/mlir-clang/Test/polybench/README rename to tools/cgeist/Test/polybench/README diff --git a/tools/mlir-clang/Test/polybench/THANKS b/tools/cgeist/Test/polybench/THANKS similarity index 100% rename from tools/mlir-clang/Test/polybench/THANKS rename to tools/cgeist/Test/polybench/THANKS diff --git a/tools/mlir-clang/Test/polybench/datamining/correlation/correlation.c b/tools/cgeist/Test/polybench/datamining/correlation/correlation.c similarity index 98% rename from tools/mlir-clang/Test/polybench/datamining/correlation/correlation.c rename to tools/cgeist/Test/polybench/datamining/correlation/correlation.c index 82ee9e6d9e1b..986e7a8ec481 100644 --- a/tools/mlir-clang/Test/polybench/datamining/correlation/correlation.c +++ b/tools/cgeist/Test/polybench/datamining/correlation/correlation.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 -lm && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 -lm && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 -lm && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/datamining/correlation/correlation.h b/tools/cgeist/Test/polybench/datamining/correlation/correlation.h similarity index 100% rename from tools/mlir-clang/Test/polybench/datamining/correlation/correlation.h rename to tools/cgeist/Test/polybench/datamining/correlation/correlation.h diff --git a/tools/mlir-clang/Test/polybench/datamining/covariance/covariance.c b/tools/cgeist/Test/polybench/datamining/covariance/covariance.c similarity index 94% rename from tools/mlir-clang/Test/polybench/datamining/covariance/covariance.c rename to tools/cgeist/Test/polybench/datamining/covariance/covariance.c index 402f6a8e3e11..cb9ee460463c 100644 --- a/tools/mlir-clang/Test/polybench/datamining/covariance/covariance.c +++ b/tools/cgeist/Test/polybench/datamining/covariance/covariance.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/datamining/covariance/covariance.h b/tools/cgeist/Test/polybench/datamining/covariance/covariance.h similarity index 100% rename from tools/mlir-clang/Test/polybench/datamining/covariance/covariance.h rename to tools/cgeist/Test/polybench/datamining/covariance/covariance.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/blas/gemm/gemm.c b/tools/cgeist/Test/polybench/linear-algebra/blas/gemm/gemm.c similarity index 92% rename from tools/mlir-clang/Test/polybench/linear-algebra/blas/gemm/gemm.c rename to tools/cgeist/Test/polybench/linear-algebra/blas/gemm/gemm.c index 064a266ba9ab..074bfae1171f 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/blas/gemm/gemm.c +++ b/tools/cgeist/Test/polybench/linear-algebra/blas/gemm/gemm.c @@ -1,16 +1,16 @@ -// RUN: mlir-clang %s %stdinclude -S | FileCheck %s -// RUN: mlir-clang %s %stdinclude -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK +// RUN: cgeist %s %stdinclude -S | FileCheck %s +// RUN: cgeist %s %stdinclude -S --memref-fullrank | FileCheck %s --check-prefix=FULLRANK // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/blas/gemm/gemm.h b/tools/cgeist/Test/polybench/linear-algebra/blas/gemm/gemm.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/blas/gemm/gemm.h rename to tools/cgeist/Test/polybench/linear-algebra/blas/gemm/gemm.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/blas/gemver/gemver.c b/tools/cgeist/Test/polybench/linear-algebra/blas/gemver/gemver.c similarity index 95% rename from tools/mlir-clang/Test/polybench/linear-algebra/blas/gemver/gemver.c rename to tools/cgeist/Test/polybench/linear-algebra/blas/gemver/gemver.c index 552ff7359db8..d2284bedb638 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/blas/gemver/gemver.c +++ b/tools/cgeist/Test/polybench/linear-algebra/blas/gemver/gemver.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude | FileCheck %s +// TODO: cgeist %s %stdinclude | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/blas/gemver/gemver.h b/tools/cgeist/Test/polybench/linear-algebra/blas/gemver/gemver.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/blas/gemver/gemver.h rename to tools/cgeist/Test/polybench/linear-algebra/blas/gemver/gemver.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/blas/gesummv/gesummv.c b/tools/cgeist/Test/polybench/linear-algebra/blas/gesummv/gesummv.c similarity index 93% rename from tools/mlir-clang/Test/polybench/linear-algebra/blas/gesummv/gesummv.c rename to tools/cgeist/Test/polybench/linear-algebra/blas/gesummv/gesummv.c index eb578ffebee3..d6bb5b1f9a29 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/blas/gesummv/gesummv.c +++ b/tools/cgeist/Test/polybench/linear-algebra/blas/gesummv/gesummv.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/blas/gesummv/gesummv.h b/tools/cgeist/Test/polybench/linear-algebra/blas/gesummv/gesummv.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/blas/gesummv/gesummv.h rename to tools/cgeist/Test/polybench/linear-algebra/blas/gesummv/gesummv.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/blas/symm/symm.c b/tools/cgeist/Test/polybench/linear-algebra/blas/symm/symm.c similarity index 94% rename from tools/mlir-clang/Test/polybench/linear-algebra/blas/symm/symm.c rename to tools/cgeist/Test/polybench/linear-algebra/blas/symm/symm.c index b53b18f7c545..5cde0b109caf 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/blas/symm/symm.c +++ b/tools/cgeist/Test/polybench/linear-algebra/blas/symm/symm.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/blas/symm/symm.h b/tools/cgeist/Test/polybench/linear-algebra/blas/symm/symm.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/blas/symm/symm.h rename to tools/cgeist/Test/polybench/linear-algebra/blas/symm/symm.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/blas/syr2k/syr2k.c b/tools/cgeist/Test/polybench/linear-algebra/blas/syr2k/syr2k.c similarity index 93% rename from tools/mlir-clang/Test/polybench/linear-algebra/blas/syr2k/syr2k.c rename to tools/cgeist/Test/polybench/linear-algebra/blas/syr2k/syr2k.c index c475b60faf3c..58e63ef7292c 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/blas/syr2k/syr2k.c +++ b/tools/cgeist/Test/polybench/linear-algebra/blas/syr2k/syr2k.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/blas/syr2k/syr2k.h b/tools/cgeist/Test/polybench/linear-algebra/blas/syr2k/syr2k.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/blas/syr2k/syr2k.h rename to tools/cgeist/Test/polybench/linear-algebra/blas/syr2k/syr2k.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/blas/syrk/syrk.c b/tools/cgeist/Test/polybench/linear-algebra/blas/syrk/syrk.c similarity index 92% rename from tools/mlir-clang/Test/polybench/linear-algebra/blas/syrk/syrk.c rename to tools/cgeist/Test/polybench/linear-algebra/blas/syrk/syrk.c index 24515f70f88b..58ff97951c4d 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/blas/syrk/syrk.c +++ b/tools/cgeist/Test/polybench/linear-algebra/blas/syrk/syrk.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/blas/syrk/syrk.h b/tools/cgeist/Test/polybench/linear-algebra/blas/syrk/syrk.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/blas/syrk/syrk.h rename to tools/cgeist/Test/polybench/linear-algebra/blas/syrk/syrk.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/blas/trmm/trmm.c b/tools/cgeist/Test/polybench/linear-algebra/blas/trmm/trmm.c similarity index 92% rename from tools/mlir-clang/Test/polybench/linear-algebra/blas/trmm/trmm.c rename to tools/cgeist/Test/polybench/linear-algebra/blas/trmm/trmm.c index 5d0756a330c9..ec24544ceab4 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/blas/trmm/trmm.c +++ b/tools/cgeist/Test/polybench/linear-algebra/blas/trmm/trmm.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/blas/trmm/trmm.h b/tools/cgeist/Test/polybench/linear-algebra/blas/trmm/trmm.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/blas/trmm/trmm.h rename to tools/cgeist/Test/polybench/linear-algebra/blas/trmm/trmm.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/2mm/2mm.c b/tools/cgeist/Test/polybench/linear-algebra/kernels/2mm/2mm.c similarity index 92% rename from tools/mlir-clang/Test/polybench/linear-algebra/kernels/2mm/2mm.c rename to tools/cgeist/Test/polybench/linear-algebra/kernels/2mm/2mm.c index 49b5463bbb2b..f6076d1fe71a 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/2mm/2mm.c +++ b/tools/cgeist/Test/polybench/linear-algebra/kernels/2mm/2mm.c @@ -1,16 +1,16 @@ -// RUN: mlir-clang %s %stdinclude -S | FileCheck %s +// RUN: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm -// RUN: mlir-clang -raise-scf-to-affine %s %stdinclude -S | FileCheck %s +// RUN: cgeist -raise-scf-to-affine %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/2mm/2mm.h b/tools/cgeist/Test/polybench/linear-algebra/kernels/2mm/2mm.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/kernels/2mm/2mm.h rename to tools/cgeist/Test/polybench/linear-algebra/kernels/2mm/2mm.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/3mm/3mm.c b/tools/cgeist/Test/polybench/linear-algebra/kernels/3mm/3mm.c similarity index 95% rename from tools/mlir-clang/Test/polybench/linear-algebra/kernels/3mm/3mm.c rename to tools/cgeist/Test/polybench/linear-algebra/kernels/3mm/3mm.c index 087858ba8cae..a9016f5afe9e 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/3mm/3mm.c +++ b/tools/cgeist/Test/polybench/linear-algebra/kernels/3mm/3mm.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/3mm/3mm.h b/tools/cgeist/Test/polybench/linear-algebra/kernels/3mm/3mm.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/kernels/3mm/3mm.h rename to tools/cgeist/Test/polybench/linear-algebra/kernels/3mm/3mm.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/atax/atax.c b/tools/cgeist/Test/polybench/linear-algebra/kernels/atax/atax.c similarity index 92% rename from tools/mlir-clang/Test/polybench/linear-algebra/kernels/atax/atax.c rename to tools/cgeist/Test/polybench/linear-algebra/kernels/atax/atax.c index 0dac8f867eb1..a6dc5b5c5afb 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/atax/atax.c +++ b/tools/cgeist/Test/polybench/linear-algebra/kernels/atax/atax.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/atax/atax.h b/tools/cgeist/Test/polybench/linear-algebra/kernels/atax/atax.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/kernels/atax/atax.h rename to tools/cgeist/Test/polybench/linear-algebra/kernels/atax/atax.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/bicg/bicg.c b/tools/cgeist/Test/polybench/linear-algebra/kernels/bicg/bicg.c similarity index 93% rename from tools/mlir-clang/Test/polybench/linear-algebra/kernels/bicg/bicg.c rename to tools/cgeist/Test/polybench/linear-algebra/kernels/bicg/bicg.c index 1c0ef6748a0e..9813fedd322d 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/bicg/bicg.c +++ b/tools/cgeist/Test/polybench/linear-algebra/kernels/bicg/bicg.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/bicg/bicg.h b/tools/cgeist/Test/polybench/linear-algebra/kernels/bicg/bicg.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/kernels/bicg/bicg.h rename to tools/cgeist/Test/polybench/linear-algebra/kernels/bicg/bicg.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/doitgen/doitgen.c b/tools/cgeist/Test/polybench/linear-algebra/kernels/doitgen/doitgen.c similarity index 92% rename from tools/mlir-clang/Test/polybench/linear-algebra/kernels/doitgen/doitgen.c rename to tools/cgeist/Test/polybench/linear-algebra/kernels/doitgen/doitgen.c index 93af4d155706..ace2421e70aa 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/doitgen/doitgen.c +++ b/tools/cgeist/Test/polybench/linear-algebra/kernels/doitgen/doitgen.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/doitgen/doitgen.h b/tools/cgeist/Test/polybench/linear-algebra/kernels/doitgen/doitgen.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/kernels/doitgen/doitgen.h rename to tools/cgeist/Test/polybench/linear-algebra/kernels/doitgen/doitgen.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/mvt/mvt.c b/tools/cgeist/Test/polybench/linear-algebra/kernels/mvt/mvt.c similarity index 93% rename from tools/mlir-clang/Test/polybench/linear-algebra/kernels/mvt/mvt.c rename to tools/cgeist/Test/polybench/linear-algebra/kernels/mvt/mvt.c index 8391aca0c79f..20beb48631c0 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/mvt/mvt.c +++ b/tools/cgeist/Test/polybench/linear-algebra/kernels/mvt/mvt.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/kernels/mvt/mvt.h b/tools/cgeist/Test/polybench/linear-algebra/kernels/mvt/mvt.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/kernels/mvt/mvt.h rename to tools/cgeist/Test/polybench/linear-algebra/kernels/mvt/mvt.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/cholesky/cholesky.c b/tools/cgeist/Test/polybench/linear-algebra/solvers/cholesky/cholesky.c similarity index 93% rename from tools/mlir-clang/Test/polybench/linear-algebra/solvers/cholesky/cholesky.c rename to tools/cgeist/Test/polybench/linear-algebra/solvers/cholesky/cholesky.c index 30514f4f1663..74e8b8aa7713 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/cholesky/cholesky.c +++ b/tools/cgeist/Test/polybench/linear-algebra/solvers/cholesky/cholesky.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 -lm && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 -lm && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 -lm && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/cholesky/cholesky.h b/tools/cgeist/Test/polybench/linear-algebra/solvers/cholesky/cholesky.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/solvers/cholesky/cholesky.h rename to tools/cgeist/Test/polybench/linear-algebra/solvers/cholesky/cholesky.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/durbin/durbin.c b/tools/cgeist/Test/polybench/linear-algebra/solvers/durbin/durbin.c similarity index 94% rename from tools/mlir-clang/Test/polybench/linear-algebra/solvers/durbin/durbin.c rename to tools/cgeist/Test/polybench/linear-algebra/solvers/durbin/durbin.c index 42c348255a2b..62dd66d1c6d7 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/durbin/durbin.c +++ b/tools/cgeist/Test/polybench/linear-algebra/solvers/durbin/durbin.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/durbin/durbin.h b/tools/cgeist/Test/polybench/linear-algebra/solvers/durbin/durbin.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/solvers/durbin/durbin.h rename to tools/cgeist/Test/polybench/linear-algebra/solvers/durbin/durbin.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/gramschmidt/gramschmidt.c b/tools/cgeist/Test/polybench/linear-algebra/solvers/gramschmidt/gramschmidt.c similarity index 94% rename from tools/mlir-clang/Test/polybench/linear-algebra/solvers/gramschmidt/gramschmidt.c rename to tools/cgeist/Test/polybench/linear-algebra/solvers/gramschmidt/gramschmidt.c index 07d716fd0ff8..71acf008d701 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/gramschmidt/gramschmidt.c +++ b/tools/cgeist/Test/polybench/linear-algebra/solvers/gramschmidt/gramschmidt.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 -lm && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 -lm && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 -lm && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/gramschmidt/gramschmidt.h b/tools/cgeist/Test/polybench/linear-algebra/solvers/gramschmidt/gramschmidt.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/solvers/gramschmidt/gramschmidt.h rename to tools/cgeist/Test/polybench/linear-algebra/solvers/gramschmidt/gramschmidt.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/lu/lu.c b/tools/cgeist/Test/polybench/linear-algebra/solvers/lu/lu.c similarity index 93% rename from tools/mlir-clang/Test/polybench/linear-algebra/solvers/lu/lu.c rename to tools/cgeist/Test/polybench/linear-algebra/solvers/lu/lu.c index 46216896ca1c..66d678b8c46f 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/lu/lu.c +++ b/tools/cgeist/Test/polybench/linear-algebra/solvers/lu/lu.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/lu/lu.h b/tools/cgeist/Test/polybench/linear-algebra/solvers/lu/lu.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/solvers/lu/lu.h rename to tools/cgeist/Test/polybench/linear-algebra/solvers/lu/lu.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/ludcmp/ludcmp.c b/tools/cgeist/Test/polybench/linear-algebra/solvers/ludcmp/ludcmp.c similarity index 95% rename from tools/mlir-clang/Test/polybench/linear-algebra/solvers/ludcmp/ludcmp.c rename to tools/cgeist/Test/polybench/linear-algebra/solvers/ludcmp/ludcmp.c index 3cdcbf84fe32..2761b16a93e0 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/ludcmp/ludcmp.c +++ b/tools/cgeist/Test/polybench/linear-algebra/solvers/ludcmp/ludcmp.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/ludcmp/ludcmp.h b/tools/cgeist/Test/polybench/linear-algebra/solvers/ludcmp/ludcmp.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/solvers/ludcmp/ludcmp.h rename to tools/cgeist/Test/polybench/linear-algebra/solvers/ludcmp/ludcmp.h diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/trisolv/trisolv.c b/tools/cgeist/Test/polybench/linear-algebra/solvers/trisolv/trisolv.c similarity index 92% rename from tools/mlir-clang/Test/polybench/linear-algebra/solvers/trisolv/trisolv.c rename to tools/cgeist/Test/polybench/linear-algebra/solvers/trisolv/trisolv.c index 2719b7f0f7ae..d6d04e712c17 100644 --- a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/trisolv/trisolv.c +++ b/tools/cgeist/Test/polybench/linear-algebra/solvers/trisolv/trisolv.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/linear-algebra/solvers/trisolv/trisolv.h b/tools/cgeist/Test/polybench/linear-algebra/solvers/trisolv/trisolv.h similarity index 100% rename from tools/mlir-clang/Test/polybench/linear-algebra/solvers/trisolv/trisolv.h rename to tools/cgeist/Test/polybench/linear-algebra/solvers/trisolv/trisolv.h diff --git a/tools/mlir-clang/Test/polybench/medley/deriche/deriche.c b/tools/cgeist/Test/polybench/medley/deriche/deriche.c similarity index 97% rename from tools/mlir-clang/Test/polybench/medley/deriche/deriche.c rename to tools/cgeist/Test/polybench/medley/deriche/deriche.c index 28e6b1181355..a3be71897c64 100644 --- a/tools/mlir-clang/Test/polybench/medley/deriche/deriche.c +++ b/tools/cgeist/Test/polybench/medley/deriche/deriche.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm -lm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm -lm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm -lm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm -lm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm -lm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm -lm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/medley/deriche/deriche.h b/tools/cgeist/Test/polybench/medley/deriche/deriche.h similarity index 100% rename from tools/mlir-clang/Test/polybench/medley/deriche/deriche.h rename to tools/cgeist/Test/polybench/medley/deriche/deriche.h diff --git a/tools/mlir-clang/Test/polybench/medley/floyd-warshall/floyd-warshall.c b/tools/cgeist/Test/polybench/medley/floyd-warshall/floyd-warshall.c similarity index 91% rename from tools/mlir-clang/Test/polybench/medley/floyd-warshall/floyd-warshall.c rename to tools/cgeist/Test/polybench/medley/floyd-warshall/floyd-warshall.c index dc7361db7794..d231c10c866d 100644 --- a/tools/mlir-clang/Test/polybench/medley/floyd-warshall/floyd-warshall.c +++ b/tools/cgeist/Test/polybench/medley/floyd-warshall/floyd-warshall.c @@ -1,15 +1,15 @@ -// RUN: mlir-clang %s %stdinclude -S | FileCheck %s +// RUN: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/medley/floyd-warshall/floyd-warshall.h b/tools/cgeist/Test/polybench/medley/floyd-warshall/floyd-warshall.h similarity index 100% rename from tools/mlir-clang/Test/polybench/medley/floyd-warshall/floyd-warshall.h rename to tools/cgeist/Test/polybench/medley/floyd-warshall/floyd-warshall.h diff --git a/tools/mlir-clang/Test/polybench/medley/nussinov/Nussinov.orig.c b/tools/cgeist/Test/polybench/medley/nussinov/Nussinov.orig.c similarity index 98% rename from tools/mlir-clang/Test/polybench/medley/nussinov/Nussinov.orig.c rename to tools/cgeist/Test/polybench/medley/nussinov/Nussinov.orig.c index 4658c94eb8d8..0164bffcc722 100644 --- a/tools/mlir-clang/Test/polybench/medley/nussinov/Nussinov.orig.c +++ b/tools/cgeist/Test/polybench/medley/nussinov/Nussinov.orig.c @@ -1,5 +1,5 @@ -// RUN: mlir-clang %s %stdinclude -S | FileCheck %s -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %stdinclude -S | FileCheck %s +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm | FileCheck %s --check-prefix EXEC // requires loop restructure use after while fix // XFAIL: * /** diff --git a/tools/mlir-clang/Test/polybench/medley/nussinov/nussinov.c b/tools/cgeist/Test/polybench/medley/nussinov/nussinov.c similarity index 98% rename from tools/mlir-clang/Test/polybench/medley/nussinov/nussinov.c rename to tools/cgeist/Test/polybench/medley/nussinov/nussinov.c index 79314138d588..ad3afe58c260 100644 --- a/tools/mlir-clang/Test/polybench/medley/nussinov/nussinov.c +++ b/tools/cgeist/Test/polybench/medley/nussinov/nussinov.c @@ -1,15 +1,15 @@ // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/medley/nussinov/nussinov.h b/tools/cgeist/Test/polybench/medley/nussinov/nussinov.h similarity index 100% rename from tools/mlir-clang/Test/polybench/medley/nussinov/nussinov.h rename to tools/cgeist/Test/polybench/medley/nussinov/nussinov.h diff --git a/tools/mlir-clang/Test/polybench/polybench.pdf b/tools/cgeist/Test/polybench/polybench.pdf similarity index 100% rename from tools/mlir-clang/Test/polybench/polybench.pdf rename to tools/cgeist/Test/polybench/polybench.pdf diff --git a/tools/mlir-clang/Test/polybench/stencils/adi/adi.c b/tools/cgeist/Test/polybench/stencils/adi/adi.c similarity index 96% rename from tools/mlir-clang/Test/polybench/stencils/adi/adi.c rename to tools/cgeist/Test/polybench/stencils/adi/adi.c index 7afb9e9782d2..d317532d75b8 100644 --- a/tools/mlir-clang/Test/polybench/stencils/adi/adi.c +++ b/tools/cgeist/Test/polybench/stencils/adi/adi.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/stencils/adi/adi.h b/tools/cgeist/Test/polybench/stencils/adi/adi.h similarity index 100% rename from tools/mlir-clang/Test/polybench/stencils/adi/adi.h rename to tools/cgeist/Test/polybench/stencils/adi/adi.h diff --git a/tools/mlir-clang/Test/polybench/stencils/fdtd-2d/fdtd-2d.c b/tools/cgeist/Test/polybench/stencils/fdtd-2d/fdtd-2d.c similarity index 95% rename from tools/mlir-clang/Test/polybench/stencils/fdtd-2d/fdtd-2d.c rename to tools/cgeist/Test/polybench/stencils/fdtd-2d/fdtd-2d.c index 0707fac10014..3049cb8578f1 100644 --- a/tools/mlir-clang/Test/polybench/stencils/fdtd-2d/fdtd-2d.c +++ b/tools/cgeist/Test/polybench/stencils/fdtd-2d/fdtd-2d.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/stencils/fdtd-2d/fdtd-2d.h b/tools/cgeist/Test/polybench/stencils/fdtd-2d/fdtd-2d.h similarity index 100% rename from tools/mlir-clang/Test/polybench/stencils/fdtd-2d/fdtd-2d.h rename to tools/cgeist/Test/polybench/stencils/fdtd-2d/fdtd-2d.h diff --git a/tools/mlir-clang/Test/polybench/stencils/heat-3d/heat-3d.c b/tools/cgeist/Test/polybench/stencils/heat-3d/heat-3d.c similarity index 95% rename from tools/mlir-clang/Test/polybench/stencils/heat-3d/heat-3d.c rename to tools/cgeist/Test/polybench/stencils/heat-3d/heat-3d.c index 60e31104533b..78dcbdb7e471 100644 --- a/tools/mlir-clang/Test/polybench/stencils/heat-3d/heat-3d.c +++ b/tools/cgeist/Test/polybench/stencils/heat-3d/heat-3d.c @@ -1,15 +1,15 @@ -// TODO: mlir-clang %s %stdinclude -S | FileCheck %s +// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/stencils/heat-3d/heat-3d.h b/tools/cgeist/Test/polybench/stencils/heat-3d/heat-3d.h similarity index 100% rename from tools/mlir-clang/Test/polybench/stencils/heat-3d/heat-3d.h rename to tools/cgeist/Test/polybench/stencils/heat-3d/heat-3d.h diff --git a/tools/mlir-clang/Test/polybench/stencils/jacobi-1d/jacobi-1d.c b/tools/cgeist/Test/polybench/stencils/jacobi-1d/jacobi-1d.c similarity index 92% rename from tools/mlir-clang/Test/polybench/stencils/jacobi-1d/jacobi-1d.c rename to tools/cgeist/Test/polybench/stencils/jacobi-1d/jacobi-1d.c index 098e3c474fd0..a3b185c34ad2 100644 --- a/tools/mlir-clang/Test/polybench/stencils/jacobi-1d/jacobi-1d.c +++ b/tools/cgeist/Test/polybench/stencils/jacobi-1d/jacobi-1d.c @@ -1,15 +1,15 @@ -// RUN: mlir-clang %s %stdinclude -S | FileCheck %s +// RUN: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/stencils/jacobi-1d/jacobi-1d.h b/tools/cgeist/Test/polybench/stencils/jacobi-1d/jacobi-1d.h similarity index 100% rename from tools/mlir-clang/Test/polybench/stencils/jacobi-1d/jacobi-1d.h rename to tools/cgeist/Test/polybench/stencils/jacobi-1d/jacobi-1d.h diff --git a/tools/mlir-clang/Test/polybench/stencils/jacobi-2d/jacobi-2d.c b/tools/cgeist/Test/polybench/stencils/jacobi-2d/jacobi-2d.c similarity index 93% rename from tools/mlir-clang/Test/polybench/stencils/jacobi-2d/jacobi-2d.c rename to tools/cgeist/Test/polybench/stencils/jacobi-2d/jacobi-2d.c index 9ddb349a9564..447f710a7434 100644 --- a/tools/mlir-clang/Test/polybench/stencils/jacobi-2d/jacobi-2d.c +++ b/tools/cgeist/Test/polybench/stencils/jacobi-2d/jacobi-2d.c @@ -1,15 +1,15 @@ -// RUN: mlir-clang %s %stdinclude -S | FileCheck %s +// RUN: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/stencils/jacobi-2d/jacobi-2d.h b/tools/cgeist/Test/polybench/stencils/jacobi-2d/jacobi-2d.h similarity index 100% rename from tools/mlir-clang/Test/polybench/stencils/jacobi-2d/jacobi-2d.h rename to tools/cgeist/Test/polybench/stencils/jacobi-2d/jacobi-2d.h diff --git a/tools/mlir-clang/Test/polybench/stencils/seidel-2d/seidel-2d.c b/tools/cgeist/Test/polybench/stencils/seidel-2d/seidel-2d.c similarity index 92% rename from tools/mlir-clang/Test/polybench/stencils/seidel-2d/seidel-2d.c rename to tools/cgeist/Test/polybench/stencils/seidel-2d/seidel-2d.c index 32877c83c36e..87ed32f8ecf7 100644 --- a/tools/mlir-clang/Test/polybench/stencils/seidel-2d/seidel-2d.c +++ b/tools/cgeist/Test/polybench/stencils/seidel-2d/seidel-2d.c @@ -1,15 +1,15 @@ -// RUN: mlir-clang %s %stdinclude -S | FileCheck %s +// RUN: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 -// RUN: mlir-clang %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC +// RUN: cgeist %s %polyexec %stdinclude -O3 -o %s.execm && %s.execm > %s.mlir.time; cat %s.mlir.time | FileCheck %s --check-prefix EXEC // RUN: clang %s -O3 %polyexec %stdinclude -o %s.exec2 && %s.exec2 > %s.clang.time; cat %s.clang.time | FileCheck %s --check-prefix EXEC // RUN: rm -f %s.exec2 %s.execm // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 -// RUN: mlir-clang %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 +// RUN: cgeist %s %polyverify %stdinclude -detect-reduction -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm // RUN: diff %s.out1 %s.out2 // RUN: rm -f %s.out1 %s.out2 diff --git a/tools/mlir-clang/Test/polybench/stencils/seidel-2d/seidel-2d.h b/tools/cgeist/Test/polybench/stencils/seidel-2d/seidel-2d.h similarity index 100% rename from tools/mlir-clang/Test/polybench/stencils/seidel-2d/seidel-2d.h rename to tools/cgeist/Test/polybench/stencils/seidel-2d/seidel-2d.h diff --git a/tools/mlir-clang/Test/polybench/utilities/benchmark_list b/tools/cgeist/Test/polybench/utilities/benchmark_list similarity index 100% rename from tools/mlir-clang/Test/polybench/utilities/benchmark_list rename to tools/cgeist/Test/polybench/utilities/benchmark_list diff --git a/tools/mlir-clang/Test/polybench/utilities/clean.pl b/tools/cgeist/Test/polybench/utilities/clean.pl similarity index 100% rename from tools/mlir-clang/Test/polybench/utilities/clean.pl rename to tools/cgeist/Test/polybench/utilities/clean.pl diff --git a/tools/mlir-clang/Test/polybench/utilities/create_cpped_version.pl b/tools/cgeist/Test/polybench/utilities/create_cpped_version.pl similarity index 100% rename from tools/mlir-clang/Test/polybench/utilities/create_cpped_version.pl rename to tools/cgeist/Test/polybench/utilities/create_cpped_version.pl diff --git a/tools/mlir-clang/Test/polybench/utilities/header-gen.pl b/tools/cgeist/Test/polybench/utilities/header-gen.pl similarity index 100% rename from tools/mlir-clang/Test/polybench/utilities/header-gen.pl rename to tools/cgeist/Test/polybench/utilities/header-gen.pl diff --git a/tools/mlir-clang/Test/polybench/utilities/makefile-gen.pl b/tools/cgeist/Test/polybench/utilities/makefile-gen.pl similarity index 100% rename from tools/mlir-clang/Test/polybench/utilities/makefile-gen.pl rename to tools/cgeist/Test/polybench/utilities/makefile-gen.pl diff --git a/tools/mlir-clang/Test/polybench/utilities/papi_counters.list b/tools/cgeist/Test/polybench/utilities/papi_counters.list similarity index 100% rename from tools/mlir-clang/Test/polybench/utilities/papi_counters.list rename to tools/cgeist/Test/polybench/utilities/papi_counters.list diff --git a/tools/mlir-clang/Test/polybench/utilities/polybench.R b/tools/cgeist/Test/polybench/utilities/polybench.R similarity index 100% rename from tools/mlir-clang/Test/polybench/utilities/polybench.R rename to tools/cgeist/Test/polybench/utilities/polybench.R diff --git a/tools/mlir-clang/Test/polybench/utilities/polybench.c b/tools/cgeist/Test/polybench/utilities/polybench.c similarity index 99% rename from tools/mlir-clang/Test/polybench/utilities/polybench.c rename to tools/cgeist/Test/polybench/utilities/polybench.c index 7cf97936f244..6426ec9a6f02 100644 --- a/tools/mlir-clang/Test/polybench/utilities/polybench.c +++ b/tools/cgeist/Test/polybench/utilities/polybench.c @@ -1,4 +1,4 @@ -// RUN: mlir-clang %s polybench_alloc_data %stdinclude -S | FileCheck %s +// RUN: cgeist %s polybench_alloc_data %stdinclude -S | FileCheck %s // XFAIL: * /** * This version is stamped on May 10, 2016 diff --git a/tools/mlir-clang/Test/polybench/utilities/polybench.h b/tools/cgeist/Test/polybench/utilities/polybench.h similarity index 100% rename from tools/mlir-clang/Test/polybench/utilities/polybench.h rename to tools/cgeist/Test/polybench/utilities/polybench.h diff --git a/tools/mlir-clang/Test/polybench/utilities/polybench.spec b/tools/cgeist/Test/polybench/utilities/polybench.spec similarity index 100% rename from tools/mlir-clang/Test/polybench/utilities/polybench.spec rename to tools/cgeist/Test/polybench/utilities/polybench.spec diff --git a/tools/mlir-clang/Test/polybench/utilities/run-all.pl b/tools/cgeist/Test/polybench/utilities/run-all.pl similarity index 100% rename from tools/mlir-clang/Test/polybench/utilities/run-all.pl rename to tools/cgeist/Test/polybench/utilities/run-all.pl diff --git a/tools/mlir-clang/Test/polybench/utilities/time_benchmark.sh b/tools/cgeist/Test/polybench/utilities/time_benchmark.sh similarity index 100% rename from tools/mlir-clang/Test/polybench/utilities/time_benchmark.sh rename to tools/cgeist/Test/polybench/utilities/time_benchmark.sh diff --git a/tools/mlir-clang/mlir-clang.cc b/tools/cgeist/driver.cc similarity index 99% rename from tools/mlir-clang/mlir-clang.cc rename to tools/cgeist/driver.cc index 3949f531cfb2..b0d0a4b79c44 100644 --- a/tools/mlir-clang/mlir-clang.cc +++ b/tools/cgeist/driver.cc @@ -1,4 +1,4 @@ -//===- mlir-clang.cpp - mlir-clang Driver ---------------------------------===// +//===- cgeist.cpp - cgeist Driver ---------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// // -// Main entry function for mlir-clang when built as standalone binary. +// Main entry function for cgeist when built as standalone binary. // //===----------------------------------------------------------------------===// diff --git a/tools/mlir-clang/Test/Verification/triple.cu b/tools/mlir-clang/Test/Verification/triple.cu deleted file mode 100644 index 19b4afe00cf2..000000000000 --- a/tools/mlir-clang/Test/Verification/triple.cu +++ /dev/null @@ -1,7 +0,0 @@ -// RUN: mlir-clang --target aarch64-unknown-linux-gnu %s %stdinclude -S -o - | FileCheck %s -check-prefix=MLIR -// RUN: mlir-clang --target aarch64-unknown-linux-gnu %s %stdinclude -emit-llvm -S -o - | FileCheck %s -check-prefix=LLVM - -// MLIR: llvm.target_triple = "aarch64-unknown-linux-gnu" -// LLVM: target triple = "aarch64-unknown-linux-gnu" - -int main() { return 0; } From cec9761619e93591b9d7f9998e5e88f9b12695d1 Mon Sep 17 00:00:00 2001 From: "William S. Moses" Date: Tue, 21 Jun 2022 00:13:59 -0400 Subject: [PATCH 2/2] Remove todos --- tools/cgeist/Test/polybench/datamining/correlation/correlation.c | 1 - tools/cgeist/Test/polybench/datamining/covariance/covariance.c | 1 - tools/cgeist/Test/polybench/linear-algebra/blas/gemver/gemver.c | 1 - .../cgeist/Test/polybench/linear-algebra/blas/gesummv/gesummv.c | 1 - tools/cgeist/Test/polybench/linear-algebra/blas/symm/symm.c | 1 - tools/cgeist/Test/polybench/linear-algebra/blas/syr2k/syr2k.c | 1 - tools/cgeist/Test/polybench/linear-algebra/blas/syrk/syrk.c | 1 - tools/cgeist/Test/polybench/linear-algebra/blas/trmm/trmm.c | 1 - tools/cgeist/Test/polybench/linear-algebra/kernels/3mm/3mm.c | 1 - tools/cgeist/Test/polybench/linear-algebra/kernels/atax/atax.c | 1 - tools/cgeist/Test/polybench/linear-algebra/kernels/bicg/bicg.c | 1 - .../Test/polybench/linear-algebra/kernels/doitgen/doitgen.c | 1 - tools/cgeist/Test/polybench/linear-algebra/kernels/mvt/mvt.c | 1 - .../Test/polybench/linear-algebra/solvers/cholesky/cholesky.c | 1 - .../cgeist/Test/polybench/linear-algebra/solvers/durbin/durbin.c | 1 - .../polybench/linear-algebra/solvers/gramschmidt/gramschmidt.c | 1 - tools/cgeist/Test/polybench/linear-algebra/solvers/lu/lu.c | 1 - .../cgeist/Test/polybench/linear-algebra/solvers/ludcmp/ludcmp.c | 1 - .../Test/polybench/linear-algebra/solvers/trisolv/trisolv.c | 1 - tools/cgeist/Test/polybench/medley/deriche/deriche.c | 1 - tools/cgeist/Test/polybench/stencils/adi/adi.c | 1 - tools/cgeist/Test/polybench/stencils/fdtd-2d/fdtd-2d.c | 1 - tools/cgeist/Test/polybench/stencils/heat-3d/heat-3d.c | 1 - 23 files changed, 23 deletions(-) diff --git a/tools/cgeist/Test/polybench/datamining/correlation/correlation.c b/tools/cgeist/Test/polybench/datamining/correlation/correlation.c index 986e7a8ec481..9cddb6d89a33 100644 --- a/tools/cgeist/Test/polybench/datamining/correlation/correlation.c +++ b/tools/cgeist/Test/polybench/datamining/correlation/correlation.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 -lm && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/datamining/covariance/covariance.c b/tools/cgeist/Test/polybench/datamining/covariance/covariance.c index cb9ee460463c..bf8db73005f7 100644 --- a/tools/cgeist/Test/polybench/datamining/covariance/covariance.c +++ b/tools/cgeist/Test/polybench/datamining/covariance/covariance.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/linear-algebra/blas/gemver/gemver.c b/tools/cgeist/Test/polybench/linear-algebra/blas/gemver/gemver.c index d2284bedb638..7d5c29c6a0cc 100644 --- a/tools/cgeist/Test/polybench/linear-algebra/blas/gemver/gemver.c +++ b/tools/cgeist/Test/polybench/linear-algebra/blas/gemver/gemver.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/linear-algebra/blas/gesummv/gesummv.c b/tools/cgeist/Test/polybench/linear-algebra/blas/gesummv/gesummv.c index d6bb5b1f9a29..d1e232f5fcd1 100644 --- a/tools/cgeist/Test/polybench/linear-algebra/blas/gesummv/gesummv.c +++ b/tools/cgeist/Test/polybench/linear-algebra/blas/gesummv/gesummv.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/linear-algebra/blas/symm/symm.c b/tools/cgeist/Test/polybench/linear-algebra/blas/symm/symm.c index 5cde0b109caf..6a452cba3663 100644 --- a/tools/cgeist/Test/polybench/linear-algebra/blas/symm/symm.c +++ b/tools/cgeist/Test/polybench/linear-algebra/blas/symm/symm.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/linear-algebra/blas/syr2k/syr2k.c b/tools/cgeist/Test/polybench/linear-algebra/blas/syr2k/syr2k.c index 58e63ef7292c..336214499d28 100644 --- a/tools/cgeist/Test/polybench/linear-algebra/blas/syr2k/syr2k.c +++ b/tools/cgeist/Test/polybench/linear-algebra/blas/syr2k/syr2k.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/linear-algebra/blas/syrk/syrk.c b/tools/cgeist/Test/polybench/linear-algebra/blas/syrk/syrk.c index 58ff97951c4d..703bfb071ff9 100644 --- a/tools/cgeist/Test/polybench/linear-algebra/blas/syrk/syrk.c +++ b/tools/cgeist/Test/polybench/linear-algebra/blas/syrk/syrk.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/linear-algebra/blas/trmm/trmm.c b/tools/cgeist/Test/polybench/linear-algebra/blas/trmm/trmm.c index ec24544ceab4..12e9ecd1d801 100644 --- a/tools/cgeist/Test/polybench/linear-algebra/blas/trmm/trmm.c +++ b/tools/cgeist/Test/polybench/linear-algebra/blas/trmm/trmm.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/linear-algebra/kernels/3mm/3mm.c b/tools/cgeist/Test/polybench/linear-algebra/kernels/3mm/3mm.c index a9016f5afe9e..116331dc492c 100644 --- a/tools/cgeist/Test/polybench/linear-algebra/kernels/3mm/3mm.c +++ b/tools/cgeist/Test/polybench/linear-algebra/kernels/3mm/3mm.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/linear-algebra/kernels/atax/atax.c b/tools/cgeist/Test/polybench/linear-algebra/kernels/atax/atax.c index a6dc5b5c5afb..612d503b48c3 100644 --- a/tools/cgeist/Test/polybench/linear-algebra/kernels/atax/atax.c +++ b/tools/cgeist/Test/polybench/linear-algebra/kernels/atax/atax.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/linear-algebra/kernels/bicg/bicg.c b/tools/cgeist/Test/polybench/linear-algebra/kernels/bicg/bicg.c index 9813fedd322d..fef6451bba29 100644 --- a/tools/cgeist/Test/polybench/linear-algebra/kernels/bicg/bicg.c +++ b/tools/cgeist/Test/polybench/linear-algebra/kernels/bicg/bicg.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/linear-algebra/kernels/doitgen/doitgen.c b/tools/cgeist/Test/polybench/linear-algebra/kernels/doitgen/doitgen.c index ace2421e70aa..acb30d2b9e79 100644 --- a/tools/cgeist/Test/polybench/linear-algebra/kernels/doitgen/doitgen.c +++ b/tools/cgeist/Test/polybench/linear-algebra/kernels/doitgen/doitgen.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/linear-algebra/kernels/mvt/mvt.c b/tools/cgeist/Test/polybench/linear-algebra/kernels/mvt/mvt.c index 20beb48631c0..9fae55ae8c1d 100644 --- a/tools/cgeist/Test/polybench/linear-algebra/kernels/mvt/mvt.c +++ b/tools/cgeist/Test/polybench/linear-algebra/kernels/mvt/mvt.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/linear-algebra/solvers/cholesky/cholesky.c b/tools/cgeist/Test/polybench/linear-algebra/solvers/cholesky/cholesky.c index 74e8b8aa7713..712b02c59197 100644 --- a/tools/cgeist/Test/polybench/linear-algebra/solvers/cholesky/cholesky.c +++ b/tools/cgeist/Test/polybench/linear-algebra/solvers/cholesky/cholesky.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 -lm && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/linear-algebra/solvers/durbin/durbin.c b/tools/cgeist/Test/polybench/linear-algebra/solvers/durbin/durbin.c index 62dd66d1c6d7..db7d4510938e 100644 --- a/tools/cgeist/Test/polybench/linear-algebra/solvers/durbin/durbin.c +++ b/tools/cgeist/Test/polybench/linear-algebra/solvers/durbin/durbin.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/linear-algebra/solvers/gramschmidt/gramschmidt.c b/tools/cgeist/Test/polybench/linear-algebra/solvers/gramschmidt/gramschmidt.c index 71acf008d701..1b870c48ff51 100644 --- a/tools/cgeist/Test/polybench/linear-algebra/solvers/gramschmidt/gramschmidt.c +++ b/tools/cgeist/Test/polybench/linear-algebra/solvers/gramschmidt/gramschmidt.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 -lm && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/linear-algebra/solvers/lu/lu.c b/tools/cgeist/Test/polybench/linear-algebra/solvers/lu/lu.c index 66d678b8c46f..4489e2e8b155 100644 --- a/tools/cgeist/Test/polybench/linear-algebra/solvers/lu/lu.c +++ b/tools/cgeist/Test/polybench/linear-algebra/solvers/lu/lu.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/linear-algebra/solvers/ludcmp/ludcmp.c b/tools/cgeist/Test/polybench/linear-algebra/solvers/ludcmp/ludcmp.c index 2761b16a93e0..b96d2a058b1a 100644 --- a/tools/cgeist/Test/polybench/linear-algebra/solvers/ludcmp/ludcmp.c +++ b/tools/cgeist/Test/polybench/linear-algebra/solvers/ludcmp/ludcmp.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/linear-algebra/solvers/trisolv/trisolv.c b/tools/cgeist/Test/polybench/linear-algebra/solvers/trisolv/trisolv.c index d6d04e712c17..19d8588f3e69 100644 --- a/tools/cgeist/Test/polybench/linear-algebra/solvers/trisolv/trisolv.c +++ b/tools/cgeist/Test/polybench/linear-algebra/solvers/trisolv/trisolv.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/medley/deriche/deriche.c b/tools/cgeist/Test/polybench/medley/deriche/deriche.c index a3be71897c64..aee208c2fac4 100644 --- a/tools/cgeist/Test/polybench/medley/deriche/deriche.c +++ b/tools/cgeist/Test/polybench/medley/deriche/deriche.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm -lm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/stencils/adi/adi.c b/tools/cgeist/Test/polybench/stencils/adi/adi.c index d317532d75b8..e06cedc455eb 100644 --- a/tools/cgeist/Test/polybench/stencils/adi/adi.c +++ b/tools/cgeist/Test/polybench/stencils/adi/adi.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/stencils/fdtd-2d/fdtd-2d.c b/tools/cgeist/Test/polybench/stencils/fdtd-2d/fdtd-2d.c index 3049cb8578f1..1a33c060b91f 100644 --- a/tools/cgeist/Test/polybench/stencils/fdtd-2d/fdtd-2d.c +++ b/tools/cgeist/Test/polybench/stencils/fdtd-2d/fdtd-2d.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm diff --git a/tools/cgeist/Test/polybench/stencils/heat-3d/heat-3d.c b/tools/cgeist/Test/polybench/stencils/heat-3d/heat-3d.c index 78dcbdb7e471..32c005cf93a3 100644 --- a/tools/cgeist/Test/polybench/stencils/heat-3d/heat-3d.c +++ b/tools/cgeist/Test/polybench/stencils/heat-3d/heat-3d.c @@ -1,4 +1,3 @@ -// TODO: cgeist %s %stdinclude -S | FileCheck %s // RUN: clang %s -O3 %stdinclude %polyverify -o %s.exec1 && %s.exec1 &> %s.out1 // RUN: cgeist %s %polyverify %stdinclude -O3 -o %s.execm && %s.execm &> %s.out2 // RUN: rm -f %s.exec1 %s.execm