/art/compiler/optimizing/ |
D | data_type.h | 215 static bool IsTypeConversionImplicit(Type input_type, Type result_type); 216 static bool IsTypeConversionImplicit(int64_t value, Type result_type); 218 static bool IsZeroExtension(Type input_type, Type result_type) { in IsZeroExtension() argument 219 return IsIntOrLongType(result_type) && in IsZeroExtension() 221 Size(result_type) > Size(input_type); in IsZeroExtension() 262 inline bool DataType::IsTypeConversionImplicit(Type input_type, Type result_type) { in IsTypeConversionImplicit() argument 263 DCHECK_NE(DataType::Type::kVoid, result_type); in IsTypeConversionImplicit() 267 DCHECK_NE(DataType::Type::kBool, result_type); in IsTypeConversionImplicit() 272 return result_type == input_type || in IsTypeConversionImplicit() 273 (result_type != Type::kInt64 && in IsTypeConversionImplicit() [all …]
|
D | nodes_shared.cc | 45 DataType::Type result_type = instruction->AsTypeConversion()->GetResultType(); in GetOpInfoFromInstruction() local 47 int result_size = DataType::Size(result_type); in GetOpInfoFromInstruction() 50 if (result_type == DataType::Type::kInt32 && input_type == DataType::Type::kInt64) { in GetOpInfoFromInstruction() 57 } else if (result_type == DataType::Type::kUint8 || in GetOpInfoFromInstruction() 60 } else if (result_type == DataType::Type::kUint16 || in GetOpInfoFromInstruction()
|
D | nodes_x86.h | 71 HX86FPNeg(DataType::Type result_type, in HX86FPNeg() argument 75 : HExpression(kX86FPNeg, result_type, SideEffects::None(), dex_pc) { in HX86FPNeg() 76 DCHECK(DataType::IsFloatingPointType(result_type)); in HX86FPNeg() 133 HX86AndNot(DataType::Type result_type, 137 : HBinaryOperation(kX86AndNot, result_type, left, right, SideEffects::None(), dex_pc) { in HBinaryOperation() argument 171 HX86MaskOrResetLeastSetBit(DataType::Type result_type, InstructionKind op, 173 : HUnaryOperation(kX86MaskOrResetLeastSetBit, result_type, input, dex_pc), in HUnaryOperation() argument 175 DCHECK_EQ(result_type, DataType::Kind(input->GetType())); in HUnaryOperation()
|
D | data_type_test.cc | 92 DataType::Type result_type = kIntegralResultTypes[result_index]; in TEST() local 94 DataType::IsTypeConversionImplicit(input_type, result_type)) in TEST() 95 << input_type << " " << result_type; in TEST() 102 for (DataType::Type result_type : kIntegralResultTypes) { in TEST() local 103 EXPECT_FALSE(DataType::IsTypeConversionImplicit(DataType::Type::kFloat32, result_type)); in TEST() 104 EXPECT_FALSE(DataType::IsTypeConversionImplicit(DataType::Type::kFloat64, result_type)); in TEST()
|
D | instruction_simplifier_shared.h | 30 DataType::Type result_type = conversion->GetResultType(); in CanFitInShifterOperand() local 33 return DataType::IsIntegralType(result_type) && DataType::IsIntegralType(input_type) && in CanFitInShifterOperand() 34 (result_type != input_type); in CanFitInShifterOperand()
|
D | graph_checker.cc | 1206 DataType::Type result_type = instruction->GetType(); in VisitNeg() local 1207 if (result_type != DataType::Kind(input_type)) { in VisitNeg() 1211 DataType::PrettyDescriptor(result_type), in VisitNeg() 1235 DataType::Type result_type = op->GetType(); in VisitBinaryOperation() local 1257 if (result_type != DataType::Type::kInt32) { in VisitBinaryOperation() 1260 DataType::PrettyDescriptor(result_type))); in VisitBinaryOperation() 1265 if (result_type != DataType::Kind(lhs_type)) { in VisitBinaryOperation() 1269 DataType::PrettyDescriptor(result_type), in VisitBinaryOperation() 1273 if (DataType::Kind(result_type) != DataType::Kind(lhs_type)) { in VisitBinaryOperation() 1277 DataType::PrettyDescriptor(result_type), in VisitBinaryOperation() [all …]
|
D | instruction_simplifier.cc | 1180 static bool IsTypeConversionLossless(DataType::Type input_type, DataType::Type result_type) { in IsTypeConversionLossless() argument 1182 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in IsTypeConversionLossless() 1183 << input_type << "," << result_type; in IsTypeConversionLossless() 1189 return DataType::Size(result_type) > DataType::Size(input_type) && in IsTypeConversionLossless() 1190 result_type != DataType::Type::kUint16 && in IsTypeConversionLossless() 1191 !(result_type == DataType::Type::kInt64 && input_type == DataType::Type::kFloat32); in IsTypeConversionLossless() 1196 DataType::Type result_type) { in CanRemoveRedundantAnd() argument 1214 int64_t mask = DataType::MaxValueOfIntegralType(DataType::ToUnsigned(result_type)) << shr_cst; in CanRemoveRedundantAnd() 1246 DataType::Type result_type = type_conversion->GetResultType(); in IsTypeConversionForStoringIntoNoWiderFieldOnly() local 1248 !DataType::IsIntegralType(result_type) || in IsTypeConversionForStoringIntoNoWiderFieldOnly() [all …]
|
D | instruction_simplifier_arm.cc | 283 DataType::Type result_type = instruction->GetResultType(); in VisitTypeConversion() local 286 if (input_type == result_type) { in VisitTypeConversion() 291 if (DataType::IsIntegralType(result_type) && DataType::IsIntegralType(input_type)) { in VisitTypeConversion()
|
D | instruction_simplifier_arm64.cc | 254 DataType::Type result_type = instruction->GetResultType(); in VisitTypeConversion() local 257 if (input_type == result_type) { in VisitTypeConversion() 262 if (DataType::IsIntegralType(result_type) && DataType::IsIntegralType(input_type)) { in VisitTypeConversion()
|
D | nodes_shared.h | 67 HBitwiseNegatedRight(DataType::Type result_type, 73 result_type, in HBinaryOperation() argument
|
D | nodes.h | 3816 DataType::Type result_type, 3819 : HExpression(kind, result_type, SideEffects::None(), dex_pc) { 3854 DataType::Type result_type, 3859 : HExpression(kind, result_type, side_effects, dex_pc) { 5303 HNeg(DataType::Type result_type, HInstruction* input, uint32_t dex_pc = kNoDexPc) 5304 : HUnaryOperation(kNeg, result_type, input, dex_pc) { 5305 DCHECK_EQ(result_type, DataType::Kind(input->GetType())); 5378 HAdd(DataType::Type result_type, 5382 : HBinaryOperation(kAdd, result_type, left, right, SideEffects::None(), dex_pc) { 5414 HSub(DataType::Type result_type, [all …]
|
D | instruction_builder.h | 124 DataType::Type result_type,
|
D | code_generator_x86_64.cc | 3170 DataType::Type result_type = conversion->GetResultType(); in VisitTypeConversion() local 3172 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion() 3173 << input_type << " -> " << result_type; in VisitTypeConversion() 3175 switch (result_type) { in VisitTypeConversion() 3204 << " to " << result_type; in VisitTypeConversion() 3234 << " to " << result_type; in VisitTypeConversion() 3262 << " to " << result_type; in VisitTypeConversion() 3290 << " to " << result_type; in VisitTypeConversion() 3296 << " to " << result_type; in VisitTypeConversion() 3304 DataType::Type result_type = conversion->GetResultType(); in VisitTypeConversion() local [all …]
|
D | code_generator_arm64.cc | 6391 DataType::Type result_type = conversion->GetResultType(); in VisitTypeConversion() local 6392 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion() 6393 << input_type << " -> " << result_type; in VisitTypeConversion() 6395 (result_type == DataType::Type::kReference) || (result_type == DataType::Type::kVoid)) { in VisitTypeConversion() 6396 LOG(FATAL) << "Unexpected type conversion from " << input_type << " to " << result_type; in VisitTypeConversion() 6405 if (DataType::IsFloatingPointType(result_type)) { in VisitTypeConversion() 6413 DataType::Type result_type = conversion->GetResultType(); in VisitTypeConversion() local 6416 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion() 6417 << input_type << " -> " << result_type; in VisitTypeConversion() 6419 if (DataType::IsIntegralType(result_type) && DataType::IsIntegralType(input_type)) { in VisitTypeConversion() [all …]
|
D | scheduler_arm.cc | 1060 DataType::Type result_type = instr->GetResultType(); in VisitTypeConversion() local 1063 switch (result_type) { in VisitTypeConversion()
|
D | code_generator_x86.cc | 2965 DataType::Type result_type = conversion->GetResultType(); in VisitTypeConversion() local 2967 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion() 2968 << input_type << " -> " << result_type; in VisitTypeConversion() 2974 && result_type == DataType::Type::kInt64) in VisitTypeConversion() 2980 switch (result_type) { in VisitTypeConversion() 3008 << " to " << result_type; in VisitTypeConversion() 3040 << " to " << result_type; in VisitTypeConversion() 3069 << " to " << result_type; in VisitTypeConversion() 3097 << " to " << result_type; in VisitTypeConversion() 3125 << " to " << result_type; in VisitTypeConversion() [all …]
|
D | code_generator_arm_vixl.cc | 3814 DataType::Type result_type = conversion->GetResultType(); in VisitTypeConversion() local 3816 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion() 3817 << input_type << " -> " << result_type; in VisitTypeConversion() 3823 && result_type == DataType::Type::kInt64) in VisitTypeConversion() 3824 || (input_type == DataType::Type::kInt64 && result_type == DataType::Type::kFloat32)) in VisitTypeConversion() 3830 switch (result_type) { in VisitTypeConversion() 3861 << " to " << result_type; in VisitTypeConversion() 3894 << " to " << result_type; in VisitTypeConversion() 3925 << " to " << result_type; in VisitTypeConversion() 3955 << " to " << result_type; in VisitTypeConversion() [all …]
|
D | instruction_builder.cc | 698 DataType::Type result_type, in Conversion_12x() argument 701 AppendInstruction(new (allocator_) HTypeConversion(result_type, first, dex_pc)); in Conversion_12x()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 119 ObjPtr<mirror::Class> result_type; in InvokeProxyInvocationHandler() local 122 result_type = h_interface_method->GetArtMethod()->ResolveReturnType(); in InvokeProxyInvocationHandler() 123 if (result_type == nullptr) { in InvokeProxyInvocationHandler() 128 result_type = runtime->GetClassLinker()->LookupPrimitiveClass(shorty[0]); in InvokeProxyInvocationHandler() 129 DCHECK(result_type != nullptr); in InvokeProxyInvocationHandler() 132 if (!UnboxPrimitiveForResult(h_result.Get(), result_type, &result_unboxed)) { in InvokeProxyInvocationHandler()
|
/art/libartbase/base/ |
D | utils.h | 108 using result_type = uint32_t; member
|