Searched refs:input_type (Results 1 - 15 of 15) sorted by relevance

/art/compiler/optimizing/
H A Dnodes_arm64.cc40 Primitive::Type input_type = instruction->AsTypeConversion()->GetInputType(); local
42 int input_size = Primitive::ComponentSize(input_type);
46 if (result_type == Primitive::kPrimInt && input_type == Primitive::kPrimLong) {
53 (input_type == Primitive::kPrimChar && input_size < result_size)) {
H A Dssa_builder.cc134 Primitive::Type input_type = HPhi::ToPhiType(input->GetType()); local
135 if (common_type == input_type) {
137 } else if (Primitive::Is64BitType(common_type) != Primitive::Is64BitType(input_type)) {
144 DCHECK(Primitive::IsFloatingPointType(input_type) || input_type == Primitive::kPrimNot);
145 common_type = input_type;
146 } else if (Primitive::IsIntegralType(input_type)) {
152 DCHECK((common_type == Primitive::kPrimFloat && input_type == Primitive::kPrimNot) ||
153 (common_type == Primitive::kPrimNot && input_type == Primitive::kPrimFloat));
H A Dinstruction_simplifier_arm64.cc231 Primitive::Type input_type = instruction->GetInputType(); local
233 if (input_type == result_type) {
238 if (Primitive::IsIntegralType(result_type) && Primitive::IsIntegralType(input_type)) {
H A Dinstruction_simplifier.cc788 static bool IsTypeConversionImplicit(Primitive::Type input_type, Primitive::Type result_type) { argument
795 return result_type == input_type ||
796 (result_type == Primitive::kPrimInt && (input_type == Primitive::kPrimBoolean ||
797 input_type == Primitive::kPrimByte ||
798 input_type == Primitive::kPrimShort ||
799 input_type == Primitive::kPrimChar)) ||
800 (result_type == Primitive::kPrimChar && input_type == Primitive::kPrimBoolean) ||
801 (result_type == Primitive::kPrimShort && (input_type == Primitive::kPrimBoolean ||
802 input_type == Primitive::kPrimByte)) ||
803 (result_type == Primitive::kPrimByte && input_type
806 IsTypeConversionLossless(Primitive::Type input_type, Primitive::Type result_type) argument
819 Primitive::Type input_type = input->GetType(); local
[all...]
H A Dcommon_arm64.h297 Primitive::Type input_type = conversion->GetInputType(); local
299 return Primitive::IsIntegralType(result_type) && Primitive::IsIntegralType(input_type) &&
300 (result_type != input_type);
H A Dgraph_checker.cc924 Primitive::Type input_type = instruction->InputAt(0)->GetType(); local
926 if (result_type != Primitive::PrimitiveKind(input_type)) {
931 Primitive::PrettyDescriptor(input_type)));
1020 Primitive::Type input_type = instruction->GetInputType(); local
1028 Primitive::PrettyDescriptor(input_type)));
H A Dcode_generator_mips.cc4705 Primitive::Type input_type = conversion->GetInputType(); local
4707 DCHECK_NE(input_type, result_type);
4710 if ((input_type == Primitive::kPrimNot) || (input_type == Primitive::kPrimVoid) ||
4712 LOG(FATAL) << "Unexpected type conversion from " << input_type << " to " << result_type;
4717 ((Primitive::IsFloatingPointType(result_type) && input_type == Primitive::kPrimLong) ||
4718 (result_type == Primitive::kPrimLong && Primitive::IsFloatingPointType(input_type)))) {
4725 if (Primitive::IsFloatingPointType(input_type)) {
4739 if (Primitive::IsFloatingPointType(input_type)) {
4742 DCHECK_EQ(input_type, Primitiv
4754 Primitive::Type input_type = conversion->GetInputType(); local
[all...]
H A Dcode_generator_mips64.cc3835 Primitive::Type input_type = conversion->GetInputType(); local
3837 DCHECK_NE(input_type, result_type);
3839 if ((input_type == Primitive::kPrimNot) || (input_type == Primitive::kPrimVoid) ||
3841 LOG(FATAL) << "Unexpected type conversion from " << input_type << " to " << result_type;
3846 if (Primitive::IsFloatingPointType(input_type)) {
3862 Primitive::Type input_type = conversion->GetInputType(); local
3864 DCHECK_NE(input_type, result_type);
3866 if (Primitive::IsIntegralType(result_type) && Primitive::IsIntegralType(input_type)) {
3875 if (input_type
[all...]
H A Dcode_generator_arm.cc1988 Primitive::Type input_type = conversion->GetInputType(); local
1989 DCHECK_NE(result_type, input_type);
1994 (((input_type == Primitive::kPrimFloat || input_type == Primitive::kPrimDouble)
1996 || (input_type == Primitive::kPrimLong && result_type == Primitive::kPrimFloat))
2007 switch (input_type) {
2021 LOG(FATAL) << "Unexpected type conversion from " << input_type
2027 switch (input_type) {
2041 LOG(FATAL) << "Unexpected type conversion from " << input_type
2047 switch (input_type) {
2210 Primitive::Type input_type = conversion->GetInputType(); local
[all...]
H A Dcode_generator_x86.cc2160 Primitive::Type input_type = conversion->GetInputType(); local
2161 DCHECK_NE(result_type, input_type);
2166 ((input_type == Primitive::kPrimFloat || input_type == Primitive::kPrimDouble)
2178 switch (input_type) {
2204 LOG(FATAL) << "Unexpected type conversion from " << input_type
2210 switch (input_type) {
2224 LOG(FATAL) << "Unexpected type conversion from " << input_type
2230 switch (input_type) {
2252 LOG(FATAL) << "Unexpected type conversion from " << input_type
2381 Primitive::Type input_type = conversion->GetInputType(); local
[all...]
H A Dcode_generator_x86_64.cc2330 Primitive::Type input_type = conversion->GetInputType(); local
2331 DCHECK_NE(result_type, input_type);
2338 switch (input_type) {
2352 LOG(FATAL) << "Unexpected type conversion from " << input_type
2358 switch (input_type) {
2372 LOG(FATAL) << "Unexpected type conversion from " << input_type
2378 switch (input_type) {
2398 LOG(FATAL) << "Unexpected type conversion from " << input_type
2404 switch (input_type) {
2431 LOG(FATAL) << "Unexpected type conversion from " << input_type
2529 Primitive::Type input_type = conversion->GetInputType(); local
[all...]
H A Dinstruction_builder.h137 Primitive::Type input_type,
H A Dcode_generator_arm64.cc4646 Primitive::Type input_type = conversion->GetInputType();
4648 DCHECK_NE(input_type, result_type);
4649 if ((input_type == Primitive::kPrimNot) || (input_type == Primitive::kPrimVoid) ||
4651 LOG(FATAL) << "Unexpected type conversion from " << input_type << " to " << result_type;
4654 if (Primitive::IsFloatingPointType(input_type)) {
4669 Primitive::Type input_type = conversion->GetInputType();
4671 DCHECK_NE(input_type, result_type);
4673 if (Primitive::IsIntegralType(result_type) && Primitive::IsIntegralType(input_type)) {
4675 int input_size = Primitive::ComponentSize(input_type);
[all...]
H A Dinstruction_builder.cc501 Primitive::Type input_type,
504 HInstruction* first = LoadLocal(instruction.VRegB(), input_type);
500 Conversion_12x(const Instruction& instruction, Primitive::Type input_type, Primitive::Type result_type, uint32_t dex_pc) argument
H A Dnodes.h4908 static SideEffects SideEffectsForArchRuntimeCalls(Primitive::Type input_type, argument
4913 if ((Primitive::IsFloatingPointType(input_type) && Primitive::IsIntegralType(result_type))
4914 || (input_type == Primitive::kPrimLong && Primitive::IsFloatingPointType(result_type))) {

Completed in 196 milliseconds