Added pointer_size and get_or_insert_function to Module
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@43 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
parent
aee33c6612
commit
2780d9fc10
5 changed files with 53 additions and 1 deletions
|
|
@ -51,6 +51,12 @@ LLVMValueRef LLVMBuildGetResult(LLVMBuilderRef, LLVMValueRef V,
|
|||
LLVMValueRef LLVMGetIntrinsic(LLVMModuleRef B, int ID,
|
||||
LLVMTypeRef *Types, unsigned Count);
|
||||
|
||||
/* module */
|
||||
|
||||
unsigned LLVMModuleGetPointerSize(LLVMModuleRef M);
|
||||
LLVMValueRef LLVMModuleGetOrInsertFunction(LLVMModuleRef M,
|
||||
const char *Name, LLVMTypeRef FunctionTy);
|
||||
|
||||
/* instruction */
|
||||
|
||||
unsigned LLVMInstIsTerminator(LLVMValueRef I);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue