keep track of indentation of extracted code
[pet.git] / tests / cast.scop
blob55ce2254cc6cf8f76b0ed98b5f91d53b076d24e2
1 start: 37
2 end: 80
3 indent: "\t"
4 context: '[c] -> {  : c <= 127 and c >= -128 }'
5 arrays:
6 - context: '{  :  }'
7   extent: '[c] -> { a[] }'
8   element_type: int
9   element_size: 4
10 statements:
11 - line: 7
12   domain: '[c] -> { S_0[] }'
13   schedule: '{ S_0[] -> [0] }'
14   body:
15     type: op
16     operation: =
17     arguments:
18     - type: access
19       relation: '[c] -> { S_0[] -> a[] }'
20       index: '[c] -> { S_0[] -> a[] }'
21       reference: __pet_ref_0
22       read: 0
23       write: 1
24     - type: cast
25       type_name: int
26       arguments:
27       - type: access
28         relation: '[c] -> { S_0[] -> [c] }'
29         index: '[c] -> { S_0[] -> [(c)] }'
30         reference: __pet_ref_1
31         read: 1
32         write: 0