Home
last modified time | relevance | path

Searched refs:CstInteger (Results 1 – 25 of 30) sorted by relevance

12

/dalvik/dexgen/src/com/android/dexgen/rop/cst/
DCstInteger.java25 public final class CstInteger class
28 private static final CstInteger[] cache = new CstInteger[511];
31 public static final CstInteger VALUE_M1 = make(-1);
34 public static final CstInteger VALUE_0 = make(0);
37 public static final CstInteger VALUE_1 = make(1);
40 public static final CstInteger VALUE_2 = make(2);
43 public static final CstInteger VALUE_3 = make(3);
46 public static final CstInteger VALUE_4 = make(4);
49 public static final CstInteger VALUE_5 = make(5);
58 public static CstInteger make(int value) { in make()
[all …]
DZeroes.java45 case Type.BT_INT: return CstInteger.VALUE_0; in zeroFor()
/dalvik/dx/src/com/android/dx/rop/cst/
DCstInteger.java25 public final class CstInteger class
28 private static final CstInteger[] cache = new CstInteger[511];
31 public static final CstInteger VALUE_M1 = make(-1);
34 public static final CstInteger VALUE_0 = make(0);
37 public static final CstInteger VALUE_1 = make(1);
40 public static final CstInteger VALUE_2 = make(2);
43 public static final CstInteger VALUE_3 = make(3);
46 public static final CstInteger VALUE_4 = make(4);
49 public static final CstInteger VALUE_5 = make(5);
58 public static CstInteger make(int value) { in make()
[all …]
DZeroes.java45 case Type.BT_INT: return CstInteger.VALUE_0; in zeroFor()
/dalvik/dx/src/com/android/dx/rop/code/
DDexTranslationAdvice.java19 import com.android.dx.rop.cst.CstInteger;
65 if (! (sourceB.getTypeBearer() instanceof CstInteger)) { in hasConstantOperation()
67 if (sourceA.getTypeBearer() instanceof CstInteger && in hasConstantOperation()
69 CstInteger cst = (CstInteger) sourceA.getTypeBearer(); in hasConstantOperation()
76 CstInteger cst = (CstInteger) sourceB.getTypeBearer(); in hasConstantOperation()
95 CstInteger cst2 = CstInteger.make(-cst.getValue()); in hasConstantOperation()
DPlainInsn.java20 import com.android.dx.rop.cst.CstInteger;
131 if (opcode == RegOps.SUB && cst instanceof CstInteger) { in withSourceLiteral()
133 cst = CstInteger.make(-((CstInteger)cst).getValue()); in withSourceLiteral()
/dalvik/dexgen/src/com/android/dexgen/rop/code/
DDexTranslationAdvice.java19 import com.android.dexgen.rop.cst.CstInteger;
63 if (! (sourceB.getTypeBearer() instanceof CstInteger)) { in hasConstantOperation()
67 CstInteger cst = (CstInteger) sourceB.getTypeBearer(); in hasConstantOperation()
/dalvik/dx/src/com/android/dx/cf/direct/
DAnnotationParser.java36 import com.android.dx.rop.cst.CstInteger;
316 CstInteger value = (CstInteger) parseConstant(); in parseValue()
320 CstInteger value = (CstInteger) parseConstant(); in parseValue()
333 CstInteger value = (CstInteger) parseConstant(); in parseValue()
341 CstInteger value = (CstInteger) parseConstant(); in parseValue()
345 CstInteger value = (CstInteger) parseConstant(); in parseValue()
DCodeObserver.java26 import com.android.dx.rop.cst.CstInteger;
109 if (cst instanceof CstInteger) { in visitConstant()
/dalvik/dexgen/src/com/android/dexgen/rop/
DAttConstantValue.java21 import com.android.dexgen.rop.cst.CstInteger;
48 (constantValue instanceof CstInteger) || in AttConstantValue()
/dalvik/dx/src/com/android/dx/cf/attrib/
DAttConstantValue.java21 import com.android.dx.rop.cst.CstInteger;
48 (constantValue instanceof CstInteger) || in AttConstantValue()
/dalvik/dx/src/com/android/dx/cf/code/
DBootstrapMethodArgumentsList.java21 import com.android.dx.rop.cst.CstInteger;
63 cst instanceof CstInteger || in set()
DBytecodeArray.java23 import com.android.dx.rop.cst.CstInteger;
239 CstInteger.VALUE_M1, -1); in parseInstruction()
244 CstInteger.VALUE_0, 0); in parseInstruction()
249 CstInteger.VALUE_1, 1); in parseInstruction()
254 CstInteger.VALUE_2, 2); in parseInstruction()
259 CstInteger.VALUE_3, 3); in parseInstruction()
264 CstInteger.VALUE_4, 4); in parseInstruction()
269 CstInteger.VALUE_5, 5); in parseInstruction()
310 CstInteger.make(value), value); in parseInstruction()
316 CstInteger.make(value), value); in parseInstruction()
[all …]
DRopperMachine.java40 import com.android.dx.rop.cst.CstInteger;
560 CstInteger cstInt = (CstInteger) lastType; in run()
561 cst = CstInteger.make(-cstInt.getValue()); in run()
/dalvik/dx/src/com/android/dx/ssa/back/
DFirstFitAllocator.java20 import com.android.dx.rop.cst.CstInteger;
147 return ((CstInteger) origInsn.getConstant()).getValue(); in paramNumberFromMoveParam()
/dalvik/dx/src/com/android/dx/ssa/
DMoveParamCombiner.java23 import com.android.dx.rop.cst.CstInteger;
155 int param = ((CstInteger)cstInsn.getConstant()).getValue(); in getParamIndex()
DSCCP.java28 import com.android.dx.rop.cst.CstInteger;
273 int vA = ((CstInteger) cA).getValue(); in simulateBranch()
304 int vA = ((CstInteger) cA).getValue(); in simulateBranch()
305 int vB = ((CstInteger) cB).getValue(); in simulateBranch()
401 int vA = ((CstInteger) cA).getValue(); in simulateMath()
402 int vB = ((CstInteger) cB).getValue(); in simulateMath()
457 return skip ? null : CstInteger.make(vR); in simulateMath()
/dalvik/dx/src/com/android/dx/dex/cf/
DCfTranslator.java59 import com.android.dx.rop.cst.CstInteger;
249 return CstBoolean.make(((CstInteger) constant).getValue()); in coerceConstant()
252 return CstByte.make(((CstInteger) constant).getValue()); in coerceConstant()
255 return CstChar.make(((CstInteger) constant).getValue()); in coerceConstant()
258 return CstShort.make(((CstInteger) constant).getValue()); in coerceConstant()
/dalvik/dx/src/com/android/dx/dex/file/
DAnnotationUtils.java25 import com.android.dx.rop.cst.CstInteger;
143 CstInteger.make(accessFlags))); in makeInnerClass()
DValueEncoder.java32 import com.android.dx.rop.cst.CstInteger;
244 } else if (cst instanceof CstInteger) { in constantToValueType()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DAnnotationUtils.java24 import com.android.dexgen.rop.cst.CstInteger;
142 CstInteger.make(accessFlags))); in makeInnerClass()
DValueEncoder.java31 import com.android.dexgen.rop.cst.CstInteger;
227 } else if (cst instanceof CstInteger) { in constantToValueType()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DInsnFormat.java21 import com.android.dexgen.rop.cst.CstInteger;
387 int arg = ((CstInteger) ((CstInsn) insn).getConstant()).getValue(); in argIndex()
DRopTranslator.java37 import com.android.dexgen.rop.cst.CstInteger;
187 ((CstInteger) insn.getConstant()).getValue(); in calculateParamsAreInOrder()
591 ((CstInteger) insn.getConstant()).getValue(); in visitPlainCstInsn()
/dalvik/dx/src/com/android/dx/dex/code/
DInsnFormat.java21 import com.android.dx.rop.cst.CstInteger;
421 int arg = ((CstInteger) ((CstInsn) insn).getConstant()).getValue(); in argIndex()

12