OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:newReg
(Results
1 - 9
of
9
) sorted by null
/dalvik/dx/src/com/android/dx/ssa/
InterferenceRegisterMapper.java
65
public void addMapping(int oldReg, int
newReg
, int category) {
66
super.addMapping(oldReg,
newReg
, category);
68
addInterfence(
newReg
, oldReg);
71
addInterfence(
newReg
+ 1, oldReg);
77
* with what currently maps to {@code
newReg
}.
80
* @param
newReg
new namespace register
82
* @return true if oldReg will interfere with
newReg
84
public boolean interferes(int oldReg, int
newReg
, int category) {
85
if (
newReg
>= newRegInterference.size()) {
88
IntSet existing = newRegInterference.get(
newReg
);
[
all
...]
BasicRegisterMapper.java
56
int
newReg
;
58
newReg
= oldToNew.get(registerSpec.getReg());
60
newReg
= -1;
63
if (
newReg
< 0) {
67
return registerSpec.withReg(
newReg
);
112
* @param
newReg
{@code >= 0;} new register
115
public void addMapping(int oldReg, int
newReg
, int category) {
123
oldToNew.set(oldReg,
newReg
);
125
if (runningCountNewRegisters < (
newReg
+ category)) {
126
runningCountNewRegisters =
newReg
+ category
[
all
...]
ConstCollector.java
270
* variable, then insert a mark-local for {@code
newReg
} just below
275
* @param
newReg
{@code non-null;} new register that will replace
279
RegisterSpec
newReg
) {
300
newReg
=
newReg
.withLocalItem(local);
304
new PlainInsn(Rops.opMarkLocal(
newReg
),
306
RegisterSpecList.make(
newReg
)),
348
final RegisterSpec
newReg
= newRegs.get(cst);
350
if (
newReg
== null) {
382
return
newReg
.withLocalItem
[
all
...]
EscapeAnalysis.java
543
RegisterSpec
newReg
=
545
newRegs.add(
newReg
);
546
insertPlainInsnBefore(def, RegisterSpecList.EMPTY,
newReg
,
602
// Update the
newReg
entry to mark value as unknown now
748
RegisterSpec
newReg
=
750
insertPlainInsnBefore(newInsn, RegisterSpecList.EMPTY,
newReg
,
759
insertThrowingInsnBefore(newInsn2, RegisterSpecList.make(
newReg
, index),
767
insertThrowingInsnBefore(newInsn3, RegisterSpecList.make(
newReg
), null,
[
all
...]
/dalvik/dx/src/com/android/dx/ssa/back/
FirstFitAllocator.java
92
int
newReg
= 0;
99
newReg
= paramNumberFromMoveParam(defInsn);
101
mapper.addMapping(i,
newReg
, maxCategory);
105
newReg
= nextNewRegister;
127
mapper.addMapping(j,
newReg
, maxCategory);
RegisterAllocator.java
171
int
newReg
= newRegSpec.getReg();
182
interference.add(
newReg
, liveOutIter.next());
190
interference.add(
newReg
, sources.get(i).getReg());
/dalvik/vm/compiler/codegen/
RallocUtil.cpp
659
static void copyRegInfo(CompilationUnit *cUnit, int
newReg
, int oldReg)
661
RegisterInfo *newInfo = getRegInfo(cUnit,
newReg
);
664
newInfo->reg =
newReg
;
800
int
newReg
;
808
newReg
= dvmCompilerAllocTypedTemp(cUnit, loc.fp, regClass);
809
dvmCompilerRegCopy(cUnit,
newReg
, loc.lowReg);
810
copyRegInfo(cUnit,
newReg
, loc.lowReg);
812
loc.lowReg =
newReg
;
819
newReg
= dvmCompilerAllocTypedTemp(cUnit, loc.fp, regClass);
820
loc.lowReg =
newReg
;
[
all
...]
/dalvik/dexgen/src/com/android/dexgen/rop/code/
RegisterSpec.java
474
* @param
newReg
{@code >= 0;} the new register number
477
public RegisterSpec withReg(int
newReg
) {
478
if (reg ==
newReg
) {
482
return makeLocalOptional(
newReg
, type, local);
/dalvik/dx/src/com/android/dx/rop/code/
RegisterSpec.java
479
* @param
newReg
{@code >= 0;} the new register number
482
public RegisterSpec withReg(int
newReg
) {
483
if (reg ==
newReg
) {
487
return makeLocalOptional(
newReg
, type, local);
Completed in 107 milliseconds