Lines Matching refs:table

77     const uint16_t* table = reinterpret_cast<const uint16_t*>(&instruction) + table_offset;  in SwitchTable()  local
79 CHECK_EQ(table[0], static_cast<uint16_t>(Instruction::kSparseSwitchSignature)); in SwitchTable()
81 CHECK_EQ(table[0], static_cast<uint16_t>(Instruction::kPackedSwitchSignature)); in SwitchTable()
83 num_entries_ = table[1]; in SwitchTable()
84 values_ = reinterpret_cast<const int32_t*>(&table[2]); in SwitchTable()
392 SwitchTable table(instruction, dex_pc, instruction.Opcode() == Instruction::SPARSE_SWITCH); in ComputeBranchTargets() local
394 uint16_t num_entries = table.GetNumEntries(); in ComputeBranchTargets()
398 size_t offset = table.GetFirstValueIndex(); in ComputeBranchTargets()
403 uint32_t target = dex_pc + table.GetEntryAt(i + offset); in ComputeBranchTargets()
412 branch_targets_.Put(table.GetDexPcForIndex(i), block); in ComputeBranchTargets()
1219 SwitchTable table(instruction, dex_pc, false); in BuildPackedSwitch() local
1225 uint16_t num_entries = table.GetNumEntries(); in BuildPackedSwitch()
1231 int32_t starting_key = table.GetEntryAt(0); in BuildPackedSwitch()
1234 BuildSwitchCaseHelper(instruction, i, i == num_entries, table, value, starting_key + i - 1, in BuildPackedSwitch()
1235 table.GetEntryAt(i), dex_pc); in BuildPackedSwitch()
1244 SwitchTable table(instruction, dex_pc, true); in BuildSparseSwitch() local
1249 uint16_t num_entries = table.GetNumEntries(); in BuildSparseSwitch()
1252 BuildSwitchCaseHelper(instruction, i, i == static_cast<size_t>(num_entries) - 1, table, value, in BuildSparseSwitch()
1253 table.GetEntryAt(i), table.GetEntryAt(i + num_entries), dex_pc); in BuildSparseSwitch()
1258 bool is_last_case, const SwitchTable& table, in BuildSwitchCaseHelper() argument
1283 HBasicBlock* next_case_target = FindBlockStartingAt(table.GetDexPcForIndex(index)); in BuildSwitchCaseHelper()