No Clock  1.0.2
Mixed instruction types

Getters on several types of instructions. More...

Functions

instruction_list * instruction_body (instruction *instr)
 Get an instruction's body. More...
 
char * instruction_identifier (instruction *instr)
 Get an instruction's identifier. More...
 

Detailed Description

Getters on several types of instructions.

Since
version 1.0.0
See also
Getters on several types

Function Documentation

instruction_list * instruction_body ( instruction *  instr)
related

Get an instruction's body.

Since
version 1.0.0
Parameters
instrTarget instruction.
Returns
The instruction's body.
Return values
NULLif the target instruction's type is incompatible with this getter (see Getters valid for several types).
Warning
This getter shall not be used on INSTR_ADVANCE, INSTR_CALL or INSTR_UNKNOWN instructions.
See also
Getters valid for several types
char * instruction_identifier ( instruction *  instr)
related

Get an instruction's identifier.

Since
version 1.0.0
Parameters
instrTarget instruction.
Returns
The instruction's identifier.
Return values
NULLif the target instruction's type is incompatible with this getter (see Getters valid for severaltypes").
Warning
This getter shall not be used on an instruction if it's type is neither INSTR_FOR nor INSTR_CALL.
See also
Getters valid for several types