ilo: move device limits to ilo_dev_info or to GPEs
[mesa.git] / src / gallium / drivers / r600 / r600_llvm.h
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 unsigned char ** inst_bytes,
22 unsigned * inst_byte_count,
23 enum radeon_family family,
24 struct r600_bytecode *bc,
25 boolean *use_kill,
26 unsigned dump);
27
28 #endif /* defined R600_USE_LLVM || defined HAVE_OPENCL */
29
30 #endif /* R600_LLVM_H */