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.h122 explicit JumpTableARMVIXL(HPackedSwitch* switch_instr) in JumpTableARMVIXL() argument
123 : switch_instr_(switch_instr), in JumpTableARMVIXL()
125 bb_addresses_(switch_instr->GetAllocator()->Adapter(kArenaAllocCodeGenerator)) { in JumpTableARMVIXL()
767 JumpTableARMVIXL* CreateJumpTable(HPackedSwitch* switch_instr) { in CreateJumpTable() argument
768 jump_tables_.emplace_back(new (GetGraph()->GetAllocator()) JumpTableARMVIXL(switch_instr)); in CreateJumpTable()
Dcode_generator_arm64.h143 explicit JumpTableARM64(HPackedSwitch* switch_instr) in JumpTableARM64() argument
144 : switch_instr_(switch_instr), table_start_() {} in JumpTableARM64()
628 JumpTableARM64* CreateJumpTable(HPackedSwitch* switch_instr) { in CreateJumpTable() argument
629 jump_tables_.emplace_back(new (GetGraph()->GetAllocator()) JumpTableARM64(switch_instr)); in CreateJumpTable()
Dcode_generator_x86.cc8212 void LocationsBuilderX86::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
8214 new (GetGraph()->GetAllocator()) LocationSummary(switch_instr, LocationSummary::kNoCall); in VisitPackedSwitch()
8266 void InstructionCodeGeneratorX86::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
8267 int32_t lower_bound = switch_instr->GetStartValue(); in VisitPackedSwitch()
8268 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch()
8269 LocationSummary* locations = switch_instr->GetLocations(); in VisitPackedSwitch()
8275 switch_instr->GetBlock(), in VisitPackedSwitch()
8276 switch_instr->GetDefaultBlock()); in VisitPackedSwitch()
8279 void LocationsBuilderX86::VisitX86PackedSwitch(HX86PackedSwitch* switch_instr) { in VisitX86PackedSwitch() argument
8281 new (GetGraph()->GetAllocator()) LocationSummary(switch_instr, LocationSummary::kNoCall); in VisitX86PackedSwitch()
[all …]
Dcode_generator_x86_64.cc7491 void LocationsBuilderX86_64::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
7493 new (GetGraph()->GetAllocator()) LocationSummary(switch_instr, LocationSummary::kNoCall); in VisitPackedSwitch()
7499 void InstructionCodeGeneratorX86_64::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
7500 int32_t lower_bound = switch_instr->GetStartValue(); in VisitPackedSwitch()
7501 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch()
7502 LocationSummary* locations = switch_instr->GetLocations(); in VisitPackedSwitch()
7506 HBasicBlock* default_block = switch_instr->GetDefaultBlock(); in VisitPackedSwitch()
7516 const ArenaVector<HBasicBlock*>& successors = switch_instr->GetBlock()->GetSuccessors(); in VisitPackedSwitch()
7548 if (!codegen_->GoesToNextBlock(switch_instr->GetBlock(), default_block)) { in VisitPackedSwitch()
7568 __ leaq(base_reg, codegen_->LiteralCaseTable(switch_instr)); in VisitPackedSwitch()
[all …]
Dcode_generator_x86.h552 Address LiteralCaseTable(HX86PackedSwitch* switch_instr, Register reg, Register value);
Dcode_generator_x86_64.h604 Address LiteralCaseTable(HPackedSwitch* switch_instr);
Dcode_generator_arm64.cc6089 void LocationsBuilderARM64::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
6091 new (GetGraph()->GetAllocator()) LocationSummary(switch_instr, LocationSummary::kNoCall); in VisitPackedSwitch()
6095 void InstructionCodeGeneratorARM64::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
6096 int32_t lower_bound = switch_instr->GetStartValue(); in VisitPackedSwitch()
6097 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch()
6098 Register value_reg = InputRegisterAt(switch_instr, 0); in VisitPackedSwitch()
6099 HBasicBlock* default_block = switch_instr->GetDefaultBlock(); in VisitPackedSwitch()
6117 const ArenaVector<HBasicBlock*>& successors = switch_instr->GetBlock()->GetSuccessors(); in VisitPackedSwitch()
6135 if (!codegen_->GoesToNextBlock(switch_instr->GetBlock(), default_block)) { in VisitPackedSwitch()
6139 JumpTableARM64* jump_table = codegen_->CreateJumpTable(switch_instr); in VisitPackedSwitch()
Dcode_generator_arm_vixl.cc9540 void LocationsBuilderARMVIXL::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
9542 new (GetGraph()->GetAllocator()) LocationSummary(switch_instr, LocationSummary::kNoCall); in VisitPackedSwitch()
9544 if (switch_instr->GetNumEntries() > kPackedSwitchCompareJumpThreshold && in VisitPackedSwitch()
9547 if (switch_instr->GetStartValue() != 0) { in VisitPackedSwitch()
9554 void InstructionCodeGeneratorARMVIXL::VisitPackedSwitch(HPackedSwitch* switch_instr) { in VisitPackedSwitch() argument
9555 int32_t lower_bound = switch_instr->GetStartValue(); in VisitPackedSwitch()
9556 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch()
9557 LocationSummary* locations = switch_instr->GetLocations(); in VisitPackedSwitch()
9558 vixl32::Register value_reg = InputRegisterAt(switch_instr, 0); in VisitPackedSwitch()
9559 HBasicBlock* default_block = switch_instr->GetDefaultBlock(); in VisitPackedSwitch()
[all …]