Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dcode_generator_arm_vixl.h123 explicit JumpTableARMVIXL(HPackedSwitch* switch_instr) in JumpTableARMVIXL() argument
124 : switch_instr_(switch_instr), in JumpTableARMVIXL()
126 bb_addresses_(switch_instr->GetAllocator()->Adapter(kArenaAllocCodeGenerator)) { in JumpTableARMVIXL()
782 JumpTableARMVIXL* CreateJumpTable(HPackedSwitch* switch_instr) { in CreateJumpTable() argument
783 jump_tables_.emplace_back(new (GetGraph()->GetAllocator()) JumpTableARMVIXL(switch_instr)); in CreateJumpTable()
Dcode_generator_arm64.h141 explicit JumpTableARM64(HPackedSwitch* switch_instr) in JumpTableARM64() argument
142 : switch_instr_(switch_instr), table_start_() {} in JumpTableARM64()
654 JumpTableARM64* CreateJumpTable(HPackedSwitch* switch_instr) { in CreateJumpTable() argument
655 jump_tables_.emplace_back(new (GetGraph()->GetAllocator()) JumpTableARM64(switch_instr)); in CreateJumpTable()
Dcode_generator_x86.cc8550 void LocationsBuilderX86::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
8552 new (GetGraph()->GetAllocator()) LocationSummary(switch_instr, LocationSummary::kNoCall); in VisitPackedSwitch()
8604 void InstructionCodeGeneratorX86::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
8605 int32_t lower_bound = switch_instr->GetStartValue(); in VisitPackedSwitch()
8606 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch()
8607 LocationSummary* locations = switch_instr->GetLocations(); in VisitPackedSwitch()
8613 switch_instr->GetBlock(), in VisitPackedSwitch()
8614 switch_instr->GetDefaultBlock()); in VisitPackedSwitch()
8617 void LocationsBuilderX86::VisitX86PackedSwitch(HX86PackedSwitch* switch_instr) { in VisitX86PackedSwitch() argument
8619 new (GetGraph()->GetAllocator()) LocationSummary(switch_instr, LocationSummary::kNoCall); in VisitX86PackedSwitch()
[all …]
Dcode_generator_x86_64.cc7630 void LocationsBuilderX86_64::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
7632 new (GetGraph()->GetAllocator()) LocationSummary(switch_instr, LocationSummary::kNoCall); in VisitPackedSwitch()
7638 void InstructionCodeGeneratorX86_64::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
7639 int32_t lower_bound = switch_instr->GetStartValue(); in VisitPackedSwitch()
7640 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch()
7641 LocationSummary* locations = switch_instr->GetLocations(); in VisitPackedSwitch()
7645 HBasicBlock* default_block = switch_instr->GetDefaultBlock(); in VisitPackedSwitch()
7655 const ArenaVector<HBasicBlock*>& successors = switch_instr->GetBlock()->GetSuccessors(); in VisitPackedSwitch()
7687 if (!codegen_->GoesToNextBlock(switch_instr->GetBlock(), default_block)) { in VisitPackedSwitch()
7707 __ leaq(base_reg, codegen_->LiteralCaseTable(switch_instr)); in VisitPackedSwitch()
[all …]
Dcode_generator_x86_64.h606 Address LiteralCaseTable(HPackedSwitch* switch_instr);
Dcode_generator_x86.h576 Address LiteralCaseTable(HX86PackedSwitch* switch_instr, Register reg, Register value);
Dcode_generator_arm_vixl.cc9710 void LocationsBuilderARMVIXL::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
9712 new (GetGraph()->GetAllocator()) LocationSummary(switch_instr, LocationSummary::kNoCall); in VisitPackedSwitch()
9714 if (switch_instr->GetNumEntries() > kPackedSwitchCompareJumpThreshold && in VisitPackedSwitch()
9717 if (switch_instr->GetStartValue() != 0) { in VisitPackedSwitch()
9724 void InstructionCodeGeneratorARMVIXL::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
9725 int32_t lower_bound = switch_instr->GetStartValue(); in VisitPackedSwitch()
9726 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch()
9727 LocationSummary* locations = switch_instr->GetLocations(); in VisitPackedSwitch()
9728 vixl32::Register value_reg = InputRegisterAt(switch_instr, 0); in VisitPackedSwitch()
9729 HBasicBlock* default_block = switch_instr->GetDefaultBlock(); in VisitPackedSwitch()
[all …]
Dcode_generator_arm64.cc6303 void LocationsBuilderARM64::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
6305 new (GetGraph()->GetAllocator()) LocationSummary(switch_instr, LocationSummary::kNoCall); in VisitPackedSwitch()
6309 void InstructionCodeGeneratorARM64::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
6310 int32_t lower_bound = switch_instr->GetStartValue(); in VisitPackedSwitch()
6311 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch()
6312 Register value_reg = InputRegisterAt(switch_instr, 0); in VisitPackedSwitch()
6313 HBasicBlock* default_block = switch_instr->GetDefaultBlock(); in VisitPackedSwitch()
6331 const ArenaVector<HBasicBlock*>& successors = switch_instr->GetBlock()->GetSuccessors(); in VisitPackedSwitch()
6349 if (!codegen_->GoesToNextBlock(switch_instr->GetBlock(), default_block)) { in VisitPackedSwitch()
6353 JumpTableARM64* jump_table = codegen_->CreateJumpTable(switch_instr); in VisitPackedSwitch()