export pet_expr_new_cast
[pet.git] / tests / forward_substitution4.scop
blob1b08eeb74c18dcb6bc8c565ad357900bcdef67d1
1 start: 36
2 end: 106
3 indent: "\t"
4 context: '[N] -> {  : N <= 2147483647 and N >= -2147483648 }'
5 arrays:
6 - context: '{  :  }'
7   extent: '[N] -> { a[i0] : i0 <= 9 and i0 >= 0 }'
8   element_type: int
9   element_size: 4
10 - context: '{  :  }'
11   extent: '[N] -> { c[] }'
12   element_type: int
13   element_size: 4
14 statements:
15 - line: 5
16   domain: '[N] -> { S_0[] }'
17   schedule: '{ S_0[] -> [0] }'
18   body:
19     type: expression
20     expr:
21       type: op
22       operation: =
23       arguments:
24       - type: access
25         index: '[N] -> { S_0[] -> c[] }'
26         reference: __pet_ref_0
27         read: 0
28         write: 1
29       - type: int
30         value: 1
31 - line: 7
32   domain: '[N] -> { S_1[] : N = 2 }'
33   schedule: '[N] -> { S_1[] -> [1] }'
34   body:
35     type: expression
36     expr:
37       type: op
38       operation: =
39       arguments:
40       - type: access
41         index: '[N] -> { S_1[] -> c[] }'
42         reference: __pet_ref_1
43         read: 0
44         write: 1
45       - type: int
46         value: 2
47 - line: 8
48   domain: '[N] -> { S_2[] }'
49   schedule: '{ S_2[] -> [2] }'
50   body:
51     type: expression
52     expr:
53       type: op
54       operation: =
55       arguments:
56       - type: access
57         index: '[N] -> { [S_2[] -> [i0]] -> a[((i0) : i0 >= 0)] }'
58         reference: __pet_ref_3
59         read: 0
60         write: 1
61         arguments:
62         - type: access
63           index: '[N] -> { S_2[] -> c[] }'
64           reference: __pet_ref_2
65           read: 1
66           write: 0
67       - type: int
68         value: 5