Searched defs:sources (Results 1 - 25 of 28) sorted by relevance

12

/dalvik/dx/src/com/android/dx/ssa/
H A DRegisterMapper.java45 * @param sources old register list
48 public final RegisterSpecList map(RegisterSpecList sources) { argument
49 int sz = sources.size();
53 newSources.set(i, map(sources.get(i)));
58 // Return the old sources if nothing has changed.
59 return newSources.equals(sources) ? sources : newSources;
64 * @param sources old register set
67 public final RegisterSpecSet map(RegisterSpecSet sources) { argument
68 int sz = sources
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DConservativeTranslationAdvice.java44 RegisterSpecList sources) {
43 requiresSourcesInOrder(Rop opcode, RegisterSpecList sources) argument
H A DCstInsn.java35 * @param sources {@code non-null;} specs for all the sources
39 RegisterSpecList sources, Constant cst) {
40 super(opcode, position, result, sources);
38 CstInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources, Constant cst) argument
H A DTranslationAdvice.java31 * The instruction associated must have exactly two sources.
43 * Returns true if the translation target requires the sources of the
47 * @param sources {@code non-null;} source list
48 * @return {@code true} iff the target requires the sources to be
51 public boolean requiresSourcesInOrder(Rop opcode, RegisterSpecList sources); argument
H A DDexTranslationAdvice.java38 * instruction that requires its sources to be in order and contiguous.
92 RegisterSpecList sources) {
95 && totalRopWidth(sources) >= MIN_INVOKE_IN_ORDER;
101 * @param sources {@code non-null;} list of SSA registers
104 private int totalRopWidth(RegisterSpecList sources) { argument
105 int sz = sources.size();
109 total += sources.get(i).getCategory();
91 requiresSourcesInOrder(Rop opcode, RegisterSpecList sources) argument
H A DPlainCstInsn.java36 * @param sources {@code non-null;} specs for all the sources
40 RegisterSpec result, RegisterSpecList sources,
42 super(opcode, position, result, sources, cst);
79 RegisterSpecList sources) {
83 sources,
39 PlainCstInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources, Constant cst) argument
78 withNewRegisters(RegisterSpec result, RegisterSpecList sources) argument
H A DPlainInsn.java37 * @param sources {@code non-null;} specs for all the sources
40 RegisterSpec result, RegisterSpecList sources) {
41 super(opcode, position, result, sources);
99 RegisterSpecList sources = getSources();
100 int szSources = sources.size();
106 TypeBearer lastType = sources.get(szSources - 1).getTypeBearer();
114 RegisterSpecList newSources = sources.withoutLast();
133 RegisterSpecList sources) {
137 sources);
39 PlainInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources) argument
132 withNewRegisters(RegisterSpec result, RegisterSpecList sources) argument
[all...]
H A DFillArrayDataInsn.java47 * @param sources {@code non-null;} specs for all the sources
52 RegisterSpecList sources,
55 super(opcode, position, null, sources);
111 RegisterSpecList sources) {
114 sources, initValues, arrayType);
51 FillArrayDataInsn(Rop opcode, SourcePosition position, RegisterSpecList sources, ArrayList<Constant> initValues, Constant cst) argument
110 withNewRegisters(RegisterSpec result, RegisterSpecList sources) argument
H A DSwitchInsn.java38 * @param sources {@code non-null;} specs for all the sources
42 RegisterSpecList sources, IntList cases) {
43 super(opcode, position, result, sources);
103 RegisterSpecList sources) {
107 sources,
41 SwitchInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources, IntList cases) argument
102 withNewRegisters(RegisterSpec result, RegisterSpecList sources) argument
H A DThrowingCstInsn.java37 * @param sources {@code non-null;} specs for all the sources
42 RegisterSpecList sources,
44 super(opcode, position, null, sources, cst);
96 RegisterSpecList sources) {
99 sources,
41 ThrowingCstInsn(Rop opcode, SourcePosition position, RegisterSpecList sources, TypeList catches, Constant cst) argument
95 withNewRegisters(RegisterSpec result, RegisterSpecList sources) argument
H A DThrowingInsn.java59 * @param sources {@code non-null;} specs for all the sources
63 RegisterSpecList sources,
65 super(opcode, position, null, sources);
114 RegisterSpecList sources) {
117 sources,
62 ThrowingInsn(Rop opcode, SourcePosition position, RegisterSpecList sources, TypeList catches) argument
113 withNewRegisters(RegisterSpec result, RegisterSpecList sources) argument
H A DRop.java61 /** {@code non-null;} types of all the sources of this operation */
62 private final TypeList sources; field in class:Rop
86 * @param sources {@code non-null;} types of all the sources of this operation
94 public Rop(int opcode, Type result, TypeList sources, argument
101 if (sources == null) {
102 throw new NullPointerException("sources == null");
120 this.sources = sources;
134 * @param sources {
141 Rop(int opcode, Type result, TypeList sources, TypeList exceptions, int branchingness, String nickname) argument
159 Rop(int opcode, Type result, TypeList sources, int branchingness, String nickname) argument
176 Rop(int opcode, Type result, TypeList sources, String nickname) argument
194 Rop(int opcode, Type result, TypeList sources, TypeList exceptions, String nickname) argument
210 Rop(int opcode, TypeList sources, TypeList exceptions) argument
[all...]
H A DInsn.java29 * list of actual sources and result registers/values, and additional
42 /** {@code non-null;} specs for all the sources of this instruction */
43 private final RegisterSpecList sources; field in class:Insn
51 * @param sources {@code non-null;} specs for all the sources
54 RegisterSpecList sources) {
63 if (sources == null) {
64 throw new NullPointerException("sources == null");
70 this.sources = sources;
53 Insn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources) argument
297 withNewRegisters(RegisterSpec result, RegisterSpecList sources) argument
[all...]
/dalvik/dx/src/com/android/dx/rop/code/
H A DConservativeTranslationAdvice.java44 RegisterSpecList sources) {
43 requiresSourcesInOrder(Rop opcode, RegisterSpecList sources) argument
H A DCstInsn.java35 * @param sources {@code non-null;} specs for all the sources
39 RegisterSpecList sources, Constant cst) {
40 super(opcode, position, result, sources);
38 CstInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources, Constant cst) argument
H A DTranslationAdvice.java31 * The instruction associated must have exactly two sources.
43 * Returns true if the translation target requires the sources of the
47 * @param sources {@code non-null;} source list
48 * @return {@code true} iff the target requires the sources to be
51 public boolean requiresSourcesInOrder(Rop opcode, RegisterSpecList sources); argument
H A DDexTranslationAdvice.java38 * instruction that requires its sources to be in order and contiguous.
103 RegisterSpecList sources) {
106 && totalRopWidth(sources) >= MIN_INVOKE_IN_ORDER;
112 * @param sources {@code non-null;} list of SSA registers
115 private int totalRopWidth(RegisterSpecList sources) { argument
116 int sz = sources.size();
120 total += sources.get(i).getCategory();
102 requiresSourcesInOrder(Rop opcode, RegisterSpecList sources) argument
H A DPlainCstInsn.java36 * @param sources {@code non-null;} specs for all the sources
40 RegisterSpec result, RegisterSpecList sources,
42 super(opcode, position, result, sources, cst);
79 RegisterSpecList sources) {
83 sources,
39 PlainCstInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources, Constant cst) argument
78 withNewRegisters(RegisterSpec result, RegisterSpecList sources) argument
H A DPlainInsn.java38 * @param sources {@code non-null;} specs for all the sources
41 RegisterSpec result, RegisterSpecList sources) {
42 super(opcode, position, result, sources);
100 RegisterSpecList sources = getSources();
101 int szSources = sources.size();
107 TypeBearer lastType = sources.get(szSources - 1).getTypeBearer();
111 TypeBearer firstType = sources.get(0).getTypeBearer();
114 RegisterSpecList newSources = sources.withoutFirst();
125 RegisterSpecList newSources = sources
40 PlainInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources) argument
149 withNewRegisters(RegisterSpec result, RegisterSpecList sources) argument
[all...]
H A DFillArrayDataInsn.java46 * @param sources {@code non-null;} specs for all the sources
51 RegisterSpecList sources,
54 super(opcode, position, null, sources);
110 RegisterSpecList sources) {
113 sources, initValues, arrayType);
50 FillArrayDataInsn(Rop opcode, SourcePosition position, RegisterSpecList sources, ArrayList<Constant> initValues, Constant cst) argument
109 withNewRegisters(RegisterSpec result, RegisterSpecList sources) argument
H A DSwitchInsn.java38 * @param sources {@code non-null;} specs for all the sources
42 RegisterSpecList sources, IntList cases) {
43 super(opcode, position, result, sources);
103 RegisterSpecList sources) {
107 sources,
41 SwitchInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources, IntList cases) argument
102 withNewRegisters(RegisterSpec result, RegisterSpecList sources) argument
H A DThrowingCstInsn.java38 * @param sources {@code non-null;} specs for all the sources
43 RegisterSpecList sources,
45 super(opcode, position, null, sources, cst);
101 RegisterSpecList sources) {
104 sources,
42 ThrowingCstInsn(Rop opcode, SourcePosition position, RegisterSpecList sources, TypeList catches, Constant cst) argument
100 withNewRegisters(RegisterSpec result, RegisterSpecList sources) argument
H A DThrowingInsn.java59 * @param sources {@code non-null;} specs for all the sources
63 RegisterSpecList sources,
65 super(opcode, position, null, sources);
114 RegisterSpecList sources) {
117 sources,
62 ThrowingInsn(Rop opcode, SourcePosition position, RegisterSpecList sources, TypeList catches) argument
113 withNewRegisters(RegisterSpec result, RegisterSpecList sources) argument
H A DRop.java61 /** {@code non-null;} types of all the sources of this operation */
62 private final TypeList sources; field in class:Rop
86 * @param sources {@code non-null;} types of all the sources of this operation
94 public Rop(int opcode, Type result, TypeList sources, argument
101 if (sources == null) {
102 throw new NullPointerException("sources == null");
120 this.sources = sources;
134 * @param sources {
141 Rop(int opcode, Type result, TypeList sources, TypeList exceptions, int branchingness, String nickname) argument
159 Rop(int opcode, Type result, TypeList sources, int branchingness, String nickname) argument
176 Rop(int opcode, Type result, TypeList sources, String nickname) argument
194 Rop(int opcode, Type result, TypeList sources, TypeList exceptions, String nickname) argument
210 Rop(int opcode, TypeList sources, TypeList exceptions) argument
[all...]
H A DInsn.java27 * list of actual sources and result registers/values, and additional
40 /** {@code non-null;} specs for all the sources of this instruction */
41 private final RegisterSpecList sources; field in class:Insn
49 * @param sources {@code non-null;} specs for all the sources
52 RegisterSpecList sources) {
61 if (sources == null) {
62 throw new NullPointerException("sources == null");
68 this.sources = sources;
51 Insn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources) argument
295 withNewRegisters(RegisterSpec result, RegisterSpecList sources) argument
[all...]

Completed in 152 milliseconds

12