added MCOperand methods
This commit is contained in:
parent
38a00c6e55
commit
25e6651055
1 changed files with 19 additions and 1 deletions
|
|
@ -7,14 +7,32 @@ MCSubtargetInfo = llvm.Class()
|
||||||
MCDisassembler = llvm.Class()
|
MCDisassembler = llvm.Class()
|
||||||
MCInst = llvm.Class()
|
MCInst = llvm.Class()
|
||||||
MCOperand = llvm.Class()
|
MCOperand = llvm.Class()
|
||||||
|
MCExpr = llvm.Class()
|
||||||
|
|
||||||
@MCSubtargetInfo
|
@MCSubtargetInfo
|
||||||
class MCSubtargetInfo:
|
class MCSubtargetInfo:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@MCExpr
|
||||||
|
class MCExpr:
|
||||||
|
_include_ = "llvm/MC/MCExpr.h"
|
||||||
|
|
||||||
@MCOperand
|
@MCOperand
|
||||||
class MCOperand:
|
class MCOperand:
|
||||||
pass
|
_include_ = "llvm/MC/MCInst.h"
|
||||||
|
|
||||||
|
isValid = Method(cast(Bool, bool))
|
||||||
|
isReg = Method(cast(Bool, bool))
|
||||||
|
isImm = Method(cast(Bool, bool))
|
||||||
|
isFPImm = Method(cast(Bool, bool))
|
||||||
|
isExpr = Method(cast(Bool, bool))
|
||||||
|
isInst = Method(cast(Bool, bool))
|
||||||
|
|
||||||
|
getReg = Method(cast(Unsigned, int))
|
||||||
|
getImm = Method(cast(Int64, int))
|
||||||
|
getFPImm = Method(cast(Double, float))
|
||||||
|
getExpr = Method(const(ptr(MCExpr)))
|
||||||
|
|
||||||
|
|
||||||
@MCInst
|
@MCInst
|
||||||
class MCInst:
|
class MCInst:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue