Home
last modified time | relevance | path

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

/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.java31 private final int regCount; field in LocalVariableInfo
63 this.regCount = blocks.getRegCount(); in LocalVariableInfo()
64 this.emptySet = new RegisterSpecSet(regCount); in LocalVariableInfo()
173 result.mutableCopy() : new RegisterSpecSet(regCount); in mutableCopyOfStarts()
/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/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.java44 private final int regCount; field in DalvInsnList
57 int regCount) { in makeImmutable() argument
59 DalvInsnList result = new DalvInsnList(size, regCount); in makeImmutable()
74 public DalvInsnList(int size, int regCount) { in DalvInsnList() argument
76 this.regCount = regCount; in DalvInsnList()
177 return regCount; in getRegistersSize()
DOutputCollector.java54 int regCount) { in OutputCollector() argument
55 this.finisher = new OutputFinisher(dexOptions, initialCapacity, regCount); 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); in RopTranslator()
600 RegisterSpec.make(regCount - paramSize + param, in visitPlainCstInsn()
DOutputFinisher.java76 public OutputFinisher(DexOptions dexOptions, int initialCapacity, int regCount) { in OutputFinisher() argument
78 this.unreservedRegCount = regCount; in OutputFinisher()
/dalvik/dx/src/com/android/dx/ssa/back/
DSsaToRop.java221 int regCount = ssaMeth.getRegCount(); in moveParametersToHighRegisters() local
223 for (int i = 0; i < regCount; i++) { in moveParametersToHighRegisters()
225 mapper.addMapping(i, regCount - paramWidth + i, 1); in moveParametersToHighRegisters()
233 paramWidth, regCount - paramWidth); in moveParametersToHighRegisters()
358 int regCount = ssaMeth.getRegCount(); in getRegistersByFrequency() local
359 Integer[] ret = new Integer[regCount]; in getRegistersByFrequency()
361 for (int i = 0; i < regCount; i++) { in getRegistersByFrequency()
372 int result[] = new int[regCount]; in getRegistersByFrequency()
374 for (int i = 0; i < regCount; i++) { in getRegistersByFrequency()
/dalvik/dx/src/com/android/dx/ssa/
DLocalVariableInfo.java33 private final int regCount; field in LocalVariableInfo
64 this.regCount = method.getRegCount(); in LocalVariableInfo()
65 this.emptySet = new RegisterSpecSet(regCount); in LocalVariableInfo()
170 result.mutableCopy() : new RegisterSpecSet(regCount); in mutableCopyOfStarts()
DSsaConverter.java290 int regCount; in placePhiFunctions() local
295 regCount = ssaMeth.getRegCount() - threshold; in placePhiFunctions()
301 BitSet[] defsites = new BitSet[regCount]; in placePhiFunctions()
304 BitSet[] phisites = new BitSet[regCount]; in placePhiFunctions()
306 for (int i = 0; i < regCount; i++) { in placePhiFunctions()
330 for (int i = 0; i < regCount; i++) { in placePhiFunctions()
344 for (int reg = 0, s = regCount; reg < s; reg++) { in placePhiFunctions()
383 for (int i = 0; i < regCount; i++) { in placePhiFunctions()
DDeadCodeRemover.java43 private final int regCount; field in DeadCodeRemover
72 regCount = ssaMethod.getRegCount(); in DeadCodeRemover()
73 worklist = new BitSet(regCount); in DeadCodeRemover()
194 set = new BitSet(regCount); in isCircularNoSideEffect()
DEscapeAnalysis.java103 private int regCount; field in EscapeAnalysis
114 this.regCount = ssaMeth.getRegCount(); in EscapeAnalysis()
232 escSet = new EscapeSet(result.getReg(), regCount, EscapeState.NONE); in processInsn()
238 escSet = new EscapeSet(result.getReg(), regCount, EscapeState.NONE); in processInsn()
263 escSet = new EscapeSet(result.getReg(), regCount, in processMoveResultPseudoInsn()
272 escSet = new EscapeSet(result.getReg(), regCount, in processMoveResultPseudoInsn()
277 escSet = new EscapeSet(result.getReg(), regCount, in processMoveResultPseudoInsn()
283 escSet = new EscapeSet(result.getReg(), regCount, in processMoveResultPseudoInsn()
302 escSet = new EscapeSet(result.getReg(), regCount, in processMoveResultPseudoInsn()
305 escSet = new EscapeSet(result.getReg(), regCount, in processMoveResultPseudoInsn()
[all …]
DPhiTypeResolver.java68 int regCount = ssaMeth.getRegCount(); in run() local
70 for (int reg = 0; reg < regCount; reg++) { in run()
DSCCP.java48 private int regCount; field in SCCP
72 this.regCount = ssaMeth.getRegCount(); in SCCP()
73 this.latticeValues = new int[this.regCount]; in SCCP()
74 this.latticeConstants = new Constant[this.regCount]; in SCCP()
81 for (int i = 0; i < this.regCount; i++) { in SCCP()
603 for (int reg = 0; reg < regCount; reg++) { in replaceConstants()
/dalvik/dx/src/com/android/dx/cf/code/
DRopper.java321 int regCount = getNormalRegCount(); in getFirstTempStackReg() local
322 return isSynchronized() ? regCount + 1 : regCount; in getFirstTempStackReg()
/dalvik/vm/analysis/
DCodeVerify.cpp6404 int regCount = meth->registersSize; in dumpRegTypes() local
6405 int fullRegCount = regCount + kExtraRegs; in dumpRegTypes()
6415 if (regCount == 0) in dumpRegTypes()
6418 regChars[1 + (regCount-1) + (regCount-1)/4 +1] = ']'; in dumpRegTypes()
6421 for (i = 0; i < regCount + kExtraRegs; i++) { in dumpRegTypes()
6462 if (i < regCount) in dumpRegTypes()
6486 for (i = 0; i < regCount; i++) { in dumpRegTypes()
6497 for (i = 0; i < regCount + kExtraRegs; i++) { in dumpRegTypes()
6502 if (i < regCount) { in dumpRegTypes()