Home
last modified time | relevance | path

Searched refs:registers_size (Results 1 – 7 of 7) sorted by relevance

/art/libdexfile/dex/
Dcompact_dex_file.h118 uint16_t* Create(uint16_t registers_size, in Create()
126 DCHECK_GE(registers_size, ins_size); in Create()
127 registers_size -= ins_size; in Create()
128 fields_ = (registers_size & 0xF) << kRegistersSizeShift; in Create()
132 registers_size &= ~0xF; in Create()
157 preheader_encode(registers_size, kFlagPreHeaderRegisterSize); in Create()
185 uint16_t* registers_size, in DecodeFields()
192 *registers_size = (fields >> kRegistersSizeShift) & 0xF; in DecodeFields()
208 *registers_size += preheader[0]; in DecodeFields()
225 *registers_size += *ins_size; in DecodeFields()
Ddex_file-inl.h187 uint16_t registers_size, in DecodeDebugLocalInfo() argument
196 std::vector<LocalInfo> local_in_reg(registers_size); in DecodeDebugLocalInfo()
198 uint16_t arg_reg = registers_size - ins_size; in DecodeDebugLocalInfo()
219 if (arg_reg >= registers_size) { in DecodeDebugLocalInfo()
221 << " >= " << registers_size << ") in " << location; in DecodeDebugLocalInfo()
249 for (uint16_t reg = 0; reg < registers_size; reg++) { in DecodeDebugLocalInfo()
265 if (reg >= registers_size) { in DecodeDebugLocalInfo()
267 << registers_size << ") in " << location; in DecodeDebugLocalInfo()
294 if (reg >= registers_size) { in DecodeDebugLocalInfo()
296 << registers_size << ") in " << location; in DecodeDebugLocalInfo()
[all …]
Dcompact_dex_file_test.cc48 auto test_and_write = [&] (uint16_t registers_size, in TEST()
53 ASSERT_GE(registers_size, ins_size); in TEST()
58 const uint16_t* preheader_ptr = code_item->Create(registers_size, in TEST()
76 ASSERT_EQ(registers_size, out_registers_size); in TEST()
Ddex_file.h661 uint16_t registers_size,
668 bool DecodeDebugLocalInfo(uint32_t registers_size,
/art/runtime/verifier/
Dmethod_verifier.h98 uint16_t registers_size,
Dmethod_verifier.cc83 uint16_t registers_size, in Init() argument
102 register_lines_[i].reset(RegisterLine::Create(registers_size, allocator, reg_types)); in Init()
435 uint16_t registers_size = code_item_accessor_.RegistersSize(); in CheckVarArgRegs() local
437 if (UNLIKELY(arg[idx] >= registers_size)) { in CheckVarArgRegs()
439 << ") in non-range invoke (>= " << registers_size << ")"; in CheckVarArgRegs()
451 uint16_t registers_size = code_item_accessor_.RegistersSize(); in CheckVarArgRangeRegs() local
454 if (UNLIKELY(vA + vC > registers_size)) { in CheckVarArgRangeRegs()
456 << " in range invoke (> " << registers_size << ")"; in CheckVarArgRangeRegs()
876 uint16_t registers_size = accessor.RegistersSize(); in IsLargeMethod() local
879 return registers_size * insns_size > 4*1024*1024; in IsLargeMethod()
[all …]
/art/dexlayout/
Ddex_ir.h1038 CodeItem(uint16_t registers_size, in CodeItem() argument
1046 : registers_size_(registers_size), in CodeItem()