Lines Matching defs:rBase

746 static ArmLIR *loadBaseIndexed(CompilationUnit *cUnit, int rBase,
749 bool allLowRegs = LOWREG(rBase) && LOWREG(rIndex) && LOWREG(rDest);
769 newLIR4(cUnit, kThumb2AddRRR, regPtr, rBase, rIndex,
772 opRegRegReg(cUnit, kOpAdd, regPtr, rBase, rIndex);
799 load = newLIR3(cUnit, opcode, rDest, rBase, rIndex);
801 load = newLIR4(cUnit, opcode, rDest, rBase, rIndex, scale);
810 static ArmLIR *storeBaseIndexed(CompilationUnit *cUnit, int rBase,
813 bool allLowRegs = LOWREG(rBase) && LOWREG(rIndex) && LOWREG(rSrc);
833 newLIR4(cUnit, kThumb2AddRRR, regPtr, rBase, rIndex,
836 opRegRegReg(cUnit, kOpAdd, regPtr, rBase, rIndex);
859 store = newLIR3(cUnit, opcode, rSrc, rBase, rIndex);
861 store = newLIR4(cUnit, opcode, rSrc, rBase, rIndex, scale);
875 static ArmLIR *loadBaseDispBody(CompilationUnit *cUnit, MIR *mir, int rBase,
883 bool allLowRegs = (LOWREG(rBase) && LOWREG(rDest));
901 res = loadBaseDispBody(cUnit, mir, rBase, displacement, rDest,
903 loadBaseDispBody(cUnit, NULL, rBase, displacement + 4, rDestHi,
917 if (LOWREG(rDest) && (rBase == r15pc) &&
922 } else if (LOWREG(rDest) && (rBase == r13sp) &&
974 load = res = newLIR3(cUnit, opcode, rDest, rBase, encodedDisp);
978 load = loadBaseIndexed(cUnit, rBase, regOffset, rDest, 0, size);
982 if (rBase == r5FP) {
992 static ArmLIR *loadBaseDisp(CompilationUnit *cUnit, MIR *mir, int rBase,
996 return loadBaseDispBody(cUnit, mir, rBase, displacement, rDest, -1,
1000 static ArmLIR *loadBaseDispWide(CompilationUnit *cUnit, MIR *mir, int rBase,
1004 return loadBaseDispBody(cUnit, mir, rBase, displacement, rDestLo, rDestHi,
1009 static ArmLIR *storeBaseDispBody(CompilationUnit *cUnit, int rBase,
1017 bool allLowRegs = (LOWREG(rBase) && LOWREG(rSrc));
1024 res = storeBaseDispBody(cUnit, rBase, displacement, rSrc,
1026 storeBaseDispBody(cUnit, rBase, displacement + 4, rSrcHi,
1087 store = res = newLIR3(cUnit, opcode, rSrc, rBase, encodedDisp);
1091 store = storeBaseIndexed(cUnit, rBase, rScratch, rSrc, 0, size);
1095 if (rBase == r5FP) {
1105 static ArmLIR *storeBaseDisp(CompilationUnit *cUnit, int rBase,
1108 return storeBaseDispBody(cUnit, rBase, displacement, rSrc, -1, size);
1111 static ArmLIR *storeBaseDispWide(CompilationUnit *cUnit, int rBase,
1114 return storeBaseDispBody(cUnit, rBase, displacement, rSrcLo, rSrcHi, kLong);
1117 static ArmLIR *loadMultiple(CompilationUnit *cUnit, int rBase, int rMask)
1121 if (LOWREG(rBase) && ((rMask & 0xff)==rMask)) {
1122 res = newLIR2(cUnit, kThumbLdmia, rBase, rMask);
1124 res = newLIR2(cUnit, kThumb2Ldmia, rBase, rMask);
1134 static ArmLIR *storeMultiple(CompilationUnit *cUnit, int rBase, int rMask)
1138 if (LOWREG(rBase) && ((rMask & 0xff)==rMask)) {
1139 res = newLIR2(cUnit, kThumbStmia, rBase, rMask);
1141 res = newLIR2(cUnit, kThumb2Stmia, rBase, rMask);