llvm-project/llvm/projects/llvm-spirv/lib/SPIRV/runtime/README.txt
raw| 1 | This directory contains SPIR-V builtin functions used by |
| 2 | the LLVM module converted from SPIR-V by the SPIR-V/LLVM |
| 3 | converter. The SPIR-V consumers need to add these builtin |
| 4 | functions to their runtime library. |
| 5 | |
| 6 | For OpenCL, most of the SPIR-V instructions are translated |
| 7 | to either LLVM instructions or OpenCL builtin function calls |
| 8 | by the converter. Therefore only a few SPIR-V instructions |
| 9 | need to be implemented in the runtime. |