Searched refs:reg (Results 1 - 25 of 66) sorted by relevance

123

/dalvik/libdex/
H A DDexDebugInfo.cpp120 static void emitLocalCbIfLive(void *cnxt, int reg, u4 endAddress, argument
123 if (localCb != NULL && localInReg[reg].live) {
124 localCb(cnxt, reg, localInReg[reg].startAddress, endAddress,
125 localInReg[reg].name,
126 localInReg[reg].descriptor,
127 localInReg[reg].signature == NULL
128 ? "" : localInReg[reg].signature );
182 int reg; local
190 reg
213 u2 reg; local
[all...]
H A DDexDebugInfo.h36 typedef void (*DexDebugNewLocalCb)(void *cnxt, u2 reg, u4 startAddress,
/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DRegisterSpec.java44 private final int reg; field in class:RegisterSpec
55 * @param reg {@code >= 0;} the register number
61 private static RegisterSpec intern(int reg, TypeBearer type, argument
63 theInterningItem.set(reg, type, local);
80 * @param reg {@code >= 0;} the register number
85 public static RegisterSpec make(int reg, TypeBearer type) { argument
86 return intern(reg, type, null);
94 * @param reg {@code >= 0;} the register number
100 public static RegisterSpec make(int reg, TypeBearer type, argument
106 return intern(reg, typ
121 makeLocalOptional( int reg, TypeBearer type, LocalItem local) argument
133 regString(int reg) argument
146 RegisterSpec(int reg, TypeBearer type, LocalItem local) argument
222 equals(int reg, TypeBearer type, LocalItem local) argument
273 hashCodeOf(int reg, TypeBearer type, LocalItem local) argument
596 private int reg; field in class:RegisterSpec.ForComparison
617 set(int reg, TypeBearer type, LocalItem local) argument
[all...]
H A DRegisterSpecSet.java33 * {@code null} or is an instance whose {@code reg}
163 * @param reg {@code >= 0;} the desired register number
167 public RegisterSpec get(int reg) { argument
169 return specs[reg];
172 throw new IllegalArgumentException("bogus reg");
201 for (int reg = 0; reg < length; reg++) {
202 RegisterSpec s = specs[reg];
226 for (int reg
[all...]
/dalvik/dx/src/com/android/dx/rop/code/
H A DRegisterSpec.java44 private final int reg; field in class:RegisterSpec
58 * @param reg {@code >= 0;} the register number
64 private static RegisterSpec intern(int reg, TypeBearer type, argument
67 theInterningItem.set(reg, type, local);
85 * @param reg {@code >= 0;} the register number
90 public static RegisterSpec make(int reg, TypeBearer type) { argument
91 return intern(reg, type, null);
99 * @param reg {@code >= 0;} the register number
105 public static RegisterSpec make(int reg, TypeBearer type, argument
111 return intern(reg, typ
126 makeLocalOptional( int reg, TypeBearer type, LocalItem local) argument
138 regString(int reg) argument
151 RegisterSpec(int reg, TypeBearer type, LocalItem local) argument
227 equals(int reg, TypeBearer type, LocalItem local) argument
278 hashCodeOf(int reg, TypeBearer type, LocalItem local) argument
603 private int reg; field in class:RegisterSpec.ForComparison
624 set(int reg, TypeBearer type, LocalItem local) argument
[all...]
H A DRegisterSpecSet.java32 * {@code null} or is an instance whose {@code reg}
162 * @param reg {@code >= 0;} the desired register number
166 public RegisterSpec get(int reg) { argument
168 return specs[reg];
171 throw new IllegalArgumentException("bogus reg");
200 for (int reg = 0; reg < length; reg++) {
201 RegisterSpec s = specs[reg];
225 for (int reg
[all...]
/dalvik/vm/mterp/x86/
H A Dheader.S53 nick reg purpose
58 rINSTbh bh high byte of inst word, usually contains src/tgt reg names
104 #define SPILL(reg) movl reg##,reg##_SPILL(%ebp)
105 #define UNSPILL(reg) movl reg##_SPILL(%ebp),reg
106 #define SPILL_TMP1(reg) movl reg,TMP_SPILL
[all...]
/dalvik/vm/compiler/codegen/
H A DRallocUtil.cpp62 regs[i].reg = regNums[i];
77 p[i].reg, p[i].inUse, p[i].pair, p[i].partner, p[i].live,
83 static RegisterInfo *getRegInfo(CompilationUnit *cUnit, int reg) argument
89 if (p[i].reg == reg) {
96 if (p[i].reg == reg) {
100 ALOGE("Tried to get info on a non-existant temp: r%d",reg);
110 (info1->partner == info2->reg) &&
111 (info2->partner == info1->reg));
124 dvmCompilerFlushReg(CompilationUnit *cUnit, int reg) argument
136 clobberRegBody(CompilationUnit *cUnit, RegisterInfo *p, int numTemps, int reg) argument
165 dvmCompilerClobber(CompilationUnit *cUnit, int reg) argument
342 dvmCompilerFreeTemp(CompilationUnit *cUnit, int reg) argument
367 dvmCompilerIsLive(CompilationUnit *cUnit, int reg) argument
387 dvmCompilerIsTemp(CompilationUnit *cUnit, int reg) argument
412 dvmCompilerLockTemp(CompilationUnit *cUnit, int reg) argument
437 dvmCompilerResetDef(CompilationUnit *cUnit, int reg) argument
606 regClassMatches(int regClass, int reg) argument
617 dvmCompilerMarkLive(CompilationUnit *cUnit, int reg, int sReg) argument
641 dvmCompilerMarkClean(CompilationUnit *cUnit, int reg) argument
647 dvmCompilerMarkDirty(CompilationUnit *cUnit, int reg) argument
653 dvmCompilerMarkInUse(CompilationUnit *cUnit, int reg) argument
[all...]
H A DRalloc.h82 extern void dvmCompilerClobber(CompilationUnit *cUnit, int reg);
94 extern void dvmCompilerMarkLive(CompilationUnit *cUnit, int reg, int sReg);
96 extern void dvmCompilerMarkDirty(CompilationUnit *cUnit, int reg);
101 extern void dvmCompilerMarkClean(CompilationUnit *cUnit, int reg);
103 extern void dvmCompilerResetDef(CompilationUnit *cUnit, int reg);
142 extern RegisterInfo *dvmCompilerIsTemp(CompilationUnit *cUnit, int reg);
144 extern void dvmCompilerMarkInUse(CompilationUnit *cUnit, int reg);
153 extern void dvmCompilerFreeTemp(CompilationUnit *cUnit, int reg);
164 extern RegisterInfo *dvmCompilerIsLive(CompilationUnit *cUnit, int reg);
188 extern void dvmCompilerLockTemp(CompilationUnit *cUnit, int reg);
[all...]
/dalvik/dx/src/com/android/dx/ssa/
H A DSsaInsn.java108 * Returns whether or not the specified reg is the result reg.
110 * @param reg register to test
114 public boolean isResultReg(int reg) { argument
115 return result != null && result.getReg() == reg;
123 * @param reg new result register
125 public void changeResultReg(int reg) { argument
127 result = result.withReg(reg);
208 * @param reg the register in question
209 * @return true if the reg i
211 isRegASource(int reg) argument
[all...]
H A DPhiTypeResolver.java70 for (int reg = 0; reg < regCount; reg++) {
71 SsaInsn definsn = ssaMeth.getDefinitionForRegister(reg);
75 worklist.set(reg);
79 int reg;
80 while ( 0 <= (reg = worklist.nextSetBit(0))) {
81 worklist.clear(reg);
87 PhiInsn definsn = (PhiInsn)ssaMeth.getDefinitionForRegister(reg);
95 List<SsaInsn> useList = ssaMeth.getUseListForRegister(reg);
[all...]
H A DSsaConverter.java344 for (int reg = 0, s = regCount; reg < s; reg++) {
347 /* Worklist set starts out with each node where reg is assigned. */
349 worklist = (BitSet) (defsites[reg].clone());
359 if (!phisites[reg].get(dfBlockIndex)) {
360 phisites[reg].set(dfBlockIndex);
362 int tReg = reg + threshold;
372 if (!defsites[reg].get(dfBlockIndex)) {
H A DSCCP.java111 * @param reg SSA register
112 * @param latticeValue new lattice value for @param reg.
114 private void addUsersToWorklist(int reg, int latticeValue) { argument
116 for (SsaInsn insn : ssaMeth.getUseListForRegister(reg)) {
120 for (SsaInsn insn : ssaMeth.getUseListForRegister(reg)) {
128 * @param reg SSA register
133 private boolean setLatticeValueTo(int reg, int value, Constant cst) { argument
135 if (latticeValues[reg] != value) {
136 latticeValues[reg] = value;
141 if (latticeValues[reg] !
[all...]
H A DSsaMethod.java405 * @param reg register in question
406 * @return insn (actual instance from code) that defined this reg or null
407 * if reg is not defined.
409 public SsaInsn getDefinitionForRegister(int reg) { argument
415 return definitionList[reg];
435 return definitionList[reg];
499 int reg = oldSource.getReg();
500 useList[reg].remove(insn);
503 int reg = newSource.getReg();
504 if (useList.length <= reg) {
638 getUseListForRegister(int reg) argument
[all...]
H A DSsaRenamer.java227 int reg = ssaReg.getReg();
230 ssaRegToLocalItems.ensureCapacity(reg + 1);
231 while (ssaRegToLocalItems.size() <= reg) {
235 ssaRegToLocalItems.set(reg, local);
342 int reg = registerSpec.getReg();
346 RegisterSpec newVersion = currentMapping[reg];
354 + " " + currentMapping[reg]);
358 return registerSpec.withReg(currentMapping[reg].getReg());
441 * Ensure all SSA register specs with the same reg are identical.
456 // Record that this SSA reg ha
[all...]
/dalvik/vm/compiler/codegen/x86/
H A DCalloutHelper.h31 #define LOAD_FUNC_ADDR(cUnit, reg, addr) loadConstant(cUnit, reg, addr)
/dalvik/dexgen/src/com/android/dexgen/dex/code/form/
H A DForm31c.java77 RegisterSpec reg;
81 reg = regs.get(0);
89 reg = regs.get(0);
90 if (reg.getReg() != regs.get(1).getReg()) {
100 if (!unsignedFitsInByte(reg.getReg())) {
H A DForm21c.java77 RegisterSpec reg;
81 reg = regs.get(0);
89 reg = regs.get(0);
90 if (reg.getReg() != regs.get(1).getReg()) {
100 if (!unsignedFitsInByte(reg.getReg())) {
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DDebugInfoDecoder.java56 /** indexed by register, the last local variable live in a reg */
153 public int reg; field in class:DebugInfoDecoder.LocalEntry
164 public LocalEntry(int address, boolean isStart, int reg, int nameIndex, argument
168 this.reg = reg;
176 address, isStart ? "start" : "end", reg,
294 int reg = readUnsignedLeb128(bs);
298 address, true, reg, nameIdx, typeIdx, 0);
301 lastEntryForReg[reg] = le;
306 int reg
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DDebugInfoDecoder.java57 /** indexed by register, the last local variable live in a reg */
154 public int reg; field in class:DebugInfoDecoder.LocalEntry
165 public LocalEntry(int address, boolean isStart, int reg, int nameIndex, argument
169 this.reg = reg;
177 address, isStart ? "start" : "end", reg,
288 int reg = Leb128Utils.readUnsignedLeb128(bs);
292 address, true, reg, nameIdx, typeIdx, 0);
295 lastEntryForReg[reg] = le;
300 int reg
[all...]
/dalvik/dx/src/com/android/dx/ssa/back/
H A DRegisterAllocator.java78 * @param reg register
81 protected final int getCategoryForSsaReg(int reg) { argument
82 SsaInsn definition = ssaMeth.getDefinitionForRegister(reg);
85 // an undefined reg
95 * @param reg {@code >= 0;} SSA register
99 protected final RegisterSpec getDefinitionSpecForSsaReg(int reg) { argument
100 SsaInsn definition = ssaMeth.getDefinitionForRegister(reg);
109 * @param reg register in question
112 protected boolean isDefinitionMoveParam(int reg) { argument
113 SsaInsn defInsn = ssaMeth.getDefinitionForRegister(reg);
135 insertMoveBefore(SsaInsn insn, RegisterSpec reg) argument
[all...]
H A DInterferenceGraph.java89 * @param reg {@code >= 0;} register
93 public void mergeInterferenceSet(int reg, IntSet set) { argument
94 if (reg < interference.size()) {
95 set.merge(interference.get(reg));
/dalvik/dx/src/com/android/dx/dex/code/form/
H A DForm21c.java79 RegisterSpec reg;
83 reg = regs.get(0);
91 reg = regs.get(0);
92 if (reg.getReg() != regs.get(1).getReg()) {
102 if (!unsignedFitsInByte(reg.getReg())) {
H A DForm31c.java79 RegisterSpec reg;
83 reg = regs.get(0);
91 reg = regs.get(0);
92 if (reg.getReg() != regs.get(1).getReg()) {
102 if (!unsignedFitsInByte(reg.getReg())) {
/dalvik/vm/compiler/codegen/arm/
H A DCalloutHelper.h31 #define LOAD_FUNC_ADDR(cUnit, reg, addr) loadConstant(cUnit, reg, addr)

Completed in 285 milliseconds

123