X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmini%2Fmini-llvm-cpp.h;h=9e551e2557d8ace03612505abb36b9c4f2c2310f;hb=9e17248c03a49708bd1e60fec0e2cdb0684f378b;hp=ee502e29d09f31ed11bfdd2d5b910871d471e1f0;hpb=93ce056a764e8048f33548a3744ba2bd84072043;p=mono.git diff --git a/mono/mini/mini-llvm-cpp.h b/mono/mini/mini-llvm-cpp.h index ee502e29d09..9e551e2557d 100644 --- a/mono/mini/mini-llvm-cpp.h +++ b/mono/mini/mini-llvm-cpp.h @@ -15,6 +15,8 @@ #include "llvm-c/Core.h" #include "llvm-c/ExecutionEngine.h" +#include + G_BEGIN_DECLS /* @@ -84,6 +86,34 @@ mono_llvm_replace_uses_of (LLVMValueRef var, LLVMValueRef v); LLVMValueRef mono_llvm_build_cmpxchg (LLVMBuilderRef builder, LLVMValueRef addr, LLVMValueRef comparand, LLVMValueRef value); +void +mono_llvm_set_must_tail (LLVMValueRef call_ins); + +LLVMValueRef +mono_llvm_create_constant_data_array (const uint8_t *data, int len); + +void +mono_llvm_set_is_constant (LLVMValueRef global_var); + +void +mono_llvm_set_preserveall_cc (LLVMValueRef func); + +void +mono_llvm_set_call_preserveall_cc (LLVMValueRef call); + +_Unwind_Reason_Code +mono_debug_personality (int a, _Unwind_Action b, + uint64_t c, struct _Unwind_Exception *d, struct _Unwind_Context *e); + +void +mono_llvm_set_unhandled_exception_handler (void); + +void +default_mono_llvm_unhandled_exception (void); + +void +mono_llvm_create_di_compile_unit (LLVMModuleRef module); + G_END_DECLS #endif /* __MONO_MINI_LLVM_CPP_H__ */