Add some more to CallInst and StoreInst
This commit is contained in:
parent
b6c1e7a961
commit
6c2ed9a3ed
1 changed files with 8 additions and 0 deletions
|
|
@ -161,6 +161,10 @@ class CallInst:
|
||||||
|
|
||||||
CreateFree = StaticMethod(ptr(Instruction), ptr(Value), ptr(BasicBlock))
|
CreateFree = StaticMethod(ptr(Instruction), ptr(Value), ptr(BasicBlock))
|
||||||
|
|
||||||
|
getNumArgOperands = Method(cast(Unsigned, int))
|
||||||
|
getArgOperand = Method(ptr(Value), cast(int, Unsigned))
|
||||||
|
setArgOperand = Method(Void, cast(int, Unsigned), ptr(Value))
|
||||||
|
|
||||||
@CmpInst
|
@CmpInst
|
||||||
class CmpInst:
|
class CmpInst:
|
||||||
_downcast_ = Value, User, Instruction
|
_downcast_ = Value, User, Instruction
|
||||||
|
|
@ -239,6 +243,10 @@ class StoreInst:
|
||||||
AtomicOrdering,
|
AtomicOrdering,
|
||||||
SynchronizationScope).require_only(1)
|
SynchronizationScope).require_only(1)
|
||||||
|
|
||||||
|
getValueOperand = Method(ptr(Value))
|
||||||
|
getPointerOperand = Method(ptr(Value))
|
||||||
|
getPointerAddressSpace = Method(cast(Unsigned, int))
|
||||||
|
|
||||||
classof = StaticMethod(cast(Bool, bool), ptr(Value))
|
classof = StaticMethod(cast(Bool, bool), ptr(Value))
|
||||||
|
|
||||||
@TerminatorInst
|
@TerminatorInst
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue