Lines Matching refs:sReg
32 #define SREG(c, s) ((c)->regLocation[(s)].sRegLow)
34 * Get the "real" sreg number associated with an sReg slot. In general,
35 * sReg values passed through codegen are the SSA names created by
69 regs[i].sReg = INVALID_SREG;
80 p[i].dirty, p[i].sReg,(int)p[i].defStart, (int)p[i].defEnd);
117 if (dvmCompilerS2VReg(cUnit, info2->sReg) <
118 dvmCompilerS2VReg(cUnit, info1->sReg))
121 dvmCompilerS2VReg(cUnit, info1->sReg) << 2,
132 dvmCompilerS2VReg(cUnit, info->sReg) << 2,
152 p[i].sReg = INVALID_SREG;
176 static void clobberSRegBody(RegisterInfo *p, int numTemps, int sReg)
180 if (p[i].sReg == sReg) {
188 /* Clobber any temp associated with an sReg. Could be in either class */
189 extern void dvmCompilerClobberSReg(CompilationUnit *cUnit, int sReg)
192 sReg);
194 sReg);
303 static RegisterInfo *allocLiveBody(RegisterInfo *p, int numTemps, int sReg)
306 if (sReg == -1)
309 if (p[i].live && (p[i].sReg == sReg)) {
317 static RegisterInfo *allocLive(CompilationUnit *cUnit, int sReg,
324 cUnit->regPool->numFPTemps, sReg);
330 cUnit->regPool->numCoreTemps, sReg);
334 cUnit->regPool->numFPTemps, sReg);
602 p->sReg, rl.sRegLow);
614 p->sReg, rl.sRegLow);
689 extern void dvmCompilerMarkLive(CompilationUnit *cUnit, int reg, int sReg)
692 if ((info->reg == reg) && (info->sReg == sReg) && info->live) {
694 } else if (sReg != INVALID_SREG) {
695 dvmCompilerClobberSReg(cUnit, sReg);
698 /* Can't be live if no associated sReg */
701 info->sReg = sReg;
911 SREG(cUnit, dvmCompilerSSASrc(mir, num))];
921 RegLocation loc = cUnit->regLocation[SREG(cUnit, getDestSSAName(mir, num))];