Lines Matching refs:inst
45 uint16_t NumberOfArgs(const Instruction& inst) { in NumberOfArgs() argument
46 return IsRange(inst.Opcode()) ? inst.VRegA_3rc() : inst.VRegA_35c(); in NumberOfArgs()
49 uint16_t DexMethodIndex(const Instruction& inst) { in DexMethodIndex() argument
50 return IsRange(inst.Opcode()) ? inst.VRegB_3rc() : inst.VRegB_35c(); in DexMethodIndex()
283 auto ProcessInstanceField = [&](const Instruction& inst, in ProcessDexFile()
287 const uint32_t dex_field_idx = inst.VRegC_22c(); in ProcessDexFile()
289 uint32_t input = inst.VRegA_22c(); in ProcessDexFile()
291 const uint32_t receiver = inst.VRegB_22c(); in ProcessDexFile()
298 auto ProcessStaticField = [&](const Instruction& inst, in ProcessDexFile() argument
301 const uint32_t dex_field_idx = inst.VRegB_21c(); in ProcessDexFile()
303 uint8_t output = inst.VRegA_21c(); in ProcessDexFile()
321 for (const DexInstructionPcPair& inst : code_item) { in ProcessDexFile() local
322 switch (inst->Opcode()) { in ProcessDexFile()
324 const dex::StringIndex string_index(inst->VRegB_21c()); in ProcessDexFile()
337 inst.Inst(), first_arg_reg, instance_field_index_map_, &iget_stats_); in ProcessDexFile()
348 inst.Inst(), first_arg_reg, instance_field_index_map_, &iput_stats_); in ProcessDexFile()
358 ProcessStaticField(inst.Inst(), static_field_index_map_, &sget_stats_); in ProcessDexFile()
368 ProcessStaticField(inst.Inst(), static_field_index_map_, &sput_stats_); in ProcessDexFile()
372 const dex::StringIndex string_index(inst->VRegB_31c()); in ProcessDexFile()
380 uint32_t method_idx = DexMethodIndex(inst.Inst()); in ProcessDexFile()
391 uint32_t method_idx = DexMethodIndex(inst.Inst()); in ProcessDexFile()
402 uint32_t method_idx = DexMethodIndex(inst.Inst()); in ProcessDexFile()
413 uint32_t method_idx = DexMethodIndex(inst.Inst()); in ProcessDexFile()
424 uint32_t method_idx = DexMethodIndex(inst.Inst()); in ProcessDexFile()
434 ++types_accessed[inst->VRegC_22c()]; in ProcessDexFile()
438 ++types_accessed[inst->VRegB_35c()]; in ProcessDexFile()
442 ++types_accessed[inst->VRegB_3rc()]; in ProcessDexFile()
448 ++types_accessed[inst->VRegB_21c()]; in ProcessDexFile()
452 ++types_accessed[inst->VRegB_21c()]; in ProcessDexFile()
580 for (const DexInstructionPcPair& inst : method.GetInstructions()) { in ProcessDexFile() local
581 switch (inst->Opcode()) { in ProcessDexFile()
587 const uint32_t args = NumberOfArgs(inst.Inst()); in ProcessDexFile()
595 if (space_for_out_arg && inst->VRegA_11x() < 16) { in ProcessDexFile()
596 move_result_savings_ += inst->SizeInCodeUnits() * 2; in ProcessDexFile()