Home
last modified time | relevance | path

Searched refs:MCOperand_getImm (Results 1 – 22 of 22) sorted by relevance

/external/capstone/arch/Sparc/
DSparcGenAsmWriter.inc1229 MCOperand_getImm(MCInst_getOperand(MI, 1)) == 8) {
1236 MCOperand_getImm(MCInst_getOperand(MI, 1)) == 0) {
1243 MCOperand_getImm(MCInst_getOperand(MI, 1)) == 9) {
1250 MCOperand_getImm(MCInst_getOperand(MI, 1)) == 1) {
1257 MCOperand_getImm(MCInst_getOperand(MI, 1)) == 10) {
1264 MCOperand_getImm(MCInst_getOperand(MI, 1)) == 2) {
1271 MCOperand_getImm(MCInst_getOperand(MI, 1)) == 11) {
1278 MCOperand_getImm(MCInst_getOperand(MI, 1)) == 3) {
1285 MCOperand_getImm(MCInst_getOperand(MI, 1)) == 12) {
1292 MCOperand_getImm(MCInst_getOperand(MI, 1)) == 4) {
[all …]
DSparcInstPrinter.c120 MCOperand_getImm(MCInst_getOperand(MI, 2)) == 8) { in printSparcAliasInstr()
193 Imm = (int)MCOperand_getImm(MO); in printOperand()
313 if (MCOperand_isImm(MO) && (MCOperand_getImm(MO) == 0)) { in printMemOperand()
326 int CC = (int)MCOperand_getImm(MCInst_getOperand(MI, opNum)) + 256; in printCCOperand()
/external/capstone/arch/PowerPC/
DPPCInstPrinter.c88 unsigned char SH = (unsigned char)MCOperand_getImm(MCInst_getOperand(MI, 2)); in PPC_printInst()
89 unsigned char MB = (unsigned char)MCOperand_getImm(MCInst_getOperand(MI, 3)); in PPC_printInst()
90 unsigned char ME = (unsigned char)MCOperand_getImm(MCInst_getOperand(MI, 4)); in PPC_printInst()
138 unsigned char SH = (unsigned char)MCOperand_getImm(MCInst_getOperand(MI, 2)); in PPC_printInst()
139 unsigned char ME = (unsigned char)MCOperand_getImm(MCInst_getOperand(MI, 3)); in PPC_printInst()
158 int64_t bd = MCOperand_getImm(MCInst_getOperand(MI, 2)); in PPC_printInst()
166 int64_t bd = MCOperand_getImm(MCInst_getOperand(MI, 0)); in PPC_printInst()
174 int64_t bd = MCOperand_getImm(MCInst_getOperand(MI, 0)); in PPC_printInst()
250 unsigned Code = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNo)); in printPredicateOperand()
354 unsigned int Value = (int)MCOperand_getImm(MCInst_getOperand(MI, OpNo)); in printU2ImmOperand()
[all …]
DPPCGenAsmWriter.inc4298 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 12 &&
4307 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 12 &&
4315 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 14 &&
4324 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 14 &&
4332 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 15 &&
4341 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 15 &&
4349 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 44 &&
4358 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 44 &&
4366 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 46 &&
4375 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 46 &&
[all …]
/external/capstone/arch/AArch64/
DAArch64InstPrinter.c88 if (MCOperand_isImm(Op2) && MCOperand_getImm(Op2) == 0 && MCOperand_isImm(Op3)) { in AArch64_printInst()
91 switch (MCOperand_getImm(Op3)) { in AArch64_printInst()
139 int64_t immr = MCOperand_getImm(Op2); in AArch64_printInst()
140 int64_t imms = MCOperand_getImm(Op3); in AArch64_printInst()
189 if (MCOperand_getImm(Op2) > MCOperand_getImm(Op3)) { in AArch64_printInst()
193 printInt32Bang(O, (int)((Is64Bit ? 64 : 32) - MCOperand_getImm(Op2))); in AArch64_printInst()
195 printInt32Bang(O, (int)MCOperand_getImm(Op3) + 1); in AArch64_printInst()
207 …ands[MI->flat_insn->detail->arm64.op_count].imm = (Is64Bit ? 64 : 32) - (int)MCOperand_getImm(Op2); in AArch64_printInst()
210 …nsn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].imm = MCOperand_getImm(Op3) + 1; in AArch64_printInst()
221 printInt32Bang(O, (int)MCOperand_getImm(Op2)); in AArch64_printInst()
[all …]
DAArch64GenAsmWriter.inc7070 MCOperand_getImm(MCOp) != ARM64_CC_AL &&
7071 MCOperand_getImm(MCOp) != ARM64_CC_NV);
7103 MCOperand_getImm(MCInst_getOperand(MI, 3)) == 0) {
7126 MCOperand_getImm(MCInst_getOperand(MI, 3)) == 0) {
7140 MCOperand_getImm(MCInst_getOperand(MI, 3)) == 16) {
7163 MCOperand_getImm(MCInst_getOperand(MI, 3)) == 16) {
7187 MCOperand_getImm(MCInst_getOperand(MI, 3)) == 0) {
7210 MCOperand_getImm(MCInst_getOperand(MI, 3)) == 0) {
7236 MCOperand_getImm(MCInst_getOperand(MI, 3)) == 24) {
7259 MCOperand_getImm(MCInst_getOperand(MI, 3)) == 24) {
[all …]
/external/capstone/arch/SystemZ/
DSystemZInstPrinter.c93 int64_t Imm = MCOperand_getImm(MO); in _printOperand()
117 int64_t Value = MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printU4ImmOperand()
140 uint32_t Value = (uint32_t)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printU6ImmOperand()
157 int8_t Value = (int8_t)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printS8ImmOperand()
181 uint8_t Value = (uint8_t)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printU8ImmOperand()
198 int16_t Value = (int16_t)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printS16ImmOperand()
222 uint16_t Value = (uint16_t)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printU16ImmOperand()
239 int32_t Value = (int32_t)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printS32ImmOperand()
263 uint32_t Value = (uint32_t)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printU32ImmOperand()
280 int64_t Value = MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printAccessRegOperand()
[all …]
/external/capstone/arch/ARM/
DARMInstPrinter.c415 switch (MCOperand_getImm(MCInst_getOperand(MI, 0))) { in ARM_printInst()
449 …SStream_concat0(O, ARM_AM_getShiftOpcStr(ARM_AM_getSORegShOp((unsigned int)MCOperand_getImm(MO3)))… in ARM_printInst()
487 …SStream_concat0(O, ARM_AM_getShiftOpcStr(ARM_AM_getSORegShOp((unsigned int)MCOperand_getImm(MO2)))… in ARM_printInst()
507 if (ARM_AM_getSORegShOp((unsigned int)MCOperand_getImm(MO2)) == ARM_AM_rrx) { in ARM_printInst()
513 tmp = translateShiftImm(getSORegOffset((unsigned int)MCOperand_getImm(MO2))); in ARM_printInst()
520 (arm_shifter)ARM_AM_getSORegShOp((unsigned int)MCOperand_getImm(MO2)); in ARM_printInst()
545 MCOperand_getImm(MCInst_getOperand(MI, 3)) == -4) { in ARM_printInst()
581 if ((getAM2Op((unsigned int)MCOperand_getImm(MO2)) == ARM_AM_add && in ARM_printInst()
582 getAM2Offset((unsigned int)MCOperand_getImm(MO2)) == 4) || in ARM_printInst()
583 MCOperand_getImm(MO2) == 4) { in ARM_printInst()
[all …]
DARMGenAsmWriter.inc8744 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 0) {
8771 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 15) {
8780 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 15) {
8814 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 0) {
8821 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 1) {
8828 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 2) {
8835 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 3) {
8842 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 4) {
8849 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 5) {
8858 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 15) {
[all …]
DARMDisassembler.c745 Firstcond = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, 0)); in _Thumb_getInstruction()
746 Mask = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, 1)); in _Thumb_getInstruction()
/external/capstone/arch/Mips/
DMipsInstPrinter.c206 int64_t imm = MCOperand_getImm(Op); in printOperand()
249 int64_t imm = MCOperand_getImm(MO); in printUnsignedImm()
274 uint8_t imm = (uint8_t)MCOperand_getImm(MO); in printUnsignedImm8()
315 SStream_concat0(O, MipsFCCToString((Mips_CondCode)MCOperand_getImm(MO))); in printFCCOperand()
DMipsGenAsmWriter.inc5211 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 0 &&
5213 MCOperand_getImm(MCInst_getOperand(MI, 1)) == 0) {
5220 MCOperand_getImm(MCInst_getOperand(MI, 1)) == 0) {
5287 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 0) {
5296 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 0) {
5307 MCOperand_getImm(MCInst_getOperand(MI, 2)) == 0) {
5340 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 0) {
5349 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 0) {
5362 MCOperand_getImm(MCInst_getOperand(MI, 2)) == 0) {
5375 MCOperand_getImm(MCInst_getOperand(MI, 2)) == 0) {
[all …]
DMipsDisassembler.c1305 int Pos = (int)MCOperand_getImm(MCInst_getOperand(Inst, 2)); in DecodeInsSize()
/external/capstone/arch/X86/
DX86IntelInstPrinter.c188 int64_t Imm = MCOperand_getImm(MCInst_getOperand(MI, Op)) & 7; in printSSECC()
212 int64_t Imm = MCOperand_getImm(MCInst_getOperand(MI, Op)) & 0x1f; in printAVXCC()
252 int64_t Imm = MCOperand_getImm(MCInst_getOperand(MI, Op)) & 0x3; in printRoundingControl()
277 int64_t imm = MCOperand_getImm(Op); in _printOperand()
439 int64_t imm = MCOperand_getImm(DispSpec); in printMemOffset()
544 int64_t imm = MCOperand_getImm(Op) + MI->flat_insn->size + MI->address; in printPCRelImm()
611 int64_t imm = MCOperand_getImm(Op); in printOperand()
770 uint64_t ScaleVal = MCOperand_getImm(MCInst_getOperand(MI, Op + X86_AddrScaleAmt)); in printMemReference()
812 int64_t DispVal = MCOperand_getImm(DispSpec); in printMemReference()
DX86ATTInstPrinter.c166 int64_t Imm = MCOperand_getImm(MCInst_getOperand(MI, Op)) & 7; in printSSECC()
190 int64_t Imm = MCOperand_getImm(MCInst_getOperand(MI, Op)) & 0x1f; in printAVXCC()
230 int64_t Imm = MCOperand_getImm(MCInst_getOperand(MI, Op)) & 0x3; in printRoundingControl()
252 int64_t imm = MCOperand_getImm(Op); in _printOperand()
408 int64_t imm = MCOperand_getImm(DispSpec); in printMemOffset()
457 int64_t imm = MCOperand_getImm(Op) + MI->flat_insn->size + MI->address; in printPCRelImm()
514 int64_t imm = MCOperand_getImm(Op); in printOperand()
703 int64_t DispVal = MCOperand_getImm(DispSpec); in printMemReference()
745 ScaleVal = MCOperand_getImm(MCInst_getOperand(MI, Op + X86_AddrScaleAmt)); in printMemReference()
DX86GenAsmWriter1_reduce.inc2782 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 10) {
2791 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 10) {
DX86GenAsmWriter_reduce.inc3096 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 10) {
3105 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 10) {
DX86GenAsmWriter.inc15663 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 10) {
15672 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 10) {
DX86GenAsmWriter1.inc15060 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 10) {
15069 MCOperand_getImm(MCInst_getOperand(MI, 0)) == 10) {
/external/capstone/
DMCInst.h65 int64_t MCOperand_getImm(MCOperand *op);
DMCInst.c120 int64_t MCOperand_getImm(MCOperand *op) in MCOperand_getImm() function
/external/capstone/arch/XCore/
DXCoreInstPrinter.c209 int32_t Imm = (int32_t)MCOperand_getImm(MO); in _printOperand()