summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_llvm_util.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2018-06-27 09:34:42 +1000
committerDave Airlie <[email protected]>2018-07-04 05:31:29 +1000
commit887ba45c93b0a8cab664d1cd0bff104c862c479d (patch)
tree3930f9f780004e4d0146915ead80e5bb9b0a0fbc /src/amd/common/ac_llvm_util.h
parente1387eaf124b298d65707fce77e942af9622cbe1 (diff)
ac: add target library info helpers
Reviewed-by: Bas Nieuwenhuizen <[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.h2
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 8d4f7d83150..1175971e257 100644
--- a/src/amd/common/ac_llvm_util.h
+++ b/src/amd/common/ac_llvm_util.h
@@ -113,6 +113,8 @@ ac_count_scratch_private_memory(LLVMValueRef function);
LLVMPassManagerRef ac_create_passmgr(LLVMTargetLibraryInfoRef target_library_info,
bool check_ir);
+LLVMTargetLibraryInfoRef ac_create_target_library_info(const char *triple);
+void ac_dispose_target_library_info(LLVMTargetLibraryInfoRef library_info);
void ac_init_llvm_once(void);
#ifdef __cplusplus