No Clock  1.0.2

Getters on for loops. More...

Functions

instruction_list * instruction_for_loop_get_body (instruction *instr)
 Get a for loop's body. More...
 
char * instruction_for_loop_get_identifier (instruction *instr)
 Get a for loop's iterator identifier. More...
 
expression * instruction_for_loop_get_left_boundary (instruction *instr)
 Get a for loop's left boundary. More...
 
expression * instruction_for_loop_get_right_boundary (instruction *instr)
 Get a for loop's right boundary. More...
 

Detailed Description

Getters on for loops.

Since
version 1.0.0
See also
Getters on for loops

Function Documentation

instruction_list * instruction_for_loop_get_body ( instruction *  instr)
related

Get a for loop's body.

Since
version 1.0.0
Parameters
instrTarget instruction.
Returns
The body of the loop.
Precondition
instruction_get_type() returns INSTR_FOR if used on instr.
See also
Getters on for loops
char * instruction_for_loop_get_identifier ( instruction *  instr)
related

Get a for loop's iterator identifier.

Since
version 1.0.0
Parameters
instrTarget instruction.
Returns
The identifier of the loop's iterator.
Precondition
instruction_get_type() returns INSTR_FOR if used on instr.
See also
Getters on for loops
expression * instruction_for_loop_get_left_boundary ( instruction *  instr)
related

Get a for loop's left boundary.

Since
version 1.0.0
Parameters
instrTarget instruction.
Returns
The left boundary of the loop.
Precondition
instruction_get_type() returns INSTR_FOR if used on instr.
See also
Getters on for loops
expression * instruction_for_loop_get_right_boundary ( instruction *  instr)
related

Get a for loop's right boundary.

Since
version 1.0.0
Parameters
instrTarget instruction.
Returns
The right boundary of the loop.
Precondition
instruction_get_type() returns INSTR_FOR if used on instr.
See also
Getters on for loops