Added atomic cmpxchg.
This commit is contained in:
parent
9d068fd582
commit
acad5c9d8b
6 changed files with 127 additions and 0 deletions
|
|
@ -740,6 +740,10 @@ _wrap_objobjobjstr2obj(LLVMBuildBitCast, LLVMBuilderRef, LLVMValueRef, LLVMTypeR
|
|||
_wrap_objenumobjobjstr2obj(LLVMBuildICmp, LLVMBuilderRef, LLVMIntPredicate, LLVMValueRef, LLVMValueRef, LLVMValueRef)
|
||||
_wrap_objenumobjobjstr2obj(LLVMBuildFCmp, LLVMBuilderRef, LLVMRealPredicate, LLVMValueRef, LLVMValueRef, LLVMValueRef)
|
||||
|
||||
|
||||
/* Atomics */
|
||||
_wrap_objobjobjobjstrint2obj(LLVMBuildAtomicCmpXchg, LLVMBuilderRef, LLVMValueRef, LLVMValueRef, LLVMValueRef, LLVMValueRef)
|
||||
|
||||
/* Miscellaneous instructions */
|
||||
|
||||
_wrap_objobjintstr2obj(LLVMBuildGetResult, LLVMBuilderRef, LLVMValueRef, LLVMValueRef)
|
||||
|
|
@ -1647,6 +1651,9 @@ static PyMethodDef core_methods[] = {
|
|||
_method( LLVMBuildICmp )
|
||||
_method( LLVMBuildFCmp )
|
||||
|
||||
/* Atomics */
|
||||
_method( LLVMBuildAtomicCmpXchg )
|
||||
|
||||
/* Miscellaneous instructions */
|
||||
_method( LLVMBuildGetResult )
|
||||
_method( LLVMBuildPhi )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue