Home
last modified time | relevance | path

Searched refs:regCount (Results 1 – 20 of 20) sorted by relevance

/dalvik/dexgen/src/com/android/dexgen/rop/code/
DBasicBlockList.java33 private int regCount; field in BasicBlockList
44 regCount = -1; in BasicBlockList()
54 regCount = old.regCount; in BasicBlockList()
80 regCount = -1; in set()
92 if (regCount == -1) { in getRegCount()
95 regCount = visitor.getRegCount(); in getRegCount()
98 return regCount; in getRegCount()
317 private int regCount; field in BasicBlockList.RegCountVisitor
323 regCount = 0; in RegCountVisitor()
332 return regCount; in getRegCount()
[all …]
DLocalVariableInfo.java31 private final int regCount; field in LocalVariableInfo
63 this.regCount = blocks.getRegCount(); in LocalVariableInfo()
64 this.emptySet = new RegisterSpecSet(regCount); in LocalVariableInfo()
169 result.mutableCopy() : new RegisterSpecSet(regCount); in mutableCopyOfStarts()
/dalvik/dx/src/com/android/dx/rop/code/
DBasicBlockList.java33 private int regCount; field in BasicBlockList
44 regCount = -1; in BasicBlockList()
54 regCount = old.regCount; in BasicBlockList()
80 regCount = -1; in set()
92 if (regCount == -1) { in getRegCount()
95 regCount = visitor.getRegCount(); in getRegCount()
98 return regCount; in getRegCount()
315 private int regCount; field in BasicBlockList.RegCountVisitor
321 regCount = 0; in RegCountVisitor()
330 return regCount; in getRegCount()
[all …]
DLocalVariableInfo.java30 private final int regCount; field in LocalVariableInfo
62 this.regCount = blocks.getRegCount(); in LocalVariableInfo()
63 this.emptySet = new RegisterSpecSet(regCount); in LocalVariableInfo()
172 result.mutableCopy() : new RegisterSpecSet(regCount); in mutableCopyOfStarts()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DDalvInsnList.java43 private final int regCount; field in DalvInsnList
56 int regCount) { in makeImmutable() argument
58 DalvInsnList result = new DalvInsnList(size, regCount); in makeImmutable()
73 public DalvInsnList(int size, int regCount) { in DalvInsnList() argument
75 this.regCount = regCount; in DalvInsnList()
176 return regCount; in getRegistersSize()
DOutputCollector.java51 int regCount) { in OutputCollector() argument
52 this.finisher = new OutputFinisher(initialCapacity, regCount); in OutputCollector()
DRopTranslator.java71 private final int regCount; field in RopTranslator
150 this.regCount = blocks.getRegCount() in RopTranslator()
153 this.output = new OutputCollector(maxInsns, bsz * 3, regCount); in RopTranslator()
593 RegisterSpec.make(regCount - paramSize + param, in visitPlainCstInsn()
DOutputFinisher.java69 public OutputFinisher(int initialCapacity, int regCount) { in OutputFinisher() argument
70 this.unreservedRegCount = regCount; in OutputFinisher()
/dalvik/dx/src/com/android/dx/dex/code/
DDalvInsnList.java45 private final int regCount; field in DalvInsnList
58 int regCount) { in makeImmutable() argument
60 DalvInsnList result = new DalvInsnList(size, regCount); in makeImmutable()
77 public DalvInsnList(int size, int regCount) { in DalvInsnList() argument
79 this.regCount = regCount; in DalvInsnList()
180 return regCount; in getRegistersSize()
DOutputCollector.java54 int regCount, int paramSize) { in OutputCollector() argument
55 this.finisher = new OutputFinisher(dexOptions, initialCapacity, regCount, paramSize); in OutputCollector()
DRopTranslator.java75 private final int regCount; field in RopTranslator
156 this.regCount = blocks.getRegCount() in RopTranslator()
159 this.output = new OutputCollector(dexOptions, maxInsns, bsz * 3, regCount, paramSize); in RopTranslator()
602 RegisterSpec.make(regCount - paramSize + param, in visitPlainCstInsn()
DOutputFinisher.java88 public OutputFinisher(DexOptions dexOptions, int initialCapacity, int regCount, int paramSize) { in OutputFinisher() argument
90 this.unreservedRegCount = regCount; in OutputFinisher()
/dalvik/dx/src/com/android/dx/ssa/back/
DSsaToRop.java222 int regCount = ssaMeth.getRegCount(); in moveParametersToHighRegisters() local
224 for (int i = 0; i < regCount; i++) { in moveParametersToHighRegisters()
226 mapper.addMapping(i, regCount - paramWidth + i, 1); in moveParametersToHighRegisters()
234 paramWidth, regCount - paramWidth); in moveParametersToHighRegisters()
361 int regCount = ssaMeth.getRegCount(); in getRegistersByFrequency() local
362 Integer[] ret = new Integer[regCount]; in getRegistersByFrequency()
364 for (int i = 0; i < regCount; i++) { in getRegistersByFrequency()
376 int result[] = new int[regCount]; in getRegistersByFrequency()
378 for (int i = 0; i < regCount; i++) { in getRegistersByFrequency()
/dalvik/dx/src/com/android/dx/ssa/
DSsaConverter.java302 int regCount; in placePhiFunctions() local
307 regCount = ssaMeth.getRegCount() - threshold; in placePhiFunctions()
313 BitSet[] defsites = new BitSet[regCount]; in placePhiFunctions()
316 BitSet[] phisites = new BitSet[regCount]; in placePhiFunctions()
318 for (int i = 0; i < regCount; i++) { in placePhiFunctions()
342 for (int i = 0; i < regCount; i++) { in placePhiFunctions()
356 for (int reg = 0, s = regCount; reg < s; reg++) { in placePhiFunctions()
395 for (int i = 0; i < regCount; i++) { in placePhiFunctions()
DLocalVariableInfo.java32 private final int regCount; field in LocalVariableInfo
63 this.regCount = method.getRegCount(); in LocalVariableInfo()
64 this.emptySet = new RegisterSpecSet(regCount); in LocalVariableInfo()
169 result.mutableCopy() : new RegisterSpecSet(regCount); in mutableCopyOfStarts()
DDeadCodeRemover.java36 private final int regCount; field in DeadCodeRemover
65 regCount = ssaMethod.getRegCount(); in DeadCodeRemover()
66 worklist = new BitSet(regCount); in DeadCodeRemover()
190 set = new BitSet(regCount); in isCircularNoSideEffect()
DEscapeAnalysis.java102 private final int regCount; field in EscapeAnalysis
113 this.regCount = ssaMeth.getRegCount(); in EscapeAnalysis()
231 escSet = new EscapeSet(result.getReg(), regCount, EscapeState.NONE); in processInsn()
237 escSet = new EscapeSet(result.getReg(), regCount, EscapeState.NONE); in processInsn()
262 escSet = new EscapeSet(result.getReg(), regCount, in processMoveResultPseudoInsn()
271 escSet = new EscapeSet(result.getReg(), regCount, in processMoveResultPseudoInsn()
276 escSet = new EscapeSet(result.getReg(), regCount, in processMoveResultPseudoInsn()
282 escSet = new EscapeSet(result.getReg(), regCount, in processMoveResultPseudoInsn()
301 escSet = new EscapeSet(result.getReg(), regCount, in processMoveResultPseudoInsn()
304 escSet = new EscapeSet(result.getReg(), regCount, in processMoveResultPseudoInsn()
[all …]
DSCCP.java47 private final int regCount; field in SCCP
71 this.regCount = ssaMeth.getRegCount(); in SCCP()
72 this.latticeValues = new int[this.regCount]; in SCCP()
73 this.latticeConstants = new Constant[this.regCount]; in SCCP()
80 for (int i = 0; i < this.regCount; i++) { in SCCP()
602 for (int reg = 0; reg < regCount; reg++) { in replaceConstants()
DPhiTypeResolver.java67 int regCount = ssaMeth.getRegCount(); in run() local
69 for (int reg = 0; reg < regCount; reg++) { in run()
/dalvik/dx/src/com/android/dx/cf/code/
DRopper.java423 int regCount = getNormalRegCount(); in getFirstTempStackReg() local
424 return isSynchronized() ? regCount + 1 : regCount; in getFirstTempStackReg()