Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1.  
  2. #ifndef R600_LLVM_H
  3. #define R600_LLVM_H
  4.  
  5. #if defined R600_USE_LLVM || defined HAVE_OPENCL
  6.  
  7. #include "radeon_llvm.h"
  8. #include <llvm-c/Core.h>
  9.  
  10. struct r600_bytecode;
  11. struct r600_shader_ctx;
  12. struct radeon_llvm_context;
  13. enum radeon_family;
  14.  
  15. LLVMModuleRef r600_tgsi_llvm(
  16.         struct radeon_llvm_context * ctx,
  17.         const struct tgsi_token * tokens);
  18.  
  19. unsigned r600_llvm_compile(
  20.         LLVMModuleRef mod,
  21.         enum radeon_family family,
  22.         struct r600_bytecode *bc,
  23.         boolean *use_kill,
  24.         unsigned dump);
  25.  
  26. #endif /* defined R600_USE_LLVM || defined HAVE_OPENCL */
  27.  
  28. #endif /* R600_LLVM_H */
  29.