Create or destroy an instruction.
More...
Create or destroy an instruction.
An instruction can be created using instruction_alloc() and destroyed using instruction_free().
Build an advance.
- Since
- version
1.0.0
- Returns
- The resulting instruction.
Allocate an instruction.
- Since
- version
1.0.0
- Returns
- The newly allocated instruction.
Build an async block.
- Since
- version
1.0.0
- Parameters
-
- Returns
- The resulting instruction.
Build a clocked async block.
- Since
- version
1.0.0
- Parameters
-
- Returns
- The resulting instruction.
Build a clocked finish block.
- Since
- version
1.0.0
- Parameters
-
- Returns
- The resulting instruction.
Build a finish block.
- Since
- version
1.0.0
- Parameters
-
- Returns
- The resulting instruction.
Build a for loop.
- Since
- version
1.0.0
- Parameters
-
| identifier | Identifier of the iterator. |
| left | Left boundary of the for loop. |
| right | Right boundary of the for loop. |
| body | Body of the loop. |
- Returns
- The resulting instruction.
Free an instruction.
- Since
- version
1.0.0
- Parameters
-
Build a function call instruction.
- Since
- version
1.0.0
- Parameters
-
| identifier | Identifier of the function. |
| arguments | Arguments of the function. |
- Returns
- The resulting instruction.
Build a branch.
- Since
- version
1.0.0
- Parameters
-
| has_else | Whether the branch has an else body. |
| condition | The branching condition. |
| true_body | The body when the condition is true. |
| false_body | The body when the condition is false. |
- Returns
- The resulting instruction.