Home
last modified time | relevance | path

Searched refs:getConstInstruction (Results 1 – 14 of 14) sorted by relevance

/external/r8/src/main/java/com/android/tools/r8/ir/code/
DArithmeticBinop.java59 int left = leftValue().getConstInstruction().asConstNumber().getIntValue(); in fold()
60 int right = rightValue().getConstInstruction().asConstNumber().getIntValue(); in fold()
65 long left = leftValue().getConstInstruction().asConstNumber().getLongValue(); in fold()
66 long right = rightValue().getConstInstruction().asConstNumber().getLongValue(); in fold()
71 float left = leftValue().getConstInstruction().asConstNumber().getFloatValue(); in fold()
72 float right = rightValue().getConstInstruction().asConstNumber().getFloatValue(); in fold()
78 double left = leftValue().getConstInstruction().asConstNumber().getDoubleValue(); in fold()
79 double right = rightValue().getConstInstruction().asConstNumber().getDoubleValue(); in fold()
118 ConstNumber right = rightValue().getConstInstruction().asConstNumber(); in buildDex()
DLogicalBinop.java37 int left = leftValue().getConstInstruction().asConstNumber().getIntValue(); in fold()
38 int right = rightValue().getConstInstruction().asConstNumber().getIntValue(); in fold()
44 long left = leftValue().getConstInstruction().asConstNumber().getLongValue(); in fold()
48 right = rightValue().getConstInstruction().asConstNumber().getIntValue(); in fold()
50 right = rightValue().getConstInstruction().asConstNumber().getLongValue(); in fold()
94 ConstNumber right = rightValue().getConstInstruction().asConstNumber(); in buildDex()
DCmp.java155 long left = leftValue().getConstInstruction().asConstNumber().getLongValue(); in fold()
156 long right = rightValue().getConstInstruction().asConstNumber().getLongValue(); in fold()
165 float left = leftValue().getConstInstruction().asConstNumber().getFloatValue(); in fold()
166 float right = rightValue().getConstInstruction().asConstNumber().getFloatValue(); in fold()
174 double left = leftValue().getConstInstruction().asConstNumber().getDoubleValue(); in fold()
175 double right = rightValue().getConstInstruction().asConstNumber().getDoubleValue(); in fold()
DNeg.java33 int result = -source().getConstInstruction().asConstNumber().getIntValue(); in fold()
37 long result = -source().getConstInstruction().asConstNumber().getLongValue(); in fold()
41 float result = -source().getConstInstruction().asConstNumber().getFloatValue(); in fold()
46 double result = -source().getConstInstruction().asConstNumber().getDoubleValue(); in fold()
DSub.java115 value.getConstInstruction().asConstNumber().negativeIs16Bit(); in negativeFitsInDexInstruction()
123 ConstNumber left = leftValue().getConstInstruction().asConstNumber(); in maxInOutValueRegisterSize()
127 ConstNumber right = rightValue().getConstInstruction().asConstNumber(); in maxInOutValueRegisterSize()
163 ConstNumber left = leftValue().getConstInstruction().asConstNumber(); in buildDex()
178 ConstNumber right = rightValue().getConstInstruction().asConstNumber(); in buildDex()
DBinop.java60 value.getConstInstruction().asConstNumber().is16Bit(); in fitsInLit16Instruction()
66 value.getConstInstruction().asConstNumber().is8Bit(); in fitsInLit8Instruction()
73 return rightValue().getConstInstruction().asConstNumber().is8Bit() ? U8BIT_MAX : U4BIT_MAX; in maxInOutValueRegisterSize()
DValue.java389 ConstNumber constNumber = getConstInstruction().asConstNumber(); in toString()
414 public ConstInstruction getConstInstruction() { in getConstInstruction() method in Value
483 return value == getConstInstruction().asConstNumber().getIntValue(); in isValueInRange()
492 int value = getConstInstruction().asConstNumber().getIntValue(); in getValueRange()
496 long value = getConstInstruction().asConstNumber().getLongValue(); in getValueRange()
DNot.java29 int result = ~(source().getConstInstruction().asConstNumber().getIntValue()); in fold()
34 long result = ~source().getConstInstruction().asConstNumber().getLongValue(); in fold()
DArrayPut.java97 int newArraySize = newArraySizeValue.getConstInstruction().asConstNumber().getIntValue(); in instructionInstanceCanThrow()
98 int index = index().getConstInstruction().asConstNumber().getIntValue(); in instructionInstanceCanThrow()
DRem.java91 return super.canBeFolded() && !rightValue().getConstInstruction().asConstNumber().isZero(); in canBeFolded()
DDiv.java91 return super.canBeFolded() && !rightValue().getConstInstruction().asConstNumber().isZero(); in canBeFolded()
DInstruction.java234 ConstNumber aNum = a.getConstInstruction().asConstNumber(); in identicalAfterRegisterAllocation()
235 ConstNumber bNum = b.getConstInstruction().asConstNumber(); in identicalAfterRegisterAllocation()
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DCodeRewriter.java716 && argument.getConstInstruction().asConstNumber().isZero()); in rewriteMoveResult()
837 ConstNumber definition = value.getConstInstruction().asConstNumber(); in splitRangedInvokeConstants()
862 ConstNumber definition = operand.getConstInstruction().asConstNumber(); in splitPhiConstants()
1038 int index = arrayPut.index().getConstInstruction().asConstNumber().getIntValue(); in computeConstantArrayValues()
1043 ConstNumber value = arrayPut.source().getConstInstruction().asConstNumber(); in computeConstantArrayValues()
1064 int size = newArray.size().getConstInstruction().asConstNumber().getIntValue();
1090 int size = newArray.size().getConstInstruction().asConstNumber().getIntValue();
1102 int arraySize = newArray.size().getConstInstruction().asConstNumber().getIntValue();
1247 cond = inValues.get(0).getConstInstruction().asConstNumber().getIntValue();
1249 int left = inValues.get(0).getConstInstruction().asConstNumber().getIntValue();
[all …]
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DIRBuilder.java1395 if (in2.isConstant() && in2.getConstInstruction().asConstNumber().isIntegerNegativeOne(type)) {