Generating and Viewing LLVM Code

Intel® Code Builder for  OpenCL™ API plug-in for Microsoft Visual Studio* IDE enables generating LLVM representation of the OpenCL™ code. To enable generating and viewing LLVM code, do the following:

  1. Go to Project > Properties.
  2. Click Configuration Properties > OpenCL Code Builder > General.
  3. Change the Generate LLVM Code option to Yes.

After the build, you can open the generated LLVM file in the Visual Studio editor by double-clicking the message in the Output view.