Home
last modified time | relevance | path

Searched refs:switch_data (Results 1 – 3 of 3) sorted by relevance

/art/runtime/interpreter/
Dinterpreter_common.h287 const uint16_t* switch_data = reinterpret_cast<const uint16_t*>(inst) + inst->VRegB_31t(); in DoPackedSwitch() local
289 DCHECK_EQ(switch_data[0], static_cast<uint16_t>(Instruction::kPackedSwitchSignature)); in DoPackedSwitch()
290 uint16_t size = switch_data[1]; in DoPackedSwitch()
292 const int32_t* keys = reinterpret_cast<const int32_t*>(&switch_data[2]); in DoPackedSwitch()
295 const int32_t* targets = reinterpret_cast<const int32_t*>(&switch_data[4]); in DoPackedSwitch()
312 const uint16_t* switch_data = reinterpret_cast<const uint16_t*>(inst) + inst->VRegB_31t(); in DoSparseSwitch() local
314 DCHECK_EQ(switch_data[0], static_cast<uint16_t>(Instruction::kSparseSwitchSignature)); in DoSparseSwitch()
315 uint16_t size = switch_data[1]; in DoSparseSwitch()
317 const int32_t* keys = reinterpret_cast<const int32_t*>(&switch_data[2]); in DoSparseSwitch()
/art/compiler/dex/
Dmir_graph.cc468 const uint16_t* switch_data = in ProcessCanSwitch() local
486 DCHECK_EQ(static_cast<int>(switch_data[0]), in ProcessCanSwitch()
488 size = switch_data[1]; in ProcessCanSwitch()
489 first_key = switch_data[2] | (switch_data[3] << 16); in ProcessCanSwitch()
490 target_table = reinterpret_cast<const int*>(&switch_data[4]); in ProcessCanSwitch()
502 DCHECK_EQ(static_cast<int>(switch_data[0]), in ProcessCanSwitch()
504 size = switch_data[1]; in ProcessCanSwitch()
505 keyTable = reinterpret_cast<const int*>(&switch_data[2]); in ProcessCanSwitch()
506 target_table = reinterpret_cast<const int*>(&switch_data[2 + size*2]); in ProcessCanSwitch()
/art/compiler/dex/quick/
Dmir_to_lir.h581 int32_t s4FromSwitchData(const void* switch_data) { in s4FromSwitchData() argument
582 return *reinterpret_cast<const int32_t*>(switch_data); in s4FromSwitchData()