Commit Graph

182 Commits

Author SHA1 Message Date
Hanchen Ye 44ccefa462 [ConvertToHLSCpp] handle a corner case when returning constant scalar/tensor/vector 2020-09-14 01:41:39 -05:00
Hanchen Ye df973a40be [EmitHLSCpp] support to emit hlscpp::AssignOp; add many new testcases except affine operations 2020-09-14 01:25:07 -05:00
Hanchen Ye 8a67b13b99 [HLSCppDialect] add Assign operation, ConvertToHLSCpp pass; [HLSCppEmitter] add two testcases 2020-09-13 23:40:24 -05:00
Hanchen Ye c707e72a0a [PragmaInsertion] simple initial implementation for testing new pragma operations 2020-09-13 18:08:46 -05:00
Hanchen Ye 565a8f15d0 update code structure: add scalehls-estimator, EstimateQoR, and hlscpp::PragmaInsertion pass 2020-09-13 16:35:47 -05:00
Hanchen Ye a31192405d [HLSCppDialect] add pipeline & unroll & array_partition pragma operation 2020-09-13 01:02:15 -05:00
Hanchen Ye 45fe55af67 add new HLSCpp dialect and scalehls-opt tool 2020-09-09 23:44:47 -05:00
Hanchen Ye 1f4200e88a mechanical rename hlsld to scalehls; update file structure 2020-09-06 18:05:16 -05:00
Hanchen Ye bdcfa4efe1 [EmitHLSCpp] support tensor/vector function input/output; expand binary/unary operations emitter to handle tensor/vector input 2020-09-05 19:37:18 -05:00
Hanchen Ye d7556c8a0a [EmitHLSCpp] add legalization check for unranked/dynamic shaped tensor/memref; support DimOp and RankOp 2020-09-05 16:52:54 -05:00
Hanchen Ye 3e41770540 [EmitHLSCpp] support ranked tensor load and store 2020-09-05 13:25:31 -05:00
Hanchen Ye c4783f0205 [EmitHLSCpp] support tensor/vector ConstantOp 2020-09-04 23:49:21 -05:00
Hanchen Ye 0bd2a2dbb0 [EmitHLSCpp] update ConstantOp handler: add future interface for tensor/vector value 2020-09-04 16:29:56 -05:00
Hanchen Ye f4b8baccd1 [EmitHLSCpp] support AffineParallelOp; enhance AffineYieldOp emitter to support reductions in AffineParallelOp 2020-09-03 22:12:30 -05:00
Hanchen Ye 626f38e3e2 [EmitHLSCpp] support affine apply/max/min/load/store operations 2020-09-03 19:44:09 -05:00
Hanchen Ye 3a98c5efa5 [EmitHLSCpp] support AffineIfOp with explicit AffineYieldOp as terminator for returning results 2020-09-03 15:59:54 -05:00
Hanchen Ye c8500bcd85 [EmitHLSCpp] support AffineIfOp 2020-09-03 15:24:14 -05:00
Hanchen Ye 77ad1a9602 [EmitHLSCpp] support multi-results affine map as loop bound 2020-09-02 23:27:43 -05:00
Hanchen Ye 1af75d3246 [EmitHLSCpp] affine expr emitting; support affine map as loop bound; change code structure 2020-09-02 22:34:02 -05:00
Hanchen Ye f3d2136e80 [EmitHLSCpp] initial support of AffineForOp 2020-09-02 11:04:32 -05:00
Hanchen Ye 6ece17048a [EmitHLSCpp] handle memref function input/output 2020-08-31 23:09:48 -05:00
Hanchen Ye 2f936af25f [EmitHLSCpp] support Alloc/Load/Store operations 2020-08-31 22:35:51 -05:00
Hanchen Ye 5071fbcbf3 [EmitHLSCpp] initial design of AllocOp support 2020-08-30 23:32:30 -05:00
Hanchen Ye 4bbf6c9f84 [EmitHLSCpp] support ConstantOp 2020-08-30 22:00:34 -05:00
Hanchen Ye 8146b1b1d2 [EmitHLSCpp] support all unary operations 2020-08-30 20:26:52 -05:00
Hanchen Ye 2115585a94 [EmitHLSCpp] function signature handler; nameTable mechanism; correctly emit addi example 2020-08-29 14:56:24 -05:00
Hanchen Ye 395b70052c [EmitHLSCpp] change getTypeString method, now using ap_int<> and ap_uint 2020-08-29 00:05:51 -05:00
Hanchen Ye 3600f8719b [EmitHLSCpp] can emit addi operation now; add getTypeString method 2020-08-28 23:42:03 -05:00
Hanchen Ye b683a79983 [EmitHLSCpp] modify class structure, visitors work well; can identify addi and return now 2020-08-28 18:39:03 -05:00
Hanchen Ye fe2cc4fdba [EmitHLSCpp] update code structure; add two visitors 2020-08-27 23:32:02 -05:00
Hanchen Ye 01baa10c97 [EmitHLSCpp] some basic classes; hlsld-translate entry; add testcase 2020-08-26 23:23:22 -05:00
Hanchen Ye b35338e68e build code structure; update readme; remove pymlir directory 2020-08-25 14:11:30 -05:00