Searched refs:ir_code (Results 1 – 8 of 8) sorted by relevance
37 auto ir_code = ir_method->code; in Assemble() local38 SLICER_CHECK(ir_code != nullptr); in Assemble()46 bytecode_encoder.Encode(ir_code, dex_ir); in Assemble()49 if (ir_code->debug_info != nullptr) { in Assemble()56 try_blocks_encoder.Encode(ir_code, dex_ir); in Assemble()59 void CodeIr::DissasembleTryBlocks(const ir::Code* ir_code) { in DissasembleTryBlocks() argument61 for (const auto& tryBlock : ir_code->try_blocks) { in DissasembleTryBlocks()72 ir_code->catch_handlers.ptr<dex::u1>() + tryBlock.handler_off; in DissasembleTryBlocks()239 void CodeIr::DissasembleBytecode(const ir::Code* ir_code) { in DissasembleBytecode() argument240 const dex::u2* begin = ir_code->instructions.begin(); in DissasembleBytecode()[all …]
58 void TryBlocksEncoder::Encode(ir::Code* ir_code, std::shared_ptr<ir::DexFile> dex_ir) { in Encode() argument79 ir_code->try_blocks = {}; in Encode()80 ir_code->catch_handlers = {}; in Encode()107 ir_code->try_blocks = slicer::ArrayView<const dex::TryBlock>(tries_ptr, tries_count); in Encode()108 ir_code->catch_handlers = slicer::MemView(handlers_.data(), handlers_.size()); in Encode()
709 auto ir_code = dex_ir_->Alloc<ir::Code>(); in ExtractCode() local711 ir_code->registers = dex_code->registers_size; in ExtractCode()712 ir_code->ins_count = dex_code->ins_size; in ExtractCode()713 ir_code->outs_count = dex_code->outs_size; in ExtractCode()716 ir_code->instructions = in ExtractCode()721 ParseInstructions(ir_code->instructions); in ExtractCode()734 ir_code->try_blocks = in ExtractCode()760 ir_code->catch_handlers = slicer::MemView(handlers_list, ptr - handlers_list); in ExtractCode()763 ir_code->debug_info = ExtractDebugInfo(dex_code->debug_info_off); in ExtractCode()765 return ir_code; in ExtractCode()
605 void BytecodeEncoder::Encode(ir::Code* ir_code, std::shared_ptr<ir::DexFile> dex_ir) { in Encode() argument630 ir_code->instructions = slicer::ArrayView<const dex::u2>( in Encode()632 ir_code->outs_count = outs_count_; in Encode()
216 dex::u4 WriteCode(const ir::Code* ir_code);229 void WriteTryBlocks(const ir::Code* ir_code);
39 void Encode(ir::Code* ir_code, std::shared_ptr<ir::DexFile> dex_ir);
430 void DissasembleBytecode(const ir::Code* ir_code);431 void DissasembleTryBlocks(const ir::Code* ir_code);
38 void Encode(ir::Code* ir_code, std::shared_ptr<ir::DexFile> dex_ir);