Home
last modified time | relevance | path

Searched refs:specs (Results 1 – 10 of 10) sorted by relevance

/dalvik/dexgen/src/com/android/dexgen/rop/code/
DRegisterSpecSet.java36 private final RegisterSpec[] specs; field in RegisterSpecSet
50 this.specs = new RegisterSpec[maxSize]; in RegisterSpecSet()
62 RegisterSpec[] otherSpecs = otherSet.specs; in equals()
63 int len = specs.length; in equals()
70 RegisterSpec s1 = specs[i]; in equals()
88 int len = specs.length; in hashCode()
92 RegisterSpec spec = specs[i]; in hashCode()
103 int len = specs.length; in toString()
110 RegisterSpec spec = specs[i]; in toString()
133 return specs.length; in getMaxSize()
[all …]
DLocalVariableInfo.java79 public void setStarts(int label, RegisterSpecSet specs) { in setStarts() argument
82 if (specs == null) { in setStarts()
87 blockStarts[label] = specs; in setStarts()
108 public boolean mergeStarts(int label, RegisterSpecSet specs) { in mergeStarts() argument
113 setStarts(label, specs); in mergeStarts()
118 newStart.intersect(specs, true); in mergeStarts()
/dalvik/dx/src/com/android/dx/rop/code/
DRegisterSpecSet.java35 private final RegisterSpec[] specs; field in RegisterSpecSet
49 this.specs = new RegisterSpec[maxSize]; in RegisterSpecSet()
61 RegisterSpec[] otherSpecs = otherSet.specs; in equals()
62 int len = specs.length; in equals()
69 RegisterSpec s1 = specs[i]; in equals()
87 int len = specs.length; in hashCode()
91 RegisterSpec spec = specs[i]; in hashCode()
102 int len = specs.length; in toString()
109 RegisterSpec spec = specs[i]; in toString()
132 return specs.length; in getMaxSize()
[all …]
DLocalVariableInfo.java78 public void setStarts(int label, RegisterSpecSet specs) { in setStarts() argument
81 if (specs == null) { in setStarts()
86 blockStarts[label] = specs; in setStarts()
107 public boolean mergeStarts(int label, RegisterSpecSet specs) { in mergeStarts() argument
112 setStarts(label, specs); in mergeStarts()
118 newStart.intersect(specs, true); in mergeStarts()
120 newStart = specs.mutableCopy(); in mergeStarts()
/dalvik/dx/src/com/android/dx/ssa/
DLocalVariableInfo.java79 public void setStarts(int index, RegisterSpecSet specs) { in setStarts() argument
82 if (specs == null) { in setStarts()
87 blockStarts[index] = specs; in setStarts()
108 public boolean mergeStarts(int index, RegisterSpecSet specs) { in mergeStarts() argument
113 setStarts(index, specs); in mergeStarts()
118 newStart.intersect(specs, true); in mergeStarts()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DOutputFinisher.java107 RegisterSpecSet specs = ((LocalSnapshot) insn).getLocals(); in hasLocalInfo() local
108 int size = specs.size(); in hasLocalInfo()
110 if (hasLocalInfo(specs.get(i))) { in hasLocalInfo()
166 RegisterSpecSet specs = ((LocalSnapshot) insn).getLocals(); in addConstants() local
167 int size = specs.size(); in addConstants()
169 addConstants(result, specs.get(i)); in addConstants()
DLocalList.java536 public void snapshot(int address, RegisterSpecSet specs) { in snapshot() argument
538 System.err.printf("%04x snapshot %s\n", address, specs); in snapshot()
541 int sz = specs.getMaxSize(); in snapshot()
546 RegisterSpec newSpec = filterSpec(specs.get(i)); in snapshot()
/dalvik/dx/src/com/android/dx/ssa/back/
DFirstFitLocalCombiningAllocator.java289 for (ArrayList<RegisterSpec> specs : localVariables.values()) { in handleLocalAssociatedOther()
297 int sz = specs.size(); in handleLocalAssociatedOther()
299 RegisterSpec ssaSpec = specs.get(i); in handleLocalAssociatedOther()
308 if (canMapRegs(specs, ropReg)) { in handleLocalAssociatedOther()
309 done = tryMapRegs(specs, ropReg, maxCategory, true); in handleLocalAssociatedOther()
332 ArrayList<RegisterSpec> specs, int ropReg, in tryMapRegs() argument
335 for (RegisterSpec spec : specs) { in tryMapRegs()
655 private boolean canMapRegs(ArrayList<RegisterSpec> specs, int ropReg) { in canMapRegs() argument
656 for (RegisterSpec spec : specs) { in canMapRegs()
/dalvik/dx/src/com/android/dx/dex/code/
DOutputFinisher.java128 RegisterSpecSet specs = ((LocalSnapshot) insn).getLocals(); in hasLocalInfo() local
129 int size = specs.size(); in hasLocalInfo()
131 if (hasLocalInfo(specs.get(i))) { in hasLocalInfo()
192 RegisterSpecSet specs = ((LocalSnapshot) insn).getLocals(); in addConstants() local
193 int size = specs.size(); in addConstants()
195 addConstants(result, specs.get(i)); in addConstants()
DLocalList.java535 public void snapshot(int address, RegisterSpecSet specs) { in snapshot() argument
537 System.err.printf("%04x snapshot %s\n", address, specs); in snapshot()
540 int sz = specs.getMaxSize(); in snapshot()
545 RegisterSpec newSpec = filterSpec(specs.get(i)); in snapshot()