Home
last modified time | relevance | path

Searched refs:switch_instr (Results 1 – 9 of 9) sorted by relevance

/art/compiler/optimizing/
Dcode_generator_arm64.h88 explicit JumpTableARM64(HPackedSwitch* switch_instr) in JumpTableARM64() argument
89 : switch_instr_(switch_instr), table_start_() {} in JumpTableARM64()
420 JumpTableARM64* CreateJumpTable(HPackedSwitch* switch_instr) { in CreateJumpTable() argument
421 jump_tables_.emplace_back(new (GetGraph()->GetArena()) JumpTableARM64(switch_instr)); in CreateJumpTable()
Dcode_generator_x86.cc7006 void LocationsBuilderX86::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
7008 new (GetGraph()->GetArena()) LocationSummary(switch_instr, LocationSummary::kNoCall); in VisitPackedSwitch()
7060 void InstructionCodeGeneratorX86::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
7061 int32_t lower_bound = switch_instr->GetStartValue(); in VisitPackedSwitch()
7062 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch()
7063 LocationSummary* locations = switch_instr->GetLocations(); in VisitPackedSwitch()
7069 switch_instr->GetBlock(), in VisitPackedSwitch()
7070 switch_instr->GetDefaultBlock()); in VisitPackedSwitch()
7073 void LocationsBuilderX86::VisitX86PackedSwitch(HX86PackedSwitch* switch_instr) { in VisitX86PackedSwitch() argument
7075 new (GetGraph()->GetArena()) LocationSummary(switch_instr, LocationSummary::kNoCall); in VisitX86PackedSwitch()
[all …]
Dcode_generator_x86_64.cc6470 void LocationsBuilderX86_64::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
6472 new (GetGraph()->GetArena()) LocationSummary(switch_instr, LocationSummary::kNoCall); in VisitPackedSwitch()
6478 void InstructionCodeGeneratorX86_64::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
6479 int32_t lower_bound = switch_instr->GetStartValue(); in VisitPackedSwitch()
6480 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch()
6481 LocationSummary* locations = switch_instr->GetLocations(); in VisitPackedSwitch()
6485 HBasicBlock* default_block = switch_instr->GetDefaultBlock(); in VisitPackedSwitch()
6495 const ArenaVector<HBasicBlock*>& successors = switch_instr->GetBlock()->GetSuccessors(); in VisitPackedSwitch()
6527 if (!codegen_->GoesToNextBlock(switch_instr->GetBlock(), default_block)) { in VisitPackedSwitch()
6547 __ leaq(base_reg, codegen_->LiteralCaseTable(switch_instr)); in VisitPackedSwitch()
[all …]
Dcode_generator_x86_64.h499 Address LiteralCaseTable(HPackedSwitch* switch_instr);
Dcode_generator_arm64.cc4737 void LocationsBuilderARM64::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
4739 new (GetGraph()->GetArena()) LocationSummary(switch_instr, LocationSummary::kNoCall); in VisitPackedSwitch()
4743 void InstructionCodeGeneratorARM64::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
4744 int32_t lower_bound = switch_instr->GetStartValue(); in VisitPackedSwitch()
4745 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch()
4746 Register value_reg = InputRegisterAt(switch_instr, 0); in VisitPackedSwitch()
4747 HBasicBlock* default_block = switch_instr->GetDefaultBlock(); in VisitPackedSwitch()
4765 const ArenaVector<HBasicBlock*>& successors = switch_instr->GetBlock()->GetSuccessors(); in VisitPackedSwitch()
4783 if (!codegen_->GoesToNextBlock(switch_instr->GetBlock(), default_block)) { in VisitPackedSwitch()
4787 JumpTableARM64* jump_table = codegen_->CreateJumpTable(switch_instr); in VisitPackedSwitch()
Dcode_generator_mips64.cc4131 void LocationsBuilderMIPS64::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
4133 new (GetGraph()->GetArena()) LocationSummary(switch_instr, LocationSummary::kNoCall); in VisitPackedSwitch()
4137 void InstructionCodeGeneratorMIPS64::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
4138 int32_t lower_bound = switch_instr->GetStartValue(); in VisitPackedSwitch()
4139 int32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch()
4140 LocationSummary* locations = switch_instr->GetLocations(); in VisitPackedSwitch()
4142 HBasicBlock* default_block = switch_instr->GetDefaultBlock(); in VisitPackedSwitch()
4157 const ArenaVector<HBasicBlock*>& successors = switch_instr->GetBlock()->GetSuccessors(); in VisitPackedSwitch()
4175 if (!codegen_->GoesToNextBlock(switch_instr->GetBlock(), default_block)) { in VisitPackedSwitch()
Dcode_generator_x86.h466 Address LiteralCaseTable(HX86PackedSwitch* switch_instr, Register reg, Register value);
Dcode_generator_arm.cc6631 void LocationsBuilderARM::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
6633 new (GetGraph()->GetArena()) LocationSummary(switch_instr, LocationSummary::kNoCall); in VisitPackedSwitch()
6635 if (switch_instr->GetNumEntries() > kPackedSwitchCompareJumpThreshold && in VisitPackedSwitch()
6638 if (switch_instr->GetStartValue() != 0) { in VisitPackedSwitch()
6644 void InstructionCodeGeneratorARM::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
6645 int32_t lower_bound = switch_instr->GetStartValue(); in VisitPackedSwitch()
6646 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch()
6647 LocationSummary* locations = switch_instr->GetLocations(); in VisitPackedSwitch()
6649 HBasicBlock* default_block = switch_instr->GetDefaultBlock(); in VisitPackedSwitch()
6660 const ArenaVector<HBasicBlock*>& successors = switch_instr->GetBlock()->GetSuccessors(); in VisitPackedSwitch()
[all …]
Dcode_generator_mips.cc5126 void LocationsBuilderMIPS::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
5128 new (GetGraph()->GetArena()) LocationSummary(switch_instr, LocationSummary::kNoCall); in VisitPackedSwitch()
5132 void InstructionCodeGeneratorMIPS::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
5133 int32_t lower_bound = switch_instr->GetStartValue(); in VisitPackedSwitch()
5134 int32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch()
5135 LocationSummary* locations = switch_instr->GetLocations(); in VisitPackedSwitch()
5137 HBasicBlock* default_block = switch_instr->GetDefaultBlock(); in VisitPackedSwitch()
5147 const ArenaVector<HBasicBlock*>& successors = switch_instr->GetBlock()->GetSuccessors(); in VisitPackedSwitch()
5165 if (!codegen_->GoesToNextBlock(switch_instr->GetBlock(), default_block)) { in VisitPackedSwitch()