|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/lldb/source/Plugins/Architecture/Arm/ArchitectureArm.cpp 82 const uint32_t J = Bit32(cpsr, 24);
83 const uint32_t T = Bit32(cpsr, 5);
tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp 940 if (Bit32(opcode, 8))
1055 if (Bit32(opcode, 8))
1066 if (BitCount(registers) < 2 || (Bit32(opcode, 15) && Bit32(opcode, 14)))
1066 if (BitCount(registers) < 2 || (Bit32(opcode, 15) && Bit32(opcode, 14)))
1300 Rd = Bit32(opcode, 7) << 3 | Bits32(opcode, 2, 0);
1394 carry = APSR_C;
1401 imm32 = ThumbExpandImm_C(opcode, APSR_C, carry);
1414 uint32_t i = Bit32(opcode, 26);
1428 imm32 = ARMExpandImm_C(opcode, APSR_C, carry);
1585 SetBit32(m_new_inst_cpsr, CPSR_N_POS, Bit32(result, 31));
1632 imm32 = ThumbExpandImm_C(opcode, APSR_C, carry);
1637 imm32 = ARMExpandImm_C(opcode, APSR_C, carry);
1725 Shift_C(value, shift_t, shift_n, APSR_C, carry, &success);
1881 setflags = Bit32(opcode, 20);
1897 uint32_t i = Bit32(opcode, 26);
2038 uint32_t S = Bit32(opcode, 26);
2040 uint32_t J1 = Bit32(opcode, 13);
2041 uint32_t J2 = Bit32(opcode, 11);
2057 uint32_t S = Bit32(opcode, 26);
2059 uint32_t J1 = Bit32(opcode, 13);
2060 uint32_t J2 = Bit32(opcode, 11);
2593 d = Bit32(opcode, 22) << 4 | Bits32(opcode, 15, 12);
2604 d = Bits32(opcode, 15, 12) << 1 | Bit32(opcode, 22);
2685 d = Bit32(opcode, 22) << 4 | Bits32(opcode, 15, 12);
2696 d = Bits32(opcode, 15, 12) << 1 | Bit32(opcode, 22);
2846 uint32_t S = Bit32(opcode, 26);
2848 uint32_t J1 = Bit32(opcode, 13);
2849 uint32_t J2 = Bit32(opcode, 11);
2859 uint32_t S = Bit32(opcode, 26);
2861 uint32_t J1 = Bit32(opcode, 13);
2862 uint32_t J2 = Bit32(opcode, 11);
2917 imm32 = Bit32(opcode, 9) << 6 | Bits32(opcode, 7, 3) << 1;
3070 imm32 = ThumbExpandImm_C(opcode, APSR_C, carry_out);
3089 uint32_t i = Bit32(opcode, 26);
3241 Rd = Rn = Bit32(opcode, 7) << 3 | Bits32(opcode, 2, 0);
3272 uint32_t shifted = Shift(val2, shift_t, shift_n, APSR_C, &success);
3394 uint32_t shifted = Shift(val2, shift_t, shift_n, APSR_C, &success);
3486 Rn = Bit32(opcode, 7) << 3 | Bits32(opcode, 2, 0);
3520 uint32_t shifted = Shift(val2, shift_t, shift_n, APSR_C, &success);
3825 uint32_t result = Shift_C(value, shift_type, amt, APSR_C, carry, &success);
3896 uint32_t result = Shift_C(value, shift_type, amt, APSR_C, carry, &success);
5424 offset = Shift(Rm_data, shift_t, shift_n, APSR_C, &success);
5739 uint32_t offset = Shift(Rm, shift_t, shift_n, APSR_C, &success);
5857 AddWithCarryResult res = AddWithCarry(val1, imm32, APSR_C);
5941 uint32_t shifted = Shift(val2, shift_t, shift_n, APSR_C, &success);
5944 AddWithCarryResult res = AddWithCarry(val1, shifted, APSR_C);
6054 opcode, APSR_C,
6067 ARMExpandImm_C(opcode, APSR_C,
6168 uint32_t shifted = Shift_C(val2, shift_t, shift_n, APSR_C, carry, &success);
6219 opcode, APSR_C,
6229 ARMExpandImm_C(opcode, APSR_C,
6332 uint32_t shifted = Shift_C(val2, shift_t, shift_n, APSR_C, carry, &success);
6616 Shift(Rm, shift_t, shift_n, Bit32(m_opcode_cpsr, APSR_C), &success);
6616 Shift(Rm, shift_t, shift_n, Bit32(m_opcode_cpsr, APSR_C), &success);
7033 addr_t offset = Shift(Rm, shift_t, shift_n, APSR_C, &success);
7445 addr_t offset = Shift(Rm, shift_t, shift_n, APSR_C, &success);
7850 addr_t offset = Shift(Rm, shift_t, shift_n, APSR_C, &success);
8283 addr_t offset = Shift(Rm, shift_t, shift_n, APSR_C, &success);
8750 wordhigher = (Bit32(opcode, 24) == Bit32(opcode, 23));
8750 wordhigher = (Bit32(opcode, 24) == Bit32(opcode, 23));
8861 opcode, APSR_C,
8874 ARMExpandImm_C(opcode, APSR_C,
8980 uint32_t shifted = Shift_C(val2, shift_t, shift_n, APSR_C, carry, &success);
9030 opcode, APSR_C,
9043 ARMExpandImm_C(opcode, APSR_C,
9145 uint32_t shifted = Shift_C(val2, shift_t, shift_n, APSR_C, carry, &success);
9298 uint32_t shifted = Shift(val2, shift_t, shift_n, APSR_C, &success);
9359 AddWithCarryResult res = AddWithCarry(~reg_val, imm32, APSR_C);
9426 uint32_t shifted = Shift(val2, shift_t, shift_n, APSR_C, &success);
9429 AddWithCarryResult res = AddWithCarry(~val1, shifted, APSR_C);
9496 AddWithCarryResult res = AddWithCarry(reg_val, ~imm32, APSR_C);
9580 uint32_t shifted = Shift(val2, shift_t, shift_n, APSR_C, &success);
9583 AddWithCarryResult res = AddWithCarry(val1, ~shifted, APSR_C);
9786 opcode, APSR_C,
9794 ARMExpandImm_C(opcode, APSR_C,
9869 uint32_t shifted = Shift_C(val2, shift_t, shift_n, APSR_C, carry, &success);
9911 opcode, APSR_C,
9919 ARMExpandImm_C(opcode, APSR_C,
10000 uint32_t shifted = Shift_C(val2, shift_t, shift_n, APSR_C, carry, &success);
10087 uint32_t shifted = Shift(Rm, shift_t, shift_n, APSR_C, &success);
10173 uint32_t shifted = Shift(Rm, shift_t, shift_n, APSR_C, &success);
10305 uint32_t shifted = Shift(Rm, shift_t, shift_n, APSR_C, &success);
11260 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21))
11260 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21))
11271 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12);
11295 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21))
11295 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21))
11305 d = (Bits32(opcode, 15, 12) << 1) | Bit32(opcode, 22);
11454 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21))
11454 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21))
11465 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12);
11489 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21))
11489 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21))
11499 d = (Bits32(opcode, 15, 12) << 1) | Bit32(opcode, 22);
11658 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12);
11671 d = (Bits32(opcode, 15, 12) << 1) | Bit32(opcode, 22);
11784 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12);
11801 d = (Bits32(opcode, 15, 12) << 1) | Bit32(opcode, 22);
11960 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12);
12115 index = Bit32(index_align, 3);
12126 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12);
12289 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12);
12449 index = Bit32(index_align, 3);
12460 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12);
12582 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12);
12748 operand2 = Shift(Rm, shift_t, shift_n, APSR_C, &success);
12790 result = AddWithCarry(Rn, operand2, APSR_C);
12795 result = AddWithCarry(Rn, ~(operand2), APSR_C);
12800 result = AddWithCarry(~(Rn), operand2, APSR_C);
14052 tmp_cpsr = tmp_cpsr | (Bit32(value, 9) << 9);
14054 tmp_cpsr = tmp_cpsr | (Bit32(value, 8) << 8);
14061 tmp_cpsr = tmp_cpsr | (Bit32(value, 5) << 5);
14299 SetBit32(m_new_inst_cpsr, CPSR_N_POS, Bit32(result, CPSR_N_POS));
tools/lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp 627 const uint32_t sf = Bit32(opcode, 31);
628 const uint32_t op = Bit32(opcode, 30);
629 const uint32_t S = Bit32(opcode, 29);
708 uint32_t V = Bit32(opcode, 26);
709 uint32_t L = Bit32(opcode, 22);
963 if (Bit32(opc, 1) == 0) {
964 memop = Bit32(opc, 0) == 1 ? MemOp_LOAD : MemOp_STORE;
967 if (size == 2 && Bit32(opc, 0) == 1)
1077 BranchType branch_type = Bit32(opcode, 31) ? BranchType_CALL : BranchType_JMP;
1140 bool is_zero = Bit32(opcode, 24) == 0;
1175 uint32_t bit_pos = (Bit32(opcode, 31) << 6) | (Bits32(opcode, 23, 19));
1176 uint32_t bit_val = Bit32(opcode, 24);
1184 if (m_ignore_conditions || Bit32(operand, bit_pos) == bit_val) {
tools/lldb/source/Plugins/Process/Utility/ARMUtils.h 96 carry_out = amount <= 32 ? Bit32(value, 32 - amount) : 0;
120 carry_out = amount <= 32 ? Bit32(value, amount - 1) : 0;
146 carry_out = Bit32(value, amount - 1);
177 carry_out = Bit32(value, 31);
197 carry_out = Bit32(value, 0);
198 return Bit32(carry_in, 0) << 31 | Bits32(value, 31, 1);
289 carry_out = Bit32(imm32, 31);
334 carry_out = Bit32(imm32, 31);