aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm.hpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2015-11-27 15:46:06 -0700
committerAndrew Kelley <superjoe30@gmail.com>2015-11-27 15:46:06 -0700
commit024052b4483b13639e998ef34dc097a24860c612 (patch)
tree267af11f1d492a1c532a671079ade5520564299a /src/zig_llvm.hpp
parent9ca9a2c5540683a54bae597c59152d06d095beef (diff)
downloadzig-024052b4483b13639e998ef34dc097a24860c612.tar.gz
zig-024052b4483b13639e998ef34dc097a24860c612.zip
add pub and export visibility modifiers and optimization
Diffstat (limited to 'src/zig_llvm.hpp')
-rw-r--r--src/zig_llvm.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/zig_llvm.hpp b/src/zig_llvm.hpp
index 1a7a6ef736..fda8e371ec 100644
--- a/src/zig_llvm.hpp
+++ b/src/zig_llvm.hpp
@@ -21,4 +21,12 @@ void LLVMZigInitializeUnreachableBlockElimPass(LLVMPassRegistryRef R);
char *LLVMZigGetHostCPUName(void);
char *LLVMZigGetNativeFeatures(void);
+LLVMBool LLVMZigTargetMachineEmitToFile(LLVMTargetMachineRef target_machine, LLVMModuleRef module,
+ char* filename, LLVMCodeGenFileType codegen, char** error_msg);
+
+void LLVMZigOptimizeModule(LLVMTargetMachineRef targ_machine_ref, LLVMModuleRef module_ref);
+
+LLVMValueRef LLVMZigBuildCall(LLVMBuilderRef B, LLVMValueRef Fn, LLVMValueRef *Args,
+ unsigned NumArgs, unsigned CC, const char *Name);
+
#endif