/external/r8/src/main/java/com/android/tools/r8/ir/code/ |
D | ConstNumber.java | 23 public final ConstType type; 26 public ConstNumber(ConstType type, Value dest, long value) { in ConstNumber() 32 assert type != ConstType.OBJECT; in ConstNumber() 47 return type == ConstType.INT_OR_FLOAT || type == ConstType.LONG_OR_DOUBLE; in preciseTypeUnknown() 55 assert type == ConstType.INT || type == ConstType.INT_OR_FLOAT; in getIntValue() 60 assert type == ConstType.LONG || type == ConstType.LONG_OR_DOUBLE; in getLongValue() 65 assert type == ConstType.FLOAT || type == ConstType.INT_OR_FLOAT; in getFloatValue() 70 assert type == ConstType.DOUBLE || type == ConstType.LONG_OR_DOUBLE; in getDoubleValue()
|
D | DebugLocalUninitialized.java | 20 public DebugLocalUninitialized(ConstType type, Value value) { in DebugLocalUninitialized() 21 super(type == ConstType.OBJECT ? ConstType.INT : type, value, 0); in DebugLocalUninitialized()
|
D | ConstType.java | 8 public enum ConstType { enum 17 public static ConstType fromNumericType(NumericType type) { in fromNumericType() 35 public static ConstType fromMoveType(MoveType moveType) { in fromMoveType()
|
D | Neg.java | 35 return new ConstNumber(ConstType.INT, value, result); in fold() 39 return new ConstNumber(ConstType.LONG, value, result); in fold() 43 return new ConstNumber(ConstType.FLOAT, value, Float.floatToIntBits(result)); in fold() 48 return new ConstNumber(ConstType.DOUBLE, value, Double.doubleToLongBits(result)); in fold()
|
D | ArithmeticBinop.java | 63 return new ConstNumber(ConstType.INT, value, result); in fold() 69 return new ConstNumber(ConstType.LONG, value, result); in fold() 75 return new ConstNumber(ConstType.FLOAT, value, Float.floatToIntBits(result)); in fold() 82 return new ConstNumber(ConstType.DOUBLE, value, Double.doubleToLongBits(result)); in fold()
|
D | Not.java | 31 return new ConstNumber(ConstType.INT, value, result); in fold() 36 return new ConstNumber(ConstType.LONG, value, result); in fold()
|
D | LogicalBinop.java | 41 return new ConstNumber(ConstType.INT, value, result); in fold() 54 return new ConstNumber(ConstType.LONG, value, result); in fold()
|
D | IRCode.java | 379 return new ConstNumber(ConstType.INT, createValue(MoveType.SINGLE), value); in createIntConstant() 383 return new ConstNumber(ConstType.INT, createValue(MoveType.SINGLE), 1); in createTrue() 387 return new ConstNumber(ConstType.INT, createValue(MoveType.SINGLE), 0); in createFalse()
|
D | MoveType.java | 63 public static MoveType fromConstType(ConstType type) { in fromConstType()
|
D | Cmp.java | 184 return new ConstNumber(ConstType.INT, value, result); in fold()
|
/external/protobuf/src/google/protobuf/ |
D | extension_set.h | 694 typedef Type ConstType; typedef 698 static inline ConstType Get(int number, const ExtensionSet& set, 699 ConstType default_value); 701 ConstType value, ExtensionSet* set); 707 typedef Type ConstType; typedef 718 static inline const RepeatedField<ConstType>& 806 typedef const string& ConstType; in PROTOBUF_DEFINE_PRIMITIVE_TYPE() typedef 811 ConstType default_value) { in PROTOBUF_DEFINE_PRIMITIVE_TYPE() 828 typedef const string& ConstType; typedef 888 typedef Type ConstType; typedef [all …]
|
/external/r8/src/test/java/com/android/tools/r8/ir/regalloc/ |
D | IdenticalAfterRegisterAllocationTest.java | 11 import com.android.tools.r8.ir.code.ConstType; 50 ConstNumber const0 = new ConstNumber(ConstType.INT, value0, 0); in equalityOfConstantOperands() 52 ConstNumber const1 = new ConstNumber(ConstType.INT, value1, 1); in equalityOfConstantOperands() 54 ConstNumber const2 = new ConstNumber(ConstType.INT, value2, 2); in equalityOfConstantOperands()
|
/external/r8/src/main/java/com/android/tools/r8/graph/ |
D | DexValue.java | 12 import com.android.tools.r8.ir.code.ConstType; 168 : new ConstNumber(ConstType.INT, dest, value); in asConstInstruction() 212 : new ConstNumber(ConstType.INT, dest, value); in asConstInstruction() 260 : new ConstNumber(ConstType.INT, dest, value); in asConstInstruction() 304 : new ConstNumber(ConstType.INT, dest, value); in asConstInstruction() 348 : new ConstNumber(ConstType.LONG, dest, value); in asConstInstruction() 763 : new ConstNumber(ConstType.INT, dest, value ? 1 : 0); in asConstInstruction()
|
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/ |
D | MemberValuePropagation.java | 16 import com.android.tools.r8.ir.code.ConstType; 80 ConstType.fromMoveType(moveType), value, rule.getReturnValue().getSingleValue()); in constantReplacementFromProguardRule() 175 new ConstNumber(ConstType.fromMoveType(moveType), value, constant); in rewriteWithConstantValues()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceELFObjectWriter.h | 79 template <typename ConstType> void writeConstantPool(Type Ty);
|
D | IceELFObjectWriter.cpp | 518 template <typename ConstType> void ELFObjectWriter::writeConstantPool(Type Ty) { in writeConstantPool() 561 auto *Const = llvm::cast<ConstType>(C); in writeConstantPool() 566 typename ConstType::PrimType Value = Const->getValue(); in writeConstantPool()
|
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/ |
D | IRBuilder.java | 36 import com.android.tools.r8.ir.code.ConstType; 502 public void addDebugUninitialized(int register, ConstType type) { 658 instruction = new ConstNumber(ConstType.INT_OR_FLOAT, out, value); 662 instruction = new ConstNumber(ConstType.LONG_OR_DOUBLE, out, value); 672 ConstType type, int dest, long value, Map<Long, ConstNumber> table) { 700 canonicalizeAndAddConst(ConstType.LONG, dest, value, longConstants); 704 canonicalizeAndAddConst(ConstType.DOUBLE, dest, value, doubleConstants); 708 canonicalizeAndAddConst(ConstType.INT, dest, value, intConstants); 712 canonicalizeAndAddConst(ConstType.FLOAT, dest, value, floatConstants); 716 canonicalizeAndAddConst(ConstType.INT, dest, value, nullConstants); [all …]
|
D | JarSourceCode.java | 23 import com.android.tools.r8.ir.code.ConstType; 796 private static ConstType constType(Type type) { in constType() 800 return ConstType.OBJECT; in constType() 806 return ConstType.INT; in constType() 808 return ConstType.FLOAT; in constType() 810 return ConstType.LONG; in constType() 812 return ConstType.DOUBLE; in constType()
|
/external/r8/src/test/java/com/android/tools/r8/ir/ |
D | SplitBlockTest.java | 16 import com.android.tools.r8.ir.code.ConstType; 362 Instruction constInstruction = new ConstNumber(ConstType.INT, newConstValue, 10); in splitBeforeReturn()
|