Home | History | Annotate | Download | only in x86

Lines Matching refs:regAll

284         int regAll = registerAlloc(LowOpndRegType_gp, base_reg, isBasePhysical, true);
285 return lower_mem(m, m2, size, disp, regAll);
309 int regAll = registerAlloc(type, reg, isPhysical, true);
310 return lower_reg(m, m2, size, regAll, type);
354 int regAll = registerAlloc(type, reg, isPhysical, true);
356 if(isMnemonicMove(m) && regAll == reg2) return NULL;
357 return lower_reg_reg(m, ATOM_NORMAL, size, regAll, reg2, type);
394 int regAll = registerAlloc(type, reg, isPhysical, true);
402 regAll2 = registerAllocMove(reg2, type, isPhysical2, regAll);
405 donotSpillReg(regAll);
407 op = lower_reg_reg(m, m2, size, regAll, regAll2, type);
456 int regAll = registerAlloc(type, reg, isPhysical, true);
457 return lower_mem_reg(m, m2, size, disp, base_reg, mType, mIndex, regAll, type, false);
481 int regAll = registerAlloc(type, reg, isPhysical, true);
483 return lower_mem_reg(m, m2, size, disp, baseAll, mType, mIndex, regAll, type, false);
501 int regAll = registerAlloc(LowOpndRegType_gp, reg, isPhysical, true);
504 regAll, LowOpndRegType_gp, true/*moves*/);
521 int regAll = registerAlloc(LowOpndRegType_gp, reg, isPhysical, true);
524 regAll, LowOpndRegType_gp, true/*moves*/);
549 int regAll = registerAlloc(LowOpndRegType_gp, reg, isPhysical, true);
550 donotSpillReg(regAll);
552 stream = encoder_movez_reg_to_reg(size, regAll, true, regAll2, true,
599 int regAll = registerAlloc(isMovzs ? LowOpndRegType_gp : type, reg, isPhysical, true);
601 return lower_mem_scale_reg(m, size, baseAll, disp, indexAll, scale, regAll, type);
633 int regAll = registerAlloc(type, reg, isPhysical, true);
635 return lower_reg_mem_scale(m, size, regAll, baseAll, disp, indexAll, scale, type);
670 int regAll = registerAlloc(type, reg, isPhysical, true);
672 return lower_reg_mem(m, m2, size, regAll, disp, baseAll, mType, mIndex, type);
698 int regAll = registerAlloc(type, reg, isPhysical, true);
699 return lower_imm_reg(m, m2, size, imm, regAll, type, chaining);
934 int regAll = checkVirtualReg(vA, type, 0/*do not update*/);
935 if(regAll != PhysicalReg_Null) { //do not spill regAll when allocating register for dst
937 donotSpillReg(regAll);
938 dump_reg_reg_noalloc_src(m, ATOM_NORMAL, size, regAll, true, reg, isPhysical, pType);
994 int regAll = checkVirtualReg(vB, size, 1);
995 if(regAll != PhysicalReg_Null) //dump from register to memory
996 dump_reg_mem_noalloc(m, size, regAll, true, 4*vB, PhysicalReg_FP, true,
1085 int regAll = registerAlloc(type, reg, isPhysical, true);
1086 lower_reg_reg(m, ATOM_NORMAL, size, regAll, regAll, type);
1117 int regAll = checkVirtualReg(vA, getTypeFromIntSize(size), 0);
1118 if(regAll != PhysicalReg_Null)
1119 dump_imm_reg_noalloc(m, size, imm, regAll, true, LowOpndRegType_gp);
1296 int regAll = checkVirtualReg(vA, type, 0/*do not update refCount*/);
1297 if(regAll != PhysicalReg_Null) {
1300 donotSpillReg(regAll);
1301 dump_reg_reg_noalloc_src(m, ATOM_NORMAL_ALU, size, regAll, true, reg,
1347 int regAll = checkVirtualReg(vA, getTypeFromIntSize(size), 0);
1348 if(regAll != PhysicalReg_Null) {
1350 donotSpillReg(regAll);
1351 dump_reg_reg_noalloc_src(m, ATOM_NORMAL_ALU, size, regAll, true, reg,
1604 int regAll = checkVirtualReg(vA, getTypeFromIntSize(size), 0);
1605 if(regAll != PhysicalReg_Null) {
1606 dump_imm_reg_noalloc(m, size, imm, regAll, true, LowOpndRegType_gp);
1613 regAll = registerAlloc(LowOpndRegType_virtual | getTypeFromIntSize(size), vA, false/*dummy*/, true);
1614 if(regAll == PhysicalReg_Null) {
1618 dump_imm_reg_noalloc(m, size, imm, regAll, true, LowOpndRegType_gp);
1743 int regAll = checkVirtualReg(vB, type, 0);
1744 if(regAll != PhysicalReg_Null) {
1746 donotSpillReg(regAll);
1748 updateVRAtUse(vB, type, regAll);
1750 dump_reg_reg_noalloc_src(m2, ATOM_NORMAL, size2, regAll, true, reg, isPhysical, pType); //register allocator handles assembly move
1756 regAll = registerAlloc(LowOpndRegType_virtual | type, vB, false/*dummy*/, false);
1757 if(regAll == PhysicalReg_Null) {
1764 if(checkTempReg2(reg, pType, isPhysical, regAll)) {
1765 registerAllocMove(reg, pType, isPhysical, regAll);
1767 MemoryAccess_VR, vB, regAll, true, pType);
1773 MemoryAccess_VR, vB, regAll, true, pType);
1776 donotSpillReg(regAll);
1777 dump_reg_reg_noalloc_src(m2, ATOM_NORMAL, size2, regAll, true, reg, isPhysical, pType);
1826 int regAll = checkVirtualReg(vA, type, 0);
1827 if(regAll != PhysicalReg_Null) { //case 1
1829 donotSpillReg(regAll);
1830 dump_reg_reg_noalloc_dst(m2, size2, reg, isPhysical, regAll, true, pType); //temporary reg is "pType"
1836 regAll = checkTempReg(reg, pType, isPhysical, vA); //vA is not used inside
1837 if(regAll != PhysicalReg_Null) { //case 2
1838 registerAllocMove(vA, LowOpndRegType_virtual | type, false, regAll);
1843 regAll = registerAlloc(LowOpndRegType_virtual | type, vA, false/*dummy*/, false);
1844 if(regAll == PhysicalReg_Null) {
1850 donotSpillReg(regAll);
1851 dump_reg_reg_noalloc_dst(m2, size2, reg, isPhysical, regAll, true, pType);
2029 int regAll = registerAlloc(LowOpndRegType_gp, PhysicalReg_GLUE_DVMDEX, false, false/*updateRefCount*/);
2030 donotSpillReg(regAll);
2031 dump_mem_reg_noalloc_mem(Mnemonic_MOV, ATOM_NORMAL, OpndSize_32, offDvmDex_pResStrings, regAll, true, MemoryAccess_Unknown, -1, reg, isPhysical, LowOpndRegType_gp);
2051 int regAll = registerAlloc(LowOpndRegType_gp, PhysicalReg_GLUE_DVMDEX, false, false/*updateRefCount*/);
2052 donotSpillReg(regAll);
2053 dump_mem_reg_noalloc_mem(Mnemonic_MOV, ATOM_NORMAL, OpndSize_32, offDvmDex_pResClasses, regAll, true, MemoryAccess_Unknown, -1, reg, isPhysical, LowOpndRegType_gp);
2076 int regAll = registerAlloc(LowOpndRegType_gp, PhysicalReg_GLUE_DVMDEX, false, false/*updateRefCount*/);
2077 donotSpillReg(regAll);
2078 dump_mem_reg_noalloc_mem(Mnemonic_MOV, ATOM_NORMAL, OpndSize_32, offDvmDex_pResFields, regAll, true, MemoryAccess_Unknown, -1, reg, isPhysical, LowOpndRegType_gp);
2101 int regAll = registerAlloc(LowOpndRegType_gp, PhysicalReg_GLUE_DVMDEX, false, false/*updateRefCount*/);
2102 donotSpillReg(regAll);
2103 dump_mem_reg_noalloc_mem(Mnemonic_MOV, ATOM_NORMAL, OpndSize_32, offDvmDex_pResMethods, regAll, true, MemoryAccess_Unknown, -1, reg, isPhysical, LowOpndRegType_gp);
2152 int regAll = registerAlloc(LowOpndRegType_gp, PhysicalReg_GLUE_DVMDEX, false, false/*updateRefCount*/);
2153 donotSpillReg(regAll);
2154 dump_reg_reg_noalloc_src(Mnemonic_MOV, ATOM_NORMAL, OpndSize_32, regAll, true,