/art/compiler/optimizing/ |
H A D | code_generator_mips64.cc | 654 // If the source is a double stack slot or a 64bit constant, a 64bit 679 // Move to GPR/FPR from constant 760 // Move to stack from constant 2168 // A division by a non-null constant is valid. We don't need to perform 2176 void LocationsBuilderMIPS64::VisitDoubleConstant(HDoubleConstant* constant) { argument 2178 new (GetGraph()->GetArena()) LocationSummary(constant, LocationSummary::kNoCall); 2179 locations->SetOut(Location::ConstantLocation(constant)); 2193 void LocationsBuilderMIPS64::VisitFloatConstant(HFloatConstant* constant) { argument 2195 new (GetGraph()->GetArena()) LocationSummary(constant, LocationSummary::kNoCall); 2196 locations->SetOut(Location::ConstantLocation(constant)); 2892 VisitIntConstant(HIntConstant* constant) argument 2901 VisitNullConstant(HNullConstant* constant) argument 3291 VisitLongConstant(HLongConstant* constant) argument [all...] |
H A D | intrinsics_arm64.cc | 1311 // or directly dispatch if we have a constant. 1828 int32_t constant = src_pos.GetConstant()->AsIntConstant()->GetValue(); local 1829 __ Add(src_base, src, element_size * constant + data_offset); 1836 int32_t constant = dst_pos.GetConstant()->AsIntConstant()->GetValue(); local 1837 __ Add(dst_base, dst, element_size * constant + data_offset); 1844 int32_t constant = copy_length.GetConstant()->AsIntConstant()->GetValue(); local 1845 __ Add(src_end, src_base, element_size * constant); 1881 // We have already checked in the LocationsBuilder for the constant case. 2066 // We have already checked in the LocationsBuilder for the constant case.
|
H A D | intrinsics_x86_64.cc | 216 // TODO: Can mask directly with constant area using pand if we can guarantee 1076 // We have already checked in the LocationsBuilder for the constant case. 1207 // We have already checked in the LocationsBuilder for the constant case. 1314 int32_t constant = src_pos.GetConstant()->AsIntConstant()->GetValue(); local 1315 __ leal(temp1, Address(src, element_size * constant + offset)); 1321 int32_t constant = dest_pos.GetConstant()->AsIntConstant()->GetValue(); local 1322 __ leal(temp2, Address(dest, element_size * constant + offset)); 1328 int32_t constant = length.GetConstant()->AsIntConstant()->GetValue(); local 1329 __ leal(temp3, Address(temp1, element_size * constant)); 1483 // If we look for a constant cha [all...] |
H A D | code_generator_arm64.cc | 675 // constant member (like other "inputs" of this slow path), 946 // 1. constant -> GPR/FPR (non-cycle) 947 // 2. constant -> stack (non-cycle) 1156 void CodeGeneratorARM64::MoveConstant(CPURegister destination, HConstant* constant) { argument 1157 if (constant->IsIntConstant()) { 1158 __ Mov(Register(destination), constant->AsIntConstant()->GetValue()); 1159 } else if (constant->IsLongConstant()) { 1160 __ Mov(Register(destination), constant->AsLongConstant()->GetValue()); 1161 } else if (constant->IsNullConstant()) { 1163 } else if (constant 1172 CoherentConstantAndType(Location constant, Primitive::Type type) argument 2740 VisitDoubleConstant(HDoubleConstant* constant) argument 2758 VisitFloatConstant(HFloatConstant* constant) argument 2965 IsRecognizedCselConstant(HInstruction* constant) argument 3488 VisitIntConstant(HIntConstant* constant) argument 3497 VisitNullConstant(HNullConstant* constant) argument [all...] |
H A D | code_generator_mips.cc | 913 // Move 32 bit constant. 924 // Move 64 bit constant. 936 // Move 32 bit float constant. 946 // Move 64 bit double constant. 2099 // TODO: more efficient (direct) comparison with a constant. 2524 // A division by a non-null constant is valid. We don't need to perform 2538 // A division by a non-null constant is valid. We don't need to perform 2553 void LocationsBuilderMIPS::VisitDoubleConstant(HDoubleConstant* constant) { argument 2555 new (GetGraph()->GetArena()) LocationSummary(constant, LocationSummary::kNoCall); 2556 locations->SetOut(Location::ConstantLocation(constant)); 2570 VisitFloatConstant(HFloatConstant* constant) argument 3701 VisitIntConstant(HIntConstant* constant) argument 3710 VisitNullConstant(HNullConstant* constant) argument 4069 VisitLongConstant(HLongConstant* constant) argument [all...] |
H A D | code_generator_arm.cc | 502 // constant member (like other "inputs" of this slow path), 1703 void LocationsBuilderARM::VisitIntConstant(HIntConstant* constant) { argument 1705 new (GetGraph()->GetArena()) LocationSummary(constant, LocationSummary::kNoCall); 1706 locations->SetOut(Location::ConstantLocation(constant)); 1709 void InstructionCodeGeneratorARM::VisitIntConstant(HIntConstant* constant ATTRIBUTE_UNUSED) { 1713 void LocationsBuilderARM::VisitNullConstant(HNullConstant* constant) { argument 1715 new (GetGraph()->GetArena()) LocationSummary(constant, LocationSummary::kNoCall); 1716 locations->SetOut(Location::ConstantLocation(constant)); 1719 void InstructionCodeGeneratorARM::VisitNullConstant(HNullConstant* constant ATTRIBUTE_UNUSED) { 1723 void LocationsBuilderARM::VisitLongConstant(HLongConstant* constant) { argument 1733 VisitFloatConstant(HFloatConstant* constant) argument 1743 VisitDoubleConstant(HDoubleConstant* constant) argument 3968 ArmEncodableConstantOrRegister(HInstruction* constant, Opcode opcode) argument 4932 HConstant* constant = source.GetConstant(); local [all...] |
H A D | code_generator_x86.cc | 519 // constant member (like other "inputs" of this slow path), 1012 HConstant* constant = source.GetConstant(); local 1013 int32_t value = GetInt32ValueOf(constant); 1075 HConstant* constant = source.GetConstant(); local 1077 if (constant->IsLongConstant()) { 1078 value = constant->AsLongConstant()->GetValue(); 1080 DCHECK(constant->IsDoubleConstant()); 1081 value = bit_cast<int64_t, double>(constant->AsDoubleConstant()->GetValue()); 1437 int32_t constant = CodeGenerator::GetInt32ValueOf(rhs.GetConstant()); local 1438 codegen_->Compare32BitValue(lhs.AsRegister<Register>(), constant); 1795 VisitIntConstant(HIntConstant* constant) argument 1805 VisitNullConstant(HNullConstant* constant) argument 1815 VisitLongConstant(HLongConstant* constant) argument 1825 VisitFloatConstant(HFloatConstant* constant) argument 1835 VisitDoubleConstant(HDoubleConstant* constant) argument 2108 Register constant = locations->GetTemp(0).AsRegister<Register>(); local 5697 HConstant* constant = source.GetConstant(); local [all...] |
H A D | code_generator_x86_64.cc | 540 // constant member (like other "inputs" of this slow path), 906 // patch needs to point to the embedded constant which occupies the last 4 bytes. 1136 HConstant* constant = source.GetConstant(); local 1137 if (constant->IsLongConstant()) { 1138 Load64BitValue(dest, constant->AsLongConstant()->GetValue()); 1140 Load32BitValue(dest, GetInt32ValueOf(constant)); 1153 HConstant* constant = source.GetConstant(); local 1154 int64_t value = CodeGenerator::GetInt64ValueOf(constant); 1155 if (constant->IsFloatConstant()) { 1174 HConstant* constant local 1191 HConstant* constant = source.GetConstant(); local 1479 int32_t constant = CodeGenerator::GetInt32ValueOf(rhs.GetConstant()); local 1686 int32_t constant = CodeGenerator::GetInt32ValueOf(rhs.GetConstant()); local 1941 VisitIntConstant(HIntConstant* constant) argument 1951 VisitNullConstant(HNullConstant* constant) argument 1961 VisitLongConstant(HLongConstant* constant) argument 1971 VisitFloatConstant(HFloatConstant* constant) argument 1981 VisitDoubleConstant(HDoubleConstant* constant) argument 5154 HConstant* constant = source.GetConstant(); local [all...] |
H A D | nodes.h | 462 // Returns a constant of the given type and value. If it does not exist 515 // The instruction has been inserted into the graph, either as a constant, or 529 // Try to find an existing constant of the given value. 530 InstructionType* constant = nullptr; local 533 constant = cached_constant->second; 538 if (constant == nullptr || constant->GetBlock() == nullptr) { 539 constant = new (arena_) InstructionType(value, dex_pc); 540 cache->Overwrite(value, constant); 541 InsertConstant(constant); [all...] |
/art/compiler/utils/x86/ |
H A D | assembler_x86.cc | 1774 int64_t constant = bit_cast<int64_t, double>(value); local 1775 LoadLongConstant(dst, constant);
|
/art/compiler/utils/x86_64/ |
H A D | assembler_x86_64.cc | 2332 int64_t constant = bit_cast<int64_t, double>(value); local 2333 pushq(Immediate(High32Bits(constant))); 2334 pushq(Immediate(Low32Bits(constant)));
|