radeon/llvm: Use LLVM C API for compiling LLVM IR to ISA v2
authorTom Stellard <thomas.stellard@amd.com>
Tue, 2 Apr 2013 17:42:50 +0000 (10:42 -0700)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 6 May 2013 16:06:06 +0000 (09:06 -0700)
commit024fe6852a76f33d7e2afc5621340e387c381bb0
tree7f51eaef023680967b689e743e00ba086f2b1152
parent55eb8eaaa8bf8696d56effce6ed87f03bea779e0
radeon/llvm: Use LLVM C API for compiling LLVM IR to ISA v2

The LLVM C API is considered stable and should never change, so it
is much more desirable to use than the LLVM C++ API, which is constantly in
flux.

v2:
  - Split target initialization and lookup into separate functions

Reviewed-by: Mathias.Froehlich@web.de
src/gallium/drivers/radeon/Makefile.am
src/gallium/drivers/radeon/Makefile.sources
src/gallium/drivers/radeon/radeon_llvm_emit.c [new file with mode: 0644]
src/gallium/drivers/radeon/radeon_llvm_emit.cpp [deleted file]
src/gallium/drivers/radeon/radeon_llvm_emit.h