You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implementation of SPV_INTEL_function_pointers extension
The extension specification is published here
https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/spirv/SPV_INTEL_function_pointers.asciidoc
Overview:
This extensions brings two "levels" of function pointers support added under
corresponding capabilities:
Two new instructions are added under FunctionPointersINTEL capability:
- OpFunctionPointerINTEL to support "address of" operator for functions,
- OpFunctionPointerCallINTEL to do indirect function calls.
ReferencedIndirectlyINTEL decoration is added under IndirectReferencesINTEL
capability. This decoration can be attached to functions which are not
referenced directly in the module. These function must not be optimized out
based on call graph/reachability analysis.
Signed-off-by: Alexey Sachkov <[email protected]>
Signed-off-by: Alexey Sotkin <[email protected]>
0 commit comments