No Clock  1.0.2

Get properties of instructions. More...

Modules

 For loops
 Getters on for loops.
 
 Function calls
 Getters on function calls.
 
 If Then Else
 Getters on if then else branchs.
 
 Mixed instruction types
 Getters on several types of instructions.
 
 X10 constructs
 Getters on X10 constructs.
 

Functions

instruction_type instruction_get_type (const instruction *instr)
 Get an instruction's type. More...
 

Detailed Description

Get properties of instructions.

Since
version 1.0.0

The type of an instruction can be inspected with instruction_get_type().

Getters valid for several types

The following getters are valid for several types of instructions. Their behaviour depends on the actual type of the target instruction.

Getters on function calls

The getters specific to INSTR_CALL instructions are:

Getters on for loops

The getters for INSTR_FOR instructions are:

Getters on branchs

The getters for INSTR_IF and INSTR_IF_ELSE instructions are:

Getters on X10 block wrappers

Use instruction_other_get_block() to get the inner block of INSTR_FINISH, INSTR_CLOCKED_FINISH, INSTR_ASYNC and INSTR_CLOCKED_ASYNC instructions.

Function Documentation

instruction_type instruction_get_type ( const instruction *  instr)
related

Get an instruction's type.

Since
version 1.0.0
Parameters
instrTarget instruction.
Returns
The instruction's type.