Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 151a238

Browse files
committed
Commit generated code
1 parent eedc165 commit 151a238

25 files changed

+66
-66
lines changed
File renamed without changes.

src/libasr/pass/subroutine_from_function.h renamed to src/libasr/pass/create_subroutine_from_function.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_SUBROUTINE_FROM_FUNCTION_H
2-
#define LIBASR_PASS_SUBROUTINE_FROM_FUNCTION_H
1+
#ifndef LIBASR_PASS_CREATE_SUBROUTINE_FROM_FUNCTION_H
2+
#define LIBASR_PASS_CREATE_SUBROUTINE_FROM_FUNCTION_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_SUBROUTINE_FROM_FUNCTION_H
14+
#endif // LIBASR_PASS_CREATE_SUBROUTINE_FROM_FUNCTION_H
File renamed without changes.

src/libasr/pass/arr_slice.h renamed to src/libasr/pass/replace_arr_slice.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_ARR_SLICE_H
2-
#define LIBASR_PASS_ARR_SLICE_H
1+
#ifndef LIBASR_PASS_REPLACE_ARR_SLICE_H
2+
#define LIBASR_PASS_REPLACE_ARR_SLICE_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_ARR_SLICE_H
14+
#endif // LIBASR_PASS_REPLACE_ARR_SLICE_H

src/libasr/pass/array_op.h renamed to src/libasr/pass/replace_array_op.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_ARRAY_OP_H
2-
#define LIBASR_PASS_ARRAY_OP_H
1+
#ifndef LIBASR_PASS_REPLACE_ARRAY_OP_H
2+
#define LIBASR_PASS_REPLACE_ARRAY_OP_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_ARRAY_OP_H
14+
#endif // LIBASR_PASS_REPLACE_ARRAY_OP_H

src/libasr/pass/class_constructor.h renamed to src/libasr/pass/replace_class_constructor.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_CLASS_CONSTRUCTOR_H
2-
#define LIBASR_PASS_CLASS_CONSTRUCTOR_H
1+
#ifndef LIBASR_PASS_REPLACE_CLASS_CONSTRUCTOR_H
2+
#define LIBASR_PASS_REPLACE_CLASS_CONSTRUCTOR_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_CLASS_CONSTRUCTOR_H
14+
#endif // LIBASR_PASS_REPLACE_CLASS_CONSTRUCTOR_H

src/libasr/pass/div_to_mul.h renamed to src/libasr/pass/replace_div_to_mul.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_DIV_TO_MUL_H
2-
#define LIBASR_PASS_DIV_TO_MUL_H
1+
#ifndef LIBASR_PASS_REPLACE_DIV_TO_MUL_H
2+
#define LIBASR_PASS_REPLACE_DIV_TO_MUL_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_DIV_TO_MUL_H
14+
#endif // LIBASR_PASS_REPLACE_DIV_TO_MUL_H

src/libasr/pass/do_loops.h renamed to src/libasr/pass/replace_do_loops.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_DO_LOOPS_H
2-
#define LIBASR_PASS_DO_LOOPS_H
1+
#ifndef LIBASR_PASS_REPLACE_DO_LOOPS_H
2+
#define LIBASR_PASS_REPLACE_DO_LOOPS_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_DO_LOOPS_H
14+
#endif // LIBASR_PASS_REPLACE_DO_LOOPS_H

src/libasr/pass/flip_sign.h renamed to src/libasr/pass/replace_flip_sign.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_FLIP_SIGN_H
2-
#define LIBASR_PASS_FLIP_SIGN_H
1+
#ifndef LIBASR_PASS_REPLACE_FLIP_SIGN_H
2+
#define LIBASR_PASS_REPLACE_FLIP_SIGN_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_FLIP_SIGN_H
14+
#endif // LIBASR_PASS_REPLACE_FLIP_SIGN_H

