Beignet Backend as an LLVM Target

Dear LLVM experts!

we would like to use BeignetBackend

as and LLVM Target

It shown in teh Beignet code there is a note

"Well, the complete code base is somehow a compiler backend for LLVM. Here, we

really speak about the final code generation passes that you may find in

Dear LLVM experts!

we would like to use BeignetBackend
as and LLVM Target

It shown in teh Beignet code there is a note
"Well, the complete code base is somehow a compiler backend for LLVM.
Here, we
really speak about the final code generation passes that you may find in
`src/backend`."
http://www.freedesktop.org/wiki/Software/Beignet/Backend/compiler_backe
nd/
But Beignet does not work as an backend such as CBackend I was able to
transform to be compilable for LLVM3.3 in the past

Is there anybody ho recomend me howto port Beignet as a regular LLVM
target as shown in llc -version output,please

Hi,

Here is the documentation for writing an LLVM backend:

http://llvm.org/docs/CodeGenerator.html
http://llvm.org/docs/WritingAnLLVMBackend.html

Note that this is not a trival task.

-Tom

Hi,

You may also find this presentation useful for the LLVM Backend:
http://llvm.org/devmtg/2014-10/Slides/Cormack-BuildingAnLLVMBackend.pdf

Thanks,

Ambuj