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 I look forward hearing form you. Yours faithfully Peter Fodrek -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150527/bfc40fac/attachment.html>
On Wed, May 27, 2015 at 10:10:47AM +0200, Peter Fodrek wrote:> 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> I look forward hearing form you. > > Yours faithfully > > Peter Fodrek >> _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Hi, You may also find this presentation useful for the LLVM Backend: http://llvm.org/devmtg/2014-10/Slides/Cormack-BuildingAnLLVMBackend.pdf Thanks, Ambuj On Wed, May 27, 2015 at 3:13 PM, Tom Stellard <tom at stellard.net> wrote:> On Wed, May 27, 2015 at 10:10:47AM +0200, Peter Fodrek wrote: > > 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 > > > I look forward hearing form you. > > > > Yours faithfully > > > > Peter Fodrek > > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150527/fc66489d/attachment.html>