src/libasr/pass/fma.h renamed to src/libasr/pass/replace_fma.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_FMA_H
2-
#define LIBASR_PASS_FMA_H
1+
#ifndef LIBASR_PASS_REPLACE_FMA_H
2+
#define LIBASR_PASS_REPLACE_FMA_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_FMA_H
14+
#endif // LIBASR_PASS_REPLACE_FMA_H

src/libasr/pass/for_all.h renamed to src/libasr/pass/replace_for_all.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_FOR_ALL_H
2-
#define LIBASR_PASS_FOR_ALL_H
1+
#ifndef LIBASR_PASS_REPLACE_FOR_ALL_H
2+
#define LIBASR_PASS_REPLACE_FOR_ALL_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_FOR_ALL_H
14+
#endif // LIBASR_PASS_REPLACE_FOR_ALL_H

src/libasr/pass/implied_do_loops.h renamed to src/libasr/pass/replace_implied_do_loops.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_IMPLIED_DO_LOOPS_H
2-
#define LIBASR_PASS_IMPLIED_DO_LOOPS_H
1+
#ifndef LIBASR_PASS_REPLACE_IMPLIED_DO_LOOPS_H
2+
#define LIBASR_PASS_REPLACE_IMPLIED_DO_LOOPS_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_IMPLIED_DO_LOOPS_H
14+
#endif // LIBASR_PASS_REPLACE_IMPLIED_DO_LOOPS_H

src/libasr/pass/init_expr.h renamed to src/libasr/pass/replace_init_expr.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_INIT_EXPR_H
2-
#define LIBASR_PASS_INIT_EXPR_H
1+
#ifndef LIBASR_PASS_REPLACE_INIT_EXPR_H
2+
#define LIBASR_PASS_REPLACE_INIT_EXPR_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_INIT_EXPR_H
14+
#endif // LIBASR_PASS_REPLACE_INIT_EXPR_H

src/libasr/pass/intrinsic_function.h renamed to src/libasr/pass/replace_intrinsic_function.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_INTRINSIC_FUNCTION_H
2-
#define LIBASR_PASS_INTRINSIC_FUNCTION_H
1+
#ifndef LIBASR_PASS_REPLACE_INTRINSIC_FUNCTION_H
2+
#define LIBASR_PASS_REPLACE_INTRINSIC_FUNCTION_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_INTRINSIC_FUNCTION_H
14+
#endif // LIBASR_PASS_REPLACE_INTRINSIC_FUNCTION_H

src/libasr/pass/param_to_const.h renamed to src/libasr/pass/replace_param_to_const.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_PARAM_TO_CONST_H
2-
#define LIBASR_PASS_PARAM_TO_CONST_H
1+
#ifndef LIBASR_PASS_REPLACE_PARAM_TO_CONST_H
2+
#define LIBASR_PASS_REPLACE_PARAM_TO_CONST_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_PARAM_TO_CONST_H
14+
#endif // LIBASR_PASS_REPLACE_PARAM_TO_CONST_H

src/libasr/pass/print_arr.h renamed to src/libasr/pass/replace_print_arr.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_PRINT_ARR_H
2-
#define LIBASR_PASS_PRINT_ARR_H
1+
#ifndef LIBASR_PASS_REPLACE_PRINT_ARR_H
2+
#define LIBASR_PASS_REPLACE_PRINT_ARR_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_PRINT_ARR_H
14+
#endif // LIBASR_PASS_REPLACE_PRINT_ARR_H

src/libasr/pass/print_list_tuple.h renamed to src/libasr/pass/replace_print_list_tuple.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_PRINT_LIST_TUPLE_H
2-
#define LIBASR_PASS_PRINT_LIST_TUPLE_H
1+
#ifndef LIBASR_PASS_REPLACE_PRINT_LIST_TUPLE_H
2+
#define LIBASR_PASS_REPLACE_PRINT_LIST_TUPLE_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_PRINT_LIST_TUPLE_H
14+
#endif // LIBASR_PASS_REPLACE_PRINT_LIST_TUPLE_H

src/libasr/pass/print_struct_type.h renamed to src/libasr/pass/replace_print_struct_type.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_PRINT_STRUCT_TYPE_H
2-
#define LIBASR_PASS_PRINT_STRUCT_TYPE_H
1+
#ifndef LIBASR_PASS_REPLACE_PRINT_STRUCT_TYPE_H
2+
#define LIBASR_PASS_REPLACE_PRINT_STRUCT_TYPE_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_PRINT_STRUCT_TYPE_H
14+
#endif // LIBASR_PASS_REPLACE_PRINT_STRUCT_TYPE_H

src/libasr/pass/select_case.h renamed to src/libasr/pass/replace_select_case.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_SELECT_CASE_H
2-
#define LIBASR_PASS_SELECT_CASE_H
1+
#ifndef LIBASR_PASS_REPLACE_SELECT_CASE_H
2+
#define LIBASR_PASS_REPLACE_SELECT_CASE_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_SELECT_CASE_H
14+
#endif // LIBASR_PASS_REPLACE_SELECT_CASE_H

src/libasr/pass/sign_from_value.h renamed to src/libasr/pass/replace_sign_from_value.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_SIGN_FROM_VALUE_H
2-
#define LIBASR_PASS_SIGN_FROM_VALUE_H
1+
#ifndef LIBASR_PASS_REPLACE_SIGN_FROM_VALUE_H
2+
#define LIBASR_PASS_REPLACE_SIGN_FROM_VALUE_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_SIGN_FROM_VALUE_H
14+
#endif // LIBASR_PASS_REPLACE_SIGN_FROM_VALUE_H

src/libasr/pass/where.h renamed to src/libasr/pass/replace_where.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_WHERE_H
2-
#define LIBASR_PASS_WHERE_H
1+
#ifndef LIBASR_PASS_REPLACE_WHERE_H
2+
#define LIBASR_PASS_REPLACE_WHERE_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_WHERE_H
14+
#endif // LIBASR_PASS_REPLACE_WHERE_H

src/libasr/pass/global_stmts.h renamed to src/libasr/pass/wrap_global_stmts.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_GLOBAL_STMTS_H
2-
#define LIBASR_PASS_GLOBAL_STMTS_H
1+
#ifndef LIBASR_PASS_WRAP_GLOBAL_STMTS_H
2+
#define LIBASR_PASS_WRAP_GLOBAL_STMTS_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_GLOBAL_STMTS_H
14+
#endif // LIBASR_PASS_WRAP_GLOBAL_STMTS_H

src/libasr/pass/global_stmts_program.h renamed to src/libasr/pass/wrap_global_stmts_program.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_GLOBAL_STMTS_PROGRAM_H
2-
#define LIBASR_PASS_GLOBAL_STMTS_PROGRAM_H
1+
#ifndef LIBASR_PASS_WRAP_GLOBAL_STMTS_PROGRAM_H
2+
#define LIBASR_PASS_WRAP_GLOBAL_STMTS_PROGRAM_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_GLOBAL_STMTS_PROGRAM_H
14+
#endif // LIBASR_PASS_WRAP_GLOBAL_STMTS_PROGRAM_H

src/libasr/pass/global_symbols.h renamed to src/libasr/pass/wrap_global_symbols.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef LIBASR_PASS_GLOBAL_SYMBOLS_H
2-
#define LIBASR_PASS_GLOBAL_SYMBOLS_H
1+
#ifndef LIBASR_PASS_WRAP_GLOBAL_SYMBOLS_H
2+
#define LIBASR_PASS_WRAP_GLOBAL_SYMBOLS_H
33

44
#include <libasr/asr.h>
55
#include <libasr/utils.h>
@@ -11,4 +11,4 @@ namespace LCompilers {
1111

1212
} // namespace LCompilers
1313

14-
#endif // LIBASR_PASS_GLOBAL_SYMBOLS_H
14+
#endif // LIBASR_PASS_WRAP_GLOBAL_SYMBOLS_H

0 commit comments

Comments
 (0)