Lines Matching refs:Alloc
62 auto try_block_begin = Alloc<TryBlockBegin>(); in DissasembleTryBlocks()
66 auto try_block_end = Alloc<TryBlockEnd>(); in DissasembleTryBlocks()
121 auto dbg_header = Alloc<DbgInfoHeader>(); in DissasembleDebugInfo()
129 auto annotation = Alloc<DbgInfoAnnotation>(dex::DBG_SET_FILE); in DissasembleDebugInfo()
131 annotation->operands.push_back(Alloc<String>( in DissasembleDebugInfo()
138 auto annotation = Alloc<DbgInfoAnnotation>(dex::DBG_ADVANCE_LINE); in DissasembleDebugInfo()
140 annotation->operands.push_back(Alloc<LineNumber>(line)); in DissasembleDebugInfo()
163 annotation = Alloc<DbgInfoAnnotation>(opcode); in DissasembleDebugInfo()
166 annotation->operands.push_back(Alloc<VReg>(dex::ReadULeb128(&ptr))); in DissasembleDebugInfo()
178 annotation = Alloc<DbgInfoAnnotation>(opcode); in DissasembleDebugInfo()
181 annotation->operands.push_back(Alloc<VReg>(dex::ReadULeb128(&ptr))); in DissasembleDebugInfo()
198 annotation = Alloc<DbgInfoAnnotation>(opcode); in DissasembleDebugInfo()
200 annotation->operands.push_back(Alloc<VReg>(dex::ReadULeb128(&ptr))); in DissasembleDebugInfo()
204 annotation = Alloc<DbgInfoAnnotation>(opcode); in DissasembleDebugInfo()
208 annotation = Alloc<DbgInfoAnnotation>(opcode); in DissasembleDebugInfo()
212 annotation = Alloc<DbgInfoAnnotation>(opcode); in DissasembleDebugInfo()
219 annotation->operands.push_back(Alloc<String>(source_file, name_index)); in DissasembleDebugInfo()
227 annotation = Alloc<DbgInfoAnnotation>(dex::DBG_ADVANCE_LINE); in DissasembleDebugInfo()
228 annotation->operands.push_back(Alloc<LineNumber>(line)); in DissasembleDebugInfo()
366 instr = Alloc<PackedSwitchPayload>(); in DecodePackedSwitch()
392 instr = Alloc<SparseSwitchPayload>(); in DecodeSparseSwitch()
419 auto instr = Alloc<ArrayData>(); in DecodeArrayData()
427 return Alloc<VRegPair>(dex_instr.vA); in GetRegA()
429 return Alloc<VReg>(dex_instr.vA); in GetRegA()
436 return Alloc<VRegPair>(dex_instr.vB); in GetRegB()
438 return Alloc<VReg>(dex_instr.vB); in GetRegB()
445 return Alloc<VRegPair>(dex_instr.vC); in GetRegC()
447 return Alloc<VReg>(dex_instr.vC); in GetRegC()
454 auto instr = Alloc<Bytecode>(); in DecodeBytecode()
474 instr->operands.push_back(Alloc<Const32>(dex_instr.vB)); in DecodeBytecode()
486 instr->operands.push_back(Alloc<CodeLocation>(label)); in DecodeBytecode()
495 instr->operands.push_back(Alloc<CodeLocation>(label)); in DecodeBytecode()
523 instr->operands.push_back(Alloc<CodeLocation>(label)); in DecodeBytecode()
530 instr->operands.push_back(Alloc<Const32>(dex_instr.vC)); in DecodeBytecode()
548 auto vreg_list = Alloc<VRegList>(); in DecodeBytecode()
558 auto vreg_range = Alloc<VRegRange>(dex_instr.vC, dex_instr.vA); in DecodeBytecode()
567 instr->operands.push_back(Alloc<Const32>(dex_instr.vB << 16)); in DecodeBytecode()
572 instr->operands.push_back(Alloc<Const64>(dex::u8(dex_instr.vB) << 48)); in DecodeBytecode()
582 instr->operands.push_back(Alloc<Const64>(dex_instr.vB_wide)); in DecodeBytecode()
599 return Alloc<String>(dex_ir->strings_map[index], index); in GetIndexedOperand()
602 return Alloc<Type>(dex_ir->types_map[index], index); in GetIndexedOperand()
605 return Alloc<Field>(dex_ir->fields_map[index], index); in GetIndexedOperand()
608 return Alloc<Method>(dex_ir->methods_map[index], index); in GetIndexedOperand()
618 return Alloc<Type>(ir_type, index); in GetType()
624 return Alloc<String>(ir_string, index); in GetString()
631 p = Alloc<Label>(offset); in GetLabel()