diff options
author | Nicolai Hähnle <[email protected]> | 2016-10-28 14:40:24 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-11-03 10:06:27 +0100 |
commit | 908100cfae88a9e83560919018fc8a8a3a7bf745 (patch) | |
tree | 9f211eca0ee99e201e532518eaef89a295e42081 /src/amd/common/ac_llvm_util.h | |
parent | 2ff5df8f5097d25899996ea344d09be5c76de323 (diff) |
amd/common: add ac_is_sgpr_param helper
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_util.h b/src/amd/common/ac_llvm_util.h index 25ebc503ac7..d9ea9bd185a 100644 --- a/src/amd/common/ac_llvm_util.h +++ b/src/amd/common/ac_llvm_util.h @@ -24,6 +24,7 @@ */ #pragma once +#include <stdbool.h> #include <llvm-c/TargetMachine.h> #include "amd_family.h" @@ -35,6 +36,7 @@ extern "C" { LLVMTargetMachineRef ac_create_target_machine(enum radeon_family family); void ac_add_attr_dereferenceable(LLVMValueRef val, uint64_t bytes); +bool ac_is_sgpr_param(LLVMValueRef param); #ifdef __cplusplus } |