Home
last modified time | relevance | path

Searched refs:constant (Results 1 – 12 of 12) sorted by relevance

/art/compiler/optimizing/
Dbuilder.cc471 HIntConstant* constant = GetIntConstant(instruction.VRegB_11n()); in AnalyzeDexInstruction() local
472 UpdateLocal(register_index, constant); in AnalyzeDexInstruction()
478 HIntConstant* constant = GetIntConstant(instruction.VRegB_21s()); in AnalyzeDexInstruction() local
479 UpdateLocal(register_index, constant); in AnalyzeDexInstruction()
485 HIntConstant* constant = GetIntConstant(instruction.VRegB_31i()); in AnalyzeDexInstruction() local
486 UpdateLocal(register_index, constant); in AnalyzeDexInstruction()
492 HIntConstant* constant = GetIntConstant(instruction.VRegB_21h() << 16); in AnalyzeDexInstruction() local
493 UpdateLocal(register_index, constant); in AnalyzeDexInstruction()
503 HLongConstant* constant = GetLongConstant(value); in AnalyzeDexInstruction() local
504 UpdateLocal(register_index, constant); in AnalyzeDexInstruction()
[all …]
Dssa_test.cc51 virtual void VisitIntConstant(HIntConstant* constant) { in VisitIntConstant() argument
52 PrintPreInstruction(constant); in VisitIntConstant()
53 str_ += constant->DebugName(); in VisitIntConstant()
55 PrintInt(constant->GetValue()); in VisitIntConstant()
56 PrintPostInstruction(constant); in VisitIntConstant()
Dbuilder.h67 HIntConstant* GetIntConstant(int32_t constant);
68 HLongConstant* GetLongConstant(int64_t constant);
Dlocations.h79 static Location ConstantLocation(HConstant* constant) { in ConstantLocation() argument
80 DCHECK(constant != nullptr); in ConstantLocation()
81 return Location(kConstant | reinterpret_cast<uword>(constant)); in ConstantLocation()
Dcode_generator_x86_64.cc579 void LocationsBuilderX86_64::VisitIntConstant(HIntConstant* constant) { in VisitIntConstant() argument
580 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(constant); in VisitIntConstant()
581 locations->SetOut(Location::ConstantLocation(constant)); in VisitIntConstant()
582 constant->SetLocations(locations); in VisitIntConstant()
585 void InstructionCodeGeneratorX86_64::VisitIntConstant(HIntConstant* constant) { in VisitIntConstant() argument
588 void LocationsBuilderX86_64::VisitLongConstant(HLongConstant* constant) { in VisitLongConstant() argument
589 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(constant); in VisitLongConstant()
590 locations->SetOut(Location::ConstantLocation(constant)); in VisitLongConstant()
591 constant->SetLocations(locations); in VisitLongConstant()
594 void InstructionCodeGeneratorX86_64::VisitLongConstant(HLongConstant* constant) { in VisitLongConstant() argument
[all …]
Dcode_generator_arm.cc722 void LocationsBuilderARM::VisitIntConstant(HIntConstant* constant) { in VisitIntConstant() argument
723 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(constant); in VisitIntConstant()
724 locations->SetOut(Location::ConstantLocation(constant)); in VisitIntConstant()
725 constant->SetLocations(locations); in VisitIntConstant()
728 void InstructionCodeGeneratorARM::VisitIntConstant(HIntConstant* constant) { in VisitIntConstant() argument
731 void LocationsBuilderARM::VisitLongConstant(HLongConstant* constant) { in VisitLongConstant() argument
732 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(constant); in VisitLongConstant()
733 locations->SetOut(Location::ConstantLocation(constant)); in VisitLongConstant()
734 constant->SetLocations(locations); in VisitLongConstant()
737 void InstructionCodeGeneratorARM::VisitLongConstant(HLongConstant* constant) { in VisitLongConstant() argument
Dcode_generator_x86.cc667 void LocationsBuilderX86::VisitIntConstant(HIntConstant* constant) { in VisitIntConstant() argument
668 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(constant); in VisitIntConstant()
669 locations->SetOut(Location::ConstantLocation(constant)); in VisitIntConstant()
670 constant->SetLocations(locations); in VisitIntConstant()
673 void InstructionCodeGeneratorX86::VisitIntConstant(HIntConstant* constant) { in VisitIntConstant() argument
676 void LocationsBuilderX86::VisitLongConstant(HLongConstant* constant) { in VisitLongConstant() argument
677 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(constant); in VisitLongConstant()
678 locations->SetOut(Location::ConstantLocation(constant)); in VisitLongConstant()
679 constant->SetLocations(locations); in VisitLongConstant()
682 void InstructionCodeGeneratorX86::VisitLongConstant(HLongConstant* constant) { in VisitLongConstant() argument
/art/test/302-float-conversion/
Dinfo.txt1 Tests whether constant conversions of double values to long values are
3 should not overflow under constant conversions.
/art/test/046-reflect/
Dexpected.txt78 Constant test value is a constant string
/art/runtime/verifier/
Dreg_type.cc531 ConstantType::ConstantType(uint32_t constant, uint16_t cache_id) in ConstantType() argument
532 : RegType(NULL, "", cache_id), constant_(constant) { in ConstantType()
/art/compiler/utils/x86/
Dassembler_x86.cc1262 int64_t constant = bit_cast<int64_t, double>(value); in LoadDoubleConstant() local
1263 pushl(Immediate(High32Bits(constant))); in LoadDoubleConstant()
1264 pushl(Immediate(Low32Bits(constant))); in LoadDoubleConstant()
/art/compiler/utils/x86_64/
Dassembler_x86_64.cc1458 int64_t constant = bit_cast<int64_t, double>(value); in LoadDoubleConstant() local
1459 pushq(Immediate(High32Bits(constant))); in LoadDoubleConstant()
1460 pushq(Immediate(Low32Bits(constant))); in LoadDoubleConstant()