Home | History | Annotate | Download | only in codegen

Lines Matching refs:sReg

30 #define SREG(c, s) ((c)->regLocation[(s)].sRegLow)
32 * Get the "real" sreg number associated with an sReg slot. In general,
33 * sReg values passed through codegen are the SSA names created by
67 regs[i].sReg = INVALID_SREG;
78 p[i].dirty, p[i].sReg,(int)p[i].defStart, (int)p[i].defEnd);
115 if (dvmCompilerS2VReg(cUnit, info2->sReg) <
116 dvmCompilerS2VReg(cUnit, info1->sReg))
119 dvmCompilerS2VReg(cUnit, info1->sReg) << 2,
130 dvmCompilerS2VReg(cUnit, info->sReg) << 2,
150 p[i].sReg = INVALID_SREG;
174 static void clobberSRegBody(RegisterInfo *p, int numTemps, int sReg)
178 if (p[i].sReg == sReg) {
186 /* Clobber any temp associated with an sReg. Could be in either class */
187 extern void dvmCompilerClobberSReg(CompilationUnit *cUnit, int sReg)
190 sReg);
192 sReg);
302 static RegisterInfo *allocLiveBody(RegisterInfo *p, int numTemps, int sReg)
305 if (sReg == -1)
308 if (p[i].live && (p[i].sReg == sReg)) {
316 static RegisterInfo *allocLive(CompilationUnit *cUnit, int sReg,
323 cUnit->regPool->numFPTemps, sReg);
329 cUnit->regPool->numCoreTemps, sReg);
333 cUnit->regPool->numFPTemps, sReg);
530 p->sReg, rl.sRegLow);
542 p->sReg, rl.sRegLow);
617 extern void dvmCompilerMarkLive(CompilationUnit *cUnit, int reg, int sReg)
620 if ((info->reg == reg) && (info->sReg == sReg) && info->live) {
622 } else if (sReg != INVALID_SREG) {
623 dvmCompilerClobberSReg(cUnit, sReg);
626 /* Can't be live if no associated sReg */
629 info->sReg = sReg;
839 SREG(cUnit, dvmCompilerSSASrc(mir, num))];
849 RegLocation loc = cUnit->regLocation[SREG(cUnit, getDestSSAName(mir, num))];