These annotations are used to guide the compiler on how to optimize the use of variables.
More...
|
| #define | __aie_copy(x) |
| | Copy of its argument x with own protected uses.
|
| |
| #define | __aie_dont_chain(x) |
| | Protect value x from chain building (post-modification).
|
| |
| #define | __aie_duplicate(x) |
| | Protect value x and duplicate its input operation for all its uses.
|
| |
| #define | __aie_keep_dead(x) |
| | Protect value x from dead code removal.
|
| |
These annotations are used to guide the compiler on how to optimize the use of variables.
◆ __aie_copy
Value:
Copy of its argument x with own protected uses.
- Parameters
-
- Returns
- copy of x
◆ __aie_dont_chain
| #define __aie_dont_chain |
( |
| x | ) |
|
Value:
Protect value x from chain building (post-modification).
- Parameters
-
- Returns
- protected copy of x.
◆ __aie_duplicate
| #define __aie_duplicate |
( |
| x | ) |
|
Value:
Protect value x and duplicate its input operation for all its uses.
This is useful for forcing the (re)generation of a constant or some cheap operation inside a loop. This is only valid for functional operations, not for memory accesses.
- Parameters
-
- Returns
- protected copy of x.
◆ __aie_keep_dead
| #define __aie_keep_dead |
( |
| x | ) |
|
Value:
Protect value x from dead code removal.
- Parameters
-
- Returns
- protected copy of x.