aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_llvm_build.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-02-06 14:38:19 +1100
committerTimothy Arceri <[email protected]>2018-02-09 09:42:59 +1100
commita9f6b392c7647747ca8e8e776f8af800d77d67c1 (patch)
tree0e05ce7121c84aa933b8186adcfbaac99138d436 /src/amd/common/ac_llvm_build.h
parent19f9839f0b94146227076f45dbbc62077d64e7a9 (diff)
ac: move get_elem_bits() to ac_llvm_build.c
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_build.h')
-rw-r--r--src/amd/common/ac_llvm_build.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_build.h b/src/amd/common/ac_llvm_build.h
index 7e53115dc86..e78e9589cf3 100644
--- a/src/amd/common/ac_llvm_build.h
+++ b/src/amd/common/ac_llvm_build.h
@@ -92,6 +92,9 @@ ac_llvm_context_init(struct ac_llvm_context *ctx, LLVMContextRef context,
int
ac_get_llvm_num_components(LLVMValueRef value);
+int
+ac_get_elem_bits(struct ac_llvm_context *ctx, LLVMTypeRef type);
+
LLVMValueRef
ac_llvm_extract_elem(struct ac_llvm_context *ac,
LLVMValueRef value,