This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
manet:docs:attributes [2015/04/17 18:01] ppinto |
manet:docs:attributes [2019/09/22 15:47] (current) |
||
---|---|---|---|
Line 16: | Line 16: | ||
| ::: | num_args | Integer | The number of arguments of the function call. | | | ::: | num_args | Integer | The number of arguments of the function call. | | ||
| ::: | ID | String | A string that uniquely identifies the function call inside the program. | | | ::: | ID | String | A string that uniquely identifies the function call inside the program. | | ||
- | | ::: | return_type | String | A string representation of the return type of the function being called. | | + | | ::: | return_type | String | A string representation of the return type of the function being called, e.g., ''int''. | |
| declaration | name | String | The name of the variable being declared. | | | declaration | name | String | The name of the variable being declared. | | ||
| ::: | is_array | Boolean | Whether the declared variable is an array. | | | ::: | is_array | Boolean | Whether the declared variable is an array. | | ||
Line 29: | Line 29: | ||
| file | name | String | The name of the file. | | | file | name | String | The name of the file. | | ||
| function | name | String | The name of the function. | | | function | name | String | The name of the function. | | ||
- | | ::: | return type | String | A string representation of the return type of the function. | | + | | ::: | return_type | String | A string representation of the return type of the function, e.g., ''int''. | |
| ::: | line | Integer | The line number where this fucntion is located in the original source file. | | | ::: | line | Integer | The line number where this fucntion is located in the original source file. | | ||
| if | rank | String | A string that uniquely identifies this //IF// inside the function. For instance, ''1.1'' would mean the selected //IF// is the first //IF// found inside the first of the outermost conditionals. | | | if | rank | String | A string that uniquely identifies this //IF// inside the function. For instance, ''1.1'' would mean the selected //IF// is the first //IF// found inside the first of the outermost conditionals. | | ||
Line 46: | Line 46: | ||
| ::: | line | Integer | The line number where this loop is located in the original source file. | | | ::: | line | Integer | The line number where this loop is located in the original source file. | | ||
| statement | line | Integer | The line number where this statement is located in the original source file. | | | statement | line | Integer | The line number where this statement is located in the original source file. | | ||
- | | var| references| enum: {read,write,decl}| a| | + | |var |references |enum: {read,write,decl} |The type of variable use. **decl** stands for declaration. | |
- | | :::| num_reads| Integer| a| | + | |::: |scope |enum: {local,global} |Whether this variable was declared globally or in the current function. | |
- | | :::| num_writes| Integer| a| | + | |::: |type |String |A string representation of the type of the variable, e.g., ''int''. | |
- | | :::| num_accesses| Integer| a| | + | |::: |is_array |Boolean |Whether this variable is an array. | |
- | | :::| scope| enum: {local,global}| a| | + | |::: |is_pointer |Boolean |Whether this variable is a pointer. | |
- | | :::| type| String| a| | + | |::: |is_struct |Boolean |Whether this variable is a struct. | |
- | | :::| is_array| Boolean| a| | + | |::: |name |String |The name of this variable. | |
- | | :::| is_pointer| Boolean| a| | + | |::: |is_arg |Boolean |Whether this variable use is inside a function call as an argument. | |
- | | :::| is_struct| Boolean| a| | + | |::: |in_loop_header |Boolean |Whether this variable use is inside a loop header. | |
- | | :::| shape| String| a| | + | |::: |is_param |Boolean |Whether this variable use is a parameter definition. | |
- | | :::| size| Integer| a| | + | |::: |is_scalar |Boolean |Whether this variable is scalar. | |
- | | :::| name| String| a| | + | |::: |has_init |Boolean |Whether this variable use represents a declaration that has an initializer. | |
- | | :::| is_arg| Boolean| a| | + | |::: |is_primitive |Boolean |Whether this variable is not a user-defined type. | |
- | | :::| in_loop_header| Boolean| a| | + | |::: |line |Integer |The line number where this variable use is located in the original source file. | |
- | | :::| is_param| Boolean| a| | + | |
- | | :::| is_scalar| Boolean| a| | + | |
- | | :::| has_init| Boolean| a| | + | |
- | | :::| n_in| Integer| a| | + | |
- | | :::| n_out| Integer| a| | + | |
- | | :::| is_primitive| Boolean| a| | + | |
- | | :::| line| Integer| a| | + |