Lines Matching refs:OffImm

796 	int32_t OffImm;  in printThumbLdrLabelOperand()  local
800 OffImm = (int32_t)MCOperand_getImm(MO1); in printThumbLdrLabelOperand()
801 isSub = OffImm < 0; in printThumbLdrLabelOperand()
804 if (OffImm == INT32_MIN) in printThumbLdrLabelOperand()
805 OffImm = 0; in printThumbLdrLabelOperand()
807 SStream_concat(O, "#-0x%x", -OffImm); in printThumbLdrLabelOperand()
809 if (OffImm > HEX_THRESHOLD) in printThumbLdrLabelOperand()
810 SStream_concat(O, "#0x%x", OffImm); in printThumbLdrLabelOperand()
812 SStream_concat(O, "#%u", OffImm); in printThumbLdrLabelOperand()
822 MI->flat_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.disp = OffImm; in printThumbLdrLabelOperand()
1690 int32_t OffImm = (int32_t)MCOperand_getImm(MO) << scale; in printAdrLabelOperand() local
1692 if (OffImm == INT32_MIN) { in printAdrLabelOperand()
1700 if (OffImm < 0) in printAdrLabelOperand()
1701 SStream_concat(O, "#-0x%x", -OffImm); in printAdrLabelOperand()
1703 if (OffImm > HEX_THRESHOLD) in printAdrLabelOperand()
1704 SStream_concat(O, "#0x%x", OffImm); in printAdrLabelOperand()
1706 SStream_concat(O, "#%u", OffImm); in printAdrLabelOperand()
1710 MI->flat_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].imm = OffImm; in printAdrLabelOperand()
1871 int32_t OffImm; in printAddrModeImm12Operand() local
1886 OffImm = (int32_t)MCOperand_getImm(MO2); in printAddrModeImm12Operand()
1887 isSub = OffImm < 0; in printAddrModeImm12Operand()
1889 if (OffImm == INT32_MIN) in printAddrModeImm12Operand()
1890 OffImm = 0; in printAddrModeImm12Operand()
1892 if (OffImm < -HEX_THRESHOLD) in printAddrModeImm12Operand()
1893 SStream_concat(O, ", #-0x%x", -OffImm); in printAddrModeImm12Operand()
1895 SStream_concat(O, ", #-%u", -OffImm); in printAddrModeImm12Operand()
1896 } else if (AlwaysPrintImm0 || OffImm > 0) { in printAddrModeImm12Operand()
1897 if (OffImm >= 0) { in printAddrModeImm12Operand()
1898 if (OffImm > HEX_THRESHOLD) in printAddrModeImm12Operand()
1899 SStream_concat(O, ", #0x%x", OffImm); in printAddrModeImm12Operand()
1901 SStream_concat(O, ", #%u", OffImm); in printAddrModeImm12Operand()
1903 if (OffImm < -HEX_THRESHOLD) in printAddrModeImm12Operand()
1904 SStream_concat(O, ", #-0x%x", -OffImm); in printAddrModeImm12Operand()
1906 SStream_concat(O, ", #-%u", -OffImm); in printAddrModeImm12Operand()
1910 MI->flat_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.disp = OffImm; in printAddrModeImm12Operand()
1920 int32_t OffImm; in printT2AddrModeImm8Operand() local
1930 OffImm = (int32_t)MCOperand_getImm(MO2); in printT2AddrModeImm8Operand()
1931 isSub = OffImm < 0; in printT2AddrModeImm8Operand()
1933 if (OffImm == INT32_MIN) in printT2AddrModeImm8Operand()
1934 OffImm = 0; in printT2AddrModeImm8Operand()
1937 SStream_concat(O, ", #-0x%x", -OffImm); in printT2AddrModeImm8Operand()
1938 else if (AlwaysPrintImm0 || OffImm > 0) { in printT2AddrModeImm8Operand()
1939 if (OffImm > HEX_THRESHOLD) in printT2AddrModeImm8Operand()
1940 SStream_concat(O, ", #0x%x", OffImm); in printT2AddrModeImm8Operand()
1942 SStream_concat(O, ", #%u", OffImm); in printT2AddrModeImm8Operand()
1946 MI->flat_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.disp = OffImm; in printT2AddrModeImm8Operand()
1956 int32_t OffImm; in printT2AddrModeImm8s4Operand() local
1970 OffImm = (int32_t)MCOperand_getImm(MO2); in printT2AddrModeImm8s4Operand()
1971 isSub = OffImm < 0; in printT2AddrModeImm8s4Operand()
1976 if (OffImm == INT32_MIN) in printT2AddrModeImm8s4Operand()
1977 OffImm = 0; in printT2AddrModeImm8s4Operand()
1979 SStream_concat(O, ", #-0x%x", -OffImm); in printT2AddrModeImm8s4Operand()
1980 } else if (AlwaysPrintImm0 || OffImm > 0) { in printT2AddrModeImm8s4Operand()
1981 if (OffImm > HEX_THRESHOLD) in printT2AddrModeImm8s4Operand()
1982 SStream_concat(O, ", #0x%x", OffImm); in printT2AddrModeImm8s4Operand()
1984 SStream_concat(O, ", #%u", OffImm); in printT2AddrModeImm8s4Operand()
1987 MI->flat_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.disp = OffImm; in printT2AddrModeImm8s4Operand()
2022 int32_t OffImm = (int32_t)MCOperand_getImm(MO1); in printT2AddrModeImm8OffsetOperand() local
2024 if (OffImm == INT32_MIN) { in printT2AddrModeImm8OffsetOperand()
2032 if (OffImm < 0) { in printT2AddrModeImm8OffsetOperand()
2033 if (OffImm < -HEX_THRESHOLD) in printT2AddrModeImm8OffsetOperand()
2034 SStream_concat(O, "#-0x%x", -OffImm); in printT2AddrModeImm8OffsetOperand()
2036 SStream_concat(O, "#-%u", -OffImm); in printT2AddrModeImm8OffsetOperand()
2038 if (OffImm > HEX_THRESHOLD) in printT2AddrModeImm8OffsetOperand()
2039 SStream_concat(O, "#0x%x", OffImm); in printT2AddrModeImm8OffsetOperand()
2041 SStream_concat(O, "#%u", OffImm); in printT2AddrModeImm8OffsetOperand()
2045 MI->flat_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].imm = OffImm; in printT2AddrModeImm8OffsetOperand()
2055 int32_t OffImm = (int32_t)MCOperand_getImm(MO1); in printT2AddrModeImm8s4OffsetOperand() local
2060 if (OffImm == INT32_MIN) { in printT2AddrModeImm8s4OffsetOperand()
2068 if (OffImm < 0) { in printT2AddrModeImm8s4OffsetOperand()
2069 if (OffImm < -HEX_THRESHOLD) in printT2AddrModeImm8s4OffsetOperand()
2070 SStream_concat(O, "#-0x%x", -OffImm); in printT2AddrModeImm8s4OffsetOperand()
2072 SStream_concat(O, "#-%u", -OffImm); in printT2AddrModeImm8s4OffsetOperand()
2074 if (OffImm > HEX_THRESHOLD) in printT2AddrModeImm8s4OffsetOperand()
2075 SStream_concat(O, "#0x%x", OffImm); in printT2AddrModeImm8s4OffsetOperand()
2077 SStream_concat(O, "#%u", OffImm); in printT2AddrModeImm8s4OffsetOperand()
2081 MI->flat_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].imm = OffImm; in printT2AddrModeImm8s4OffsetOperand()