In LLVM, when a CUDA source file is compiled into PTX file, opcodes are generated. Now which section on LLVM converts these opcodes in PTX file to binary (hexcode) (i.e the final executable). Searching the llvm/lib/Target/NVPTX didn't give an answer to this.