diff options
author | Nicolai Hähnle <[email protected]> | 2016-10-27 16:48:42 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-11-03 10:05:46 +0100 |
commit | 8eabee9ec0c164bd18babfe15311db14040ad337 (patch) | |
tree | 35e09d4b1448880671fb98e161ebce8c4f0d95cd /src/amd/common/ac_llvm_util.h | |
parent | 37d646c1b3626ad54ed93a784824af7b5abe8a99 (diff) |
amd/common: move llvm helper prototype to ac_llvm_util.h
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_util.h')
-rw-r--r-- | src/amd/common/ac_llvm_util.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_util.h b/src/amd/common/ac_llvm_util.h index 8357fbf3f3e..25ebc503ac7 100644 --- a/src/amd/common/ac_llvm_util.h +++ b/src/amd/common/ac_llvm_util.h @@ -28,4 +28,14 @@ #include "amd_family.h" +#ifdef __cplusplus +extern "C" { +#endif + LLVMTargetMachineRef ac_create_target_machine(enum radeon_family family); + +void ac_add_attr_dereferenceable(LLVMValueRef val, uint64_t bytes); + +#ifdef __cplusplus +} +#endif |