sail::FunctionPointerCall Class Reference
A function pointer call instruction is of the form ret = (*fn_ptr)(s1, ... sk).
More...
#include <FunctionPointerCall.h>
List of all members.
Detailed Description
A function pointer call instruction is of the form ret = (*fn_ptr)(s1, ... sk).
Member Function Documentation
vector< Symbol * > * sail::FunctionPointerCall::get_arguments |
( |
|
) |
|
- Returns:
- Arguments used in this call.
Variable * sail::FunctionPointerCall::get_function_pointer |
( |
|
) |
|
- Returns:
- the function pointer that's invoked
Variable * sail::FunctionPointerCall::get_return_variable |
( |
|
) |
|
- Returns:
- the variable used to capture the return value; can be NULL.
bool sail::FunctionPointerCall::has_return |
( |
|
) |
|
- Returns:
- Is the return value captured?
bool sail::FunctionPointerCall::is_removable |
( |
|
) |
[virtual] |
An instruction is removable if it's not present in the original source code, but introduced in the translation from the high-level language to the low-level language. For instance, if **x is an expression used in the original code, the low-level language will introduce a temporary t=*x; such instructions are "removable" for printing purposes.
Implements sail::Instruction.
The documentation for this class was generated from the following files: