Home
last modified time | relevance | path

Searched refs:ssaReg (Results 1 – 7 of 7) sorted by relevance

/dalvik/dx/src/com/android/dx/ssa/
DSsaRenamer.java212 private LocalItem getLocalForNewReg(int ssaReg) { in getLocalForNewReg() argument
213 if (ssaReg < ssaRegToLocalItems.size()) { in getLocalForNewReg()
214 return ssaRegToLocalItems.get(ssaReg); in getLocalForNewReg()
225 private void setNameForSsaReg(RegisterSpec ssaReg) { in setNameForSsaReg() argument
226 int reg = ssaReg.getReg(); in setNameForSsaReg()
227 LocalItem local = ssaReg.getLocalItem(); in setNameForSsaReg()
245 private boolean isBelowThresholdRegister(int ssaReg) { in isBelowThresholdRegister() argument
246 return ssaReg < threshold; in isBelowThresholdRegister()
257 private boolean isVersionZeroRegister(int ssaReg) { in isVersionZeroRegister() argument
258 return ssaReg < ropRegCount; in isVersionZeroRegister()
[all …]
/dalvik/dx/src/com/android/dx/ssa/back/
DFirstFitLocalCombiningAllocator.java192 int ssaReg = ssaSpec.getReg(); in handleLocalAssociatedParams() local
194 paramIndex = getParameterIndexForReg(ssaReg); in handleLocalAssociatedParams()
220 private int getParameterIndexForReg(int ssaReg) { in getParameterIndexForReg() argument
221 SsaInsn defInsn = ssaMeth.getDefinitionForRegister(ssaReg); in getParameterIndexForReg()
431 for (int ssaReg = 0; ssaReg < szSsaRegs; ssaReg++) { in handleUnassociatedParameters()
432 if (ssaRegsMapped.get(ssaReg)) { in handleUnassociatedParameters()
437 int paramIndex = getParameterIndexForReg(ssaReg); in handleUnassociatedParameters()
439 RegisterSpec ssaSpec = getDefinitionSpecForSsaReg(ssaReg); in handleUnassociatedParameters()
549 for (int ssaReg = 0; ssaReg < szSsaRegs; ssaReg++) { in handleNormalUnassociated()
550 if (ssaRegsMapped.get(ssaReg)) { in handleNormalUnassociated()
[all …]
/dalvik/vm/compiler/
DDataflow.cpp811 int dvmConvertSSARegToDalvik(const CompilationUnit *cUnit, int ssaReg) in dvmConvertSSARegToDalvik() argument
813 return GET_ELEM_N(cUnit->ssaToDalvikMap, int, ssaReg); in dvmConvertSSARegToDalvik()
909 char *getSSAName(const CompilationUnit *cUnit, int ssaReg, char *name) in getSSAName() argument
911 int ssa2DalvikValue = dvmConvertSSARegToDalvik(cUnit, ssaReg); in getSSAName()
1162 int ssaReg = DECODE_REG(encodedValue); in handleSSAUse() local
1163 uses[regIndex] = ssaReg; in handleSSAUse()
1171 int ssaReg = cUnit->numSSARegs++; in handleSSADef() local
1174 int newD2SMapping = ENCODE_REG_SUB(ssaReg, dalvikSub); in handleSSADef()
1181 defs[regIndex] = ssaReg; in handleSSADef()
1340 static void setConstant(CompilationUnit *cUnit, int ssaReg, int value) in setConstant() argument
[all …]
DLoop.cpp48 int iv = dvmConvertSSARegToDalvik(cUnit, ivInfo->ssaReg);
50 if (ivInfo->ssaReg == ivInfo->basicSSAReg) {
52 ivInfo->ssaReg,
60 ivInfo->ssaReg,
182 if (ivInfo->ssaReg == ivInfo->basicSSAReg) { in isSimpleCountedLoop()
308 if (ivInfo->ssaReg == idxReg) { in updateRangeCheckInfo()
DDataflow.h110 int ssaReg; member
DSSATransformation.cpp512 int ssaReg = mir->ssaRep->defs[0]; in insertPhiNodeOperands() local
514 (int) dvmGrowableListGetElement(cUnit->ssaToDalvikMap, ssaReg); in insertPhiNodeOperands()
528 int ssaReg = DECODE_REG(encodedSSAValue); in insertPhiNodeOperands() local
529 dvmSetBit(ssaRegV, ssaReg); in insertPhiNodeOperands()
DCompiler.h217 int dvmConvertSSARegToDalvik(const struct CompilationUnit *cUnit, int ssaReg);