LLVM and Assembly Code View

Intel® SDK for OpenCL™ Applications standalone version enables viewing the generated LLVM, SPIR, and Assembly intermediate representation (IR) of the OpenCL code. To view the LLVM, SPIR, or Assembly code, do the following:

  1. Build your kernel.
  2. Click Show LLVM or Show Assembly .

You can view the SPIR representation by selecting the corresponding tab in the LLVM View window:

To hide the view windows, click the corresponding button again.

Note

Assembly code view is available for the CPU device only.

See Also

Building and Compiling Kernels

For more complete information about compiler optimizations, see our Optimization Notice.