Add control to alignment of ld/st inst

This commit is contained in:
Siu Kwan Lam 2012-08-21 18:28:04 -05:00
commit d78253ebe3
4 changed files with 31 additions and 2 deletions

View file

@ -752,6 +752,9 @@ _wrap_objobjstr2obj(LLVMBuildLoad, LLVMBuilderRef, LLVMValueRef, LLVMValueRef)
_wrap_objobjobj2obj(LLVMBuildStore, LLVMBuilderRef, LLVMValueRef, LLVMValueRef, LLVMValueRef)
_wrap_objobjliststr2obj(LLVMBuildGEP, LLVMBuilderRef, LLVMValueRef, LLVMValueRef, LLVMValueRef)
_wrap_objint2none(LLVMLdSetAlignment, LLVMValueRef)
_wrap_objint2none(LLVMStSetAlignment, LLVMValueRef)
/* Casts */
_wrap_objobjobjstr2obj(LLVMBuildTrunc, LLVMBuilderRef, LLVMValueRef, LLVMTypeRef, LLVMValueRef)
@ -1753,6 +1756,9 @@ static PyMethodDef core_methods[] = {
_method( LLVMBuildStore )
_method( LLVMBuildGEP )
_method( LLVMLdSetAlignment )
_method( LLVMStSetAlignment )
/* Casts */
_method( LLVMBuildTrunc )
_method( LLVMBuildZExt )