From 79866eaaf708759db9458e60bb4ea51799608f2e Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Fri, 7 Oct 2016 12:34:59 -0600 Subject: fix unroll & cleanup --- include/chillAST/chillAST_def.hh | 6 +++++- include/loop.hh | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/chillAST/chillAST_def.hh b/include/chillAST/chillAST_def.hh index acdce08..7a9528e 100644 --- a/include/chillAST/chillAST_def.hh +++ b/include/chillAST/chillAST_def.hh @@ -87,6 +87,7 @@ enum CHILLAST_PREPROCESSING_POSITION { // when tied to another statement CHILLAST_PREPROCESSING_IMMEDIATELYBEFORE // on same line }; +//! Parse to the most basic type char *parseUnderlyingType(const char *sometype); char *parseArrayParts(char *sometype); @@ -95,7 +96,10 @@ bool isRestrict(const char *sometype); char *splitTypeInfo(char *underlyingtype); -//! change "1024UL" to "1024" +//! remove UL from numbers, MODIFIES the argument! +/*! + * change "1024UL" to "1024" + */ char *ulhack(char *brackets); //! remove __restrict__ , MODIFIES the argument! diff --git a/include/loop.hh b/include/loop.hh index 7c746f6..8aa7851 100644 --- a/include/loop.hh +++ b/include/loop.hh @@ -162,6 +162,7 @@ public: void permute(const std::set &active, const std::vector &pi); void permute(int stmt_num, int level, const std::vector &pi); void permute(const std::vector &pi); + // TODO doc and usage needed void original(); void tile(int stmt_num, int level, int tile_size, int outer_level = 1, TilingMethodType method = StridedTile, int alignment_offset = 0, int alignment_multiple = 1); -- cgit v1.2.3-70-g09d2