• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1This directory contains SPIR-V builtin functions used by
2the LLVM module converted from SPIR-V by the SPIR-V/LLVM
3converter. The SPIR-V consumers need to add these builtin
4functions to their runtime library.
5
6For OpenCL, most of the SPIR-V instructions are translated
7to either LLVM instructions or OpenCL builtin function calls
8by the converter. Therefore only a few SPIR-V instructions
9need to be implemented in the runtime.