H A D | LowerHelper.cpp | 109 void set_reg_opnd(LowOpndReg* op_reg, int reg, bool isPhysical, LowOpndRegType type) { argument 113 op_reg->physicalReg = reg; 116 op_reg->logicalReg = reg; 290 //!update fields of LowOp and generate a x86 instruction that takes a single reg operand 294 int reg, LowOpndRegType type) { 295 stream = encoder_reg(m, size, reg, true, type, stream); 300 int reg, bool isPhysical, LowOpndRegType type) { 308 int regAll = registerAlloc(type, reg, isPhysical, true); 311 stream = encoder_reg(m, size, reg, isPhysical, type, stream); 316 int reg, boo 293 lower_reg(Mnemonic m, AtomOpCode m2, OpndSize size, int reg, LowOpndRegType type) argument 299 dump_reg(Mnemonic m, AtomOpCode m2, OpndSize size, int reg, bool isPhysical, LowOpndRegType type) argument 315 dump_reg_noalloc(Mnemonic m, OpndSize size, int reg, bool isPhysical, LowOpndRegType type) argument 320 lower_reg_reg(Mnemonic m, AtomOpCode m2, OpndSize size, int reg, int reg2, LowOpndRegType type) argument 335 dump_reg_reg_noalloc(Mnemonic m, OpndSize size, int reg, bool isPhysical, int reg2, bool isPhysical2, LowOpndRegType type) argument 349 dump_reg_reg_noalloc_dst(Mnemonic m, OpndSize size, int reg, bool isPhysical, int reg2, bool isPhysical2, LowOpndRegType type) argument 365 dump_reg_reg_noalloc_src(Mnemonic m, AtomOpCode m2, OpndSize size, int reg, bool isPhysical, int reg2, bool isPhysical2, LowOpndRegType type) argument 386 dump_reg_reg(Mnemonic m, AtomOpCode m2, OpndSize size, int reg, bool isPhysical, int reg2, bool isPhysical2, LowOpndRegType type) argument 419 lower_mem_reg(Mnemonic m, AtomOpCode m2, OpndSize size, int disp, int base_reg, MemoryAccessType mType, int mIndex, int reg, LowOpndRegType type, bool isMoves) argument 441 dump_mem_reg_noalloc(Mnemonic m, OpndSize size, int disp, int base_reg, bool isBasePhysical, MemoryAccessType mType, int mIndex, int reg, bool isPhysical, LowOpndRegType type) argument 450 dump_mem_reg_noalloc_mem(Mnemonic m, AtomOpCode m2, OpndSize size, int disp, int base_reg, bool isBasePhysical, MemoryAccessType mType, int mIndex, int reg, bool isPhysical, LowOpndRegType type) argument 466 dump_mem_reg(Mnemonic m, AtomOpCode m2, OpndSize size, int disp, int base_reg, bool isBasePhysical, MemoryAccessType mType, int mIndex, int reg, bool isPhysical, LowOpndRegType type) argument 492 dump_moves_mem_reg(Mnemonic m, OpndSize size, int disp, int base_reg, bool isBasePhysical, int reg, bool isPhysical) argument 512 dump_movez_mem_reg(Mnemonic m, OpndSize size, int disp, int base_reg, bool isBasePhysical, int reg, bool isPhysical) argument 533 dump_movez_reg_reg(Mnemonic m, OpndSize size, int reg, bool isPhysical, int reg2, bool isPhysical2) argument 565 lower_mem_scale_reg(Mnemonic m, OpndSize size, int base_reg, int disp, int index_reg, int scale, int reg, LowOpndRegType type) argument 582 dump_mem_scale_reg(Mnemonic m, OpndSize size, int base_reg, bool isBasePhysical, int disp, int index_reg, bool isIndexPhysical, int scale, int reg, bool isPhysical, LowOpndRegType type) argument 610 lower_reg_mem_scale(Mnemonic m, OpndSize size, int reg, int base_reg, int disp, int index_reg, int scale, LowOpndRegType type) argument 621 dump_reg_mem_scale(Mnemonic m, OpndSize size, int reg, bool isPhysical, int base_reg, bool isBasePhysical, int disp, int index_reg, bool isIndexPhysical, int scale, LowOpndRegType type) argument 644 lower_reg_mem(Mnemonic m, AtomOpCode m2, OpndSize size, int reg, int disp, int base_reg, MemoryAccessType mType, int mIndex, LowOpndRegType type) argument 651 dump_reg_mem_noalloc(Mnemonic m, OpndSize size, int reg, bool isPhysical, int disp, int base_reg, bool isBasePhysical, MemoryAccessType mType, int mIndex, LowOpndRegType type) argument 660 dump_reg_mem(Mnemonic m, AtomOpCode m2, OpndSize size, int reg, bool isPhysical, int disp, int base_reg, bool isBasePhysical, MemoryAccessType mType, int mIndex, LowOpndRegType type) argument 680 lower_imm_reg(Mnemonic m, AtomOpCode m2, OpndSize size, int imm, int reg, LowOpndRegType type, bool chaining) argument 686 dump_imm_reg_noalloc(Mnemonic m, OpndSize size, int imm, int reg, bool isPhysical, LowOpndRegType type) argument 693 dump_imm_reg(Mnemonic m, AtomOpCode m2, OpndSize size, int imm, int reg, bool isPhysical, LowOpndRegType type, bool chaining) argument 745 lower_fp_mem(Mnemonic m, OpndSize size, int reg, int disp, int base_reg, MemoryAccessType mType, int mIndex) argument 751 dump_fp_mem(Mnemonic m, OpndSize size, int reg, int disp, int base_reg, bool isBasePhysical, MemoryAccessType mType, int mIndex) argument 766 lower_mem_fp(Mnemonic m, OpndSize size, int disp, int base_reg, MemoryAccessType mType, int mIndex, int reg) argument 772 dump_mem_fp(Mnemonic m, OpndSize size, int disp, int base_reg, bool isBasePhysical, MemoryAccessType mType, int mIndex, int reg) argument 795 load_effective_addr(int disp, int base_reg, bool isBasePhysical, int reg, bool isPhysical) argument 804 load_effective_addr_scale(int base_reg, bool isBasePhysical, int index_reg, bool isIndexPhysical, int scale, int reg, bool isPhysical) argument 872 compare_reg_mem(LowOp* op, OpndSize size, int reg, bool isPhysical, int disp, int base_reg, bool isBasePhysical) argument 880 compare_mem_reg(OpndSize size, int disp, int base_reg, bool isBasePhysical, int reg, bool isPhysical) argument 889 compare_VR_reg_all(OpndSize size, int vA, int reg, bool isPhysical, Mnemonic m) argument 953 compare_VR_reg(OpndSize size, int vA, int reg, bool isPhysical) argument 959 compare_VR_ss_reg(int vA, int reg, bool isPhysical) argument 963 compare_VR_sd_reg(int vA, int reg, bool isPhysical) argument 1077 compare_imm_reg(OpndSize size, int imm, int reg, bool isPhysical) argument 1144 compare_ss_mem_reg(LowOp* op, int disp, int base_reg, bool isBasePhysical, int reg, bool isPhysical) argument 1161 compare_sd_mem_with_reg(LowOp* op, int disp, int base_reg, bool isBasePhysical, int reg, bool isPhysical) argument 1178 compare_fp_stack(bool pop, int reg, bool isDouble) argument 1199 test_imm_reg(OpndSize size, int imm, int reg, bool isPhysical) argument 1205 test_imm_mem(OpndSize size, int imm, int disp, int reg, bool isPhysical) argument 1211 alu_unary_reg(OpndSize size, ALU_Opcode opc, int reg, bool isPhysical) argument 1244 alu_binary_imm_reg(OpndSize size, ALU_Opcode opc, int imm, int reg, bool isPhysical) argument 1255 alu_binary_mem_reg(OpndSize size, ALU_Opcode opc, int disp, int base_reg, bool isBasePhysical, int reg, bool isPhysical) argument 1266 alu_sd_binary_VR_reg(ALU_Opcode opc, int vA, int reg, bool isPhysical, bool isSD) argument 1319 alu_binary_VR_reg(OpndSize size, ALU_Opcode opc, int vA, int reg, bool isPhysical) argument 1381 alu_binary_reg_mem(OpndSize size, ALU_Opcode opc, int reg, bool isPhysical, int disp, int base_reg, bool isBasePhysical) argument 1401 alu_ss_binary_reg_reg(ALU_Opcode opc, int reg, bool isPhysical, int reg2, bool isPhysical2) argument 1409 alu_sd_binary_reg_reg(ALU_Opcode opc, int reg, bool isPhysical, int reg2, bool isPhysical2) argument 1417 push_reg_to_stack(OpndSize size, int reg, bool isPhysical) argument 1429 move_reg_to_mem(OpndSize size, int reg, bool isPhysical, int disp, int base_reg, bool isBasePhysical) argument 1438 move_reg_to_mem_noalloc(OpndSize size, int reg, bool isPhysical, int disp, int base_reg, bool isBasePhysical, MemoryAccessType mType, int mIndex) argument 1448 move_mem_to_reg(OpndSize size, int disp, int base_reg, bool isBasePhysical, int reg, bool isPhysical) argument 1457 move_mem_to_reg_noalloc(OpndSize size, int disp, int base_reg, bool isBasePhysical, MemoryAccessType mType, int mIndex, int reg, bool isPhysical) argument 1467 move_ss_mem_to_reg_noalloc(int disp, int base_reg, bool isBasePhysical, MemoryAccessType mType, int mIndex, int reg, bool isPhysical) argument 1475 move_ss_reg_to_mem_noalloc(int reg, bool isPhysical, int disp, int base_reg, bool isBasePhysical, MemoryAccessType mType, int mIndex) argument 1483 movez_mem_to_reg(OpndSize size, int disp, int base_reg, bool isBasePhysical, int reg, bool isPhysical) argument 1493 movez_reg_to_reg(OpndSize size, int reg, bool isPhysical, int reg2, bool isPhysical2) argument 1500 movez_mem_disp_scale_to_reg(OpndSize size, int base_reg, bool isBasePhysical, int disp, int index_reg, bool isIndexPhysical, int scale, int reg, bool isPhysical) argument 1508 moves_mem_disp_scale_to_reg(OpndSize size, int base_reg, bool isBasePhysical, int disp, int index_reg, bool isIndexPhysical, int scale, int reg, bool isPhysical) argument 1520 moves_mem_to_reg(LowOp* op, OpndSize size, int disp, int base_reg, bool isBasePhysical, int reg, bool isPhysical) argument 1529 move_reg_to_reg(OpndSize size, int reg, bool isPhysical, int reg2, bool isPhysical2) argument 1538 move_reg_to_reg_noalloc(OpndSize size, int reg, bool isPhysical, int reg2, bool isPhysical2) argument 1547 move_mem_scale_to_reg(OpndSize size, int base_reg, bool isBasePhysical, int index_reg, bool isIndexPhysical, int scale, int reg, bool isPhysical) argument 1554 move_mem_disp_scale_to_reg(OpndSize size, int base_reg, bool isBasePhysical, int disp, int index_reg, bool isIndexPhysical, int scale, int reg, bool isPhysical) argument 1564 move_reg_to_mem_scale(OpndSize size, int reg, bool isPhysical, int base_reg, bool isBasePhysical, int index_reg, bool isIndexPhysical, int scale) argument 1572 move_reg_to_mem_disp_scale(OpndSize size, int reg, bool isPhysical, int base_reg, bool isBasePhysical, int disp, int index_reg, bool isIndexPhysical, int scale) argument 1637 move_chain_to_reg(OpndSize size, int imm, int reg, bool isPhysical) argument 1644 move_imm_to_reg(OpndSize size, int imm, int reg, bool isPhysical) argument 1653 move_imm_to_reg_noalloc(OpndSize size, int imm, int reg, bool isPhysical) argument 1662 conditional_move_reg_to_reg(OpndSize size, ConditionCode cc, int reg1, bool isPhysical1, int reg, bool isPhysical) argument 1669 move_ss_mem_to_reg(LowOp* op, int disp, int base_reg, bool isBasePhysical, int reg, bool isPhysical) argument 1677 move_ss_reg_to_mem(LowOp* op, int reg, bool isPhysical, int disp, int base_reg, bool isBasePhysical) argument 1684 move_sd_mem_to_reg(int disp, int base_reg, bool isBasePhysical, int reg, bool isPhysical) argument 1691 move_sd_reg_to_mem(LowOp* op, int reg, bool isPhysical, int disp, int base_reg, bool isBasePhysical) argument 1700 get_virtual_reg_all(u2 vB, OpndSize size, int reg, bool isPhysical, Mnemonic m) argument 1787 get_virtual_reg(u2 vB, OpndSize size, int reg, bool isPhysical) argument 1791 get_virtual_reg_noalloc(u2 vB, OpndSize size, int reg, bool isPhysical) argument 1801 set_virtual_reg_all(u2 vA, OpndSize size, int reg, bool isPhysical, Mnemonic m) argument 1860 set_virtual_reg(u2 vA, OpndSize size, int reg, bool isPhysical) argument 1864 set_virtual_reg_noalloc(u2 vA, OpndSize size, int reg, bool isPhysical) argument 1869 get_VR_ss(int vB, int reg, bool isPhysical) argument 1872 set_VR_ss(int vA, int reg, bool isPhysical) argument 1875 get_VR_sd(int vB, int reg, bool isPhysical) argument 1878 set_VR_sd(int vA, int reg, bool isPhysical) argument 1885 get_currentpc(int reg, bool isPhysical) argument 1892 simpleNullCheck(int reg, bool isPhysical, int vr) argument 1933 nullCheck(int reg, bool isPhysical, int exceptionNum, int vr) argument 2008 get_self_pointer(int reg, bool isPhysical) argument 2015 get_res_strings(int reg, bool isPhysical) argument 2043 get_res_classes(int reg, bool isPhysical) argument 2068 get_res_fields(int reg, bool isPhysical) argument 2093 get_res_methods(int reg, bool isPhysical) argument 2118 get_glue_method_class(int reg, bool isPhysical) argument 2127 get_glue_method(int reg, bool isPhysical) argument 2135 set_glue_method(int reg, bool isPhysical) argument 2144 get_glue_dvmdex(int reg, bool isPhysical) argument 2169 set_glue_dvmdex(int reg, bool isPhysical) argument 2177 get_suspendCount(int reg, bool isPhysical) argument 2186 get_return_value(OpndSize size, int reg, bool isPhysical) argument 2194 set_return_value(OpndSize size, int reg, bool isPhysical) argument 2210 get_exception(int reg, bool isPhysical) argument 2218 set_exception(int reg, bool isPhysical) argument 2238 savearea_from_fp(int reg, bool isPhysical) argument [all...] |