William S. Moses
624208e0e7
More robust initlistexpr
2021-12-05 01:49:09 -05:00
William S. Moses
14d070c717
Add more c stdlib
2021-12-05 01:49:09 -05:00
William S. Moses
34df9f27a3
Add strlen
2021-12-05 01:49:09 -05:00
William S. Moses
05fc0c7f8d
ABI mismatch
2021-12-05 01:49:09 -05:00
William S. Moses
9cb5fdcc0a
Fixing new
2021-12-05 01:49:09 -05:00
William S. Moses
0be6e3a6f9
Additional allocation
2021-12-05 01:49:09 -05:00
William S. Moses
b90c13bec9
Fix float zero'ing
2021-12-05 01:49:09 -05:00
William S. Moses
0da5b6df78
Fix cout error
2021-12-05 01:49:09 -05:00
William S. Moses
681cf8b7ea
Fix pair initialization
2021-12-05 01:49:09 -05:00
William S. Moses
d783d999de
minor
2021-12-05 01:49:09 -05:00
William S. Moses
d244ecaaa2
Fixup
2021-12-05 01:49:09 -05:00
Ivan Radanov Ivanov
cf0ba1ce69
There can be multiple includes, so the opt should be a list
2021-12-05 01:49:09 -05:00
Ivan Radanov Ivanov
4614993e38
Add integral to pointer cast kind
2021-12-05 01:49:09 -05:00
Ivan Radanov Ivanov
a0520dec02
Add include + debugging
2021-12-05 01:49:09 -05:00
Ivan Radanov Ivanov
178ada4004
Add include option
2021-12-03 17:16:38 -05:00
William S. Moses
6ea4a343fd
Fix upstream build
2021-12-01 14:51:48 -05:00
Morten Borup Petersen
a1224cc23f
Add a polygeist-opt tool
...
This commit adds a `polygeist-opt` command line tool. This allows us to drive each of the polygeist passes individually and as such lays the foundation for adding tests of the individual passes.
In doing so, a fair bit of restructuring/modifications of the various namespaces, function names etc. employed in the passes have been done. This was mostly due to inconsistensies in symbol names and namespaces which weren't being caught as errors due to missing inclusion of pass registration.
2021-11-29 11:14:19 -05:00
William S. Moses
2e6bb368ff
Handle lvalue of preinc
2021-11-16 14:49:01 -06:00
William S. Moses
69387109c8
Fix GCC CI
2021-11-16 13:03:41 -06:00
William S. Moses
f579f6ccc2
Fix lowering
2021-11-16 13:03:41 -06:00
William S. Moses
5a18d21671
Bump LLVM
2021-11-16 13:03:41 -06:00
William S. Moses
3750134088
Bump llvm
2021-11-16 13:03:41 -06:00
William S. Moses
e90f4525d3
Add LLVM recursive lowering
2021-11-16 13:03:41 -06:00
William S. Moses
dd211415a8
Fix struct abi mismatch
2021-11-16 13:03:41 -06:00
William S. Moses
06d2e89a7d
Fix build on clang
2021-11-16 13:03:41 -06:00
Lorenzo Chelini
4c2323a4c0
fix clang-format
2021-11-12 11:53:04 +01:00
William S. Moses
016acada4e
Handle Label & goto
2021-11-11 14:36:50 -05:00
William S. Moses
56c878e72d
Update llvm
2021-11-11 10:40:08 -05:00
William S. Moses
02bd12f11a
Bump layout api change
2021-11-11 10:40:08 -05:00
Lorenzo Chelini
daeb952678
Move *Stmt methods to new house
2021-10-18 10:20:41 -04:00
Ruizhe Zhao
05c01b5644
[Test] make dynalloc more robust
2021-10-17 14:04:20 -04:00
William S. Moses
90c964a30f
Cleanup
2021-10-17 10:05:47 -04:00
William S. Moses
b715377690
Handle return
2021-10-17 10:05:47 -04:00
William S. Moses
d832458d9b
Ensure packed
2021-10-17 10:05:47 -04:00
William S. Moses
fc19797b2a
Fix capture mem2reg
2021-10-17 10:05:47 -04:00
William S. Moses
26bcbec66a
Bump LLVM
2021-10-17 10:05:47 -04:00
William Moses
5e918f7e52
Enable nested constructors, and introduce pointer2memref ( #91 )
...
* Pointer 2 Memref handling
* Add tests
* Fix mem2reg
2021-10-15 13:32:16 -04:00
Ruizhe Zhao
d6d2b445cc
[MLIR-CLANG][Op] Support XOr assign ( #98 )
...
* Added CHStone code
* Improved InitListExpr for multi-dimensional array
* Added XorAssign support
* Added test case for XOR
* Removed CHStone
* Removed unwanted obsoleted code
* Update mlir-clang.cc
2021-10-15 12:17:08 -04:00
Ruizhe Zhao
cadc844ece
Resurrected memref-fullrank from #49 ( #86 )
...
* Fixed linkage issue due to incorrect macro defs
* Re-implemented memref-fullrank on the latest main
* Initial local static variable support
* Actually git add test
* Disable inliner for -O0 (#90 )
* Disabled inliner when -O0 is present
* Added tests for no inline
* Added test case for -O1
* Checked -memref-fullrank in existing tests
Co-authored-by: William S. Moses <gh@wsmoses.com>
2021-10-15 17:10:07 +01:00
William S. Moses
c0fd591a92
Add License file
2021-10-15 11:48:44 -04:00
Ruizhe Zhao
2ace9617dc
Improved InitListExpr for multi-dimensional array ( #92 )
...
* Improved InitListExpr for multi-dimensional array
* Moved around initialize function
2021-10-15 14:40:31 +01:00
Ruizhe Zhao
7fb45d07c4
nit: #define macro typo
2021-10-13 10:32:52 +01:00
William S. Moses
e6e19d2165
Fixup
2021-10-12 23:49:21 -04:00
William S. Moses
1b373bbdb5
cleanup
2021-10-12 23:49:21 -04:00
William S. Moses
3edcacafae
Functioning openmp input
2021-10-12 23:49:21 -04:00
William S. Moses
b8d3f38614
Handle undef initialization
2021-10-12 23:49:21 -04:00
Lorenzo Chelini
00390fd4e9
Rename ValueWithOffsets to ValueCategory
2021-10-10 11:06:05 +02:00
Lorenzo Chelini
7f11a4dff7
Move ValueWithOffsets to new file
2021-10-10 11:06:05 +02:00
Lorenzo Chelini
6fe9e955f9
Cleaning ValueWithOffsets class
2021-10-10 11:06:05 +02:00
Lorenzo Chelini
47ead69080
Move AffineLoopDescriptor to a new file (NFC)
2021-10-10 11:06:05 +02:00