Home
last modified time | relevance | path

Searched refs:instr_info (Results 1 – 18 of 18) sorted by relevance

/external/OpenCSD/decoder/source/i_dec/
Dtrc_i_decode.cpp39 ocsd_err_t TrcIDecode::DecodeInstruction(ocsd_instr_info *instr_info) in DecodeInstruction() argument
45 info.arch_version = instr_info->pe_type.arch; in DecodeInstruction()
47 switch(instr_info->isa) in DecodeInstruction()
50 err = DecodeA32(instr_info, &info); in DecodeInstruction()
54 err = DecodeT32(instr_info, &info); in DecodeInstruction()
58 err = DecodeA64(instr_info, &info); in DecodeInstruction()
68 instr_info->sub_type = info.instr_sub_type; in DecodeInstruction()
72 ocsd_err_t TrcIDecode::DecodeA32(ocsd_instr_info *instr_info, struct decode_info *info) in DecodeA32() argument
77 instr_info->instr_size = 4; // instruction size A32 in DecodeA32()
78 instr_info->type = OCSD_INSTR_OTHER; // default type in DecodeA32()
[all …]
/external/OpenCSD/decoder/include/i_dec/
Dtrc_i_decode.h46 virtual ocsd_err_t DecodeInstruction(ocsd_instr_info *instr_info);
49 ocsd_err_t DecodeA32(ocsd_instr_info *instr_info, struct decode_info *info);
50 ocsd_err_t DecodeA64(ocsd_instr_info *instr_info, struct decode_info *info);
51 ocsd_err_t DecodeT32(ocsd_instr_info *instr_info, struct decode_info *info);
/external/OpenCSD/decoder/tests/ext_dcd_test_eg/c_api_echo_test/
Dext_dcd_echo_test.c347 ocsd_instr_info instr_info; in analyse_packet() local
419 instr_info.pe_type.arch = ARCH_V8; in analyse_packet()
420 instr_info.pe_type.profile = profile_CortexA; in analyse_packet()
421 instr_info.isa = ocsd_isa_aarch64; in analyse_packet()
422 instr_info.opcode = decoder->curr_pkt.data; in analyse_packet()
423 instr_info.instr_addr = decoder->curr_pkt.data & 0xFFFFF000; in analyse_packet()
424 instr_info.dsb_dmb_waypoints = 0; in analyse_packet()
426 err = lib_cb_DecodeArmInst(p_fns, &instr_info); in analyse_packet()
443 decoder->out_pkt.last_i_type = instr_info.type; in analyse_packet()
444 decoder->out_pkt.last_i_subtype = instr_info.sub_type; in analyse_packet()
/external/tensorflow/tensorflow/compiler/xla/service/
Dwhile_loop_expensive_invariant_code_motion.cc221 InvariantInfo& instr_info = emplace_result.first->second; in TryHoistingInvariantInstructionsFromWhileBody() local
229 --instr_info.remaining_user_count; in TryHoistingInvariantInstructionsFromWhileBody()
246 instr_info.transitive_input_size += operand_info.transitive_input_size; in TryHoistingInvariantInstructionsFromWhileBody()
290 if (output_size > instr_info.transitive_input_size) { in TryHoistingInvariantInstructionsFromWhileBody()
305 hoist(instruction, instr_info); in TryHoistingInvariantInstructionsFromWhileBody()
/external/OpenCSD/decoder/include/opencsd/c_api/
Docsd_c_api_cust_impl.h89 ocsd_instr_info *instr_info) in lib_cb_DecodeArmInst() argument
92 return callbacks->fn_arm_instruction_decode(callbacks->lib_context, instr_info); in lib_cb_DecodeArmInst()
Docsd_c_api_custom.h135 typedef ocsd_err_t (* fnDecodeArmInstCB)(const void *lib_context, ocsd_instr_info *instr_info);
/external/OpenCSD/decoder/include/common/
Dtrc_pkt_decode_base.h101 ocsd_err_t instrDecode(ocsd_instr_info *instr_info);
169 inline ocsd_err_t TrcPktDecodeI::instrDecode(ocsd_instr_info *instr_info) in instrDecode() argument
172 return m_instr_decode.first()->DecodeInstruction(instr_info); in instrDecode()
/external/OpenCSD/decoder/include/interfaces/
Dtrc_instr_decode_i.h61 virtual ocsd_err_t DecodeInstruction(ocsd_instr_info *instr_info) = 0;
/external/OpenCSD/decoder/source/c_api/
Docsd_c_api_custom_obj.cpp323 ocsd_err_t DecodeArmInstCB(const void *lib_context, ocsd_instr_info *instr_info) in DecodeArmInstCB() argument
326 return ((CustomDecoderWrapper *)lib_context)->m_pIInstrDec->DecodeInstruction(instr_info); in DecodeArmInstCB()
Docsd_c_api_custom_obj.h142 friend ocsd_err_t DecodeArmInstCB(const void *lib_context, ocsd_instr_info *instr_info);
/external/mesa3d/src/amd/compiler/
Daco_assembler.cpp23 opcode = &instr_info.opcode_gfx7[0]; in asm_context()
25 opcode = &instr_info.opcode_gfx9[0]; in asm_context()
27 opcode = &instr_info.opcode_gfx10[0]; in asm_context()
Daco_insert_NOPs.cpp295 …if (ctx.smem_write || instr->definitions.empty() || instr_info.is_atomic[(unsigned)instr->opcode])… in handle_smem_clause_hazards()
443 if (instr->definitions.empty() || instr_info.is_atomic[(unsigned)instr->opcode]) { in handle_instruction_gfx6()
Daco_validate.cpp131 …check(base_format == instr_info.format[(int)instr->opcode], "Wrong base format for instruction", i… in validate_ir()
691 … return MAX2(chip >= GFX10 ? def.bytes() : 4, instr_info.definition_size[(int)instr->opcode] / 8u); in get_subdword_bytes_written()
Daco_print_ir.cpp679 fprintf(output, "%s", instr_info.name[(int)instr->opcode]); in aco_print_instr()
Daco_optimizer.cpp793 return instr_info.operand_size[(int)instr->opcode]; in get_operand_size()
904 can_use_mod = can_use_mod && instr_info.can_use_input_modifiers[(int)instr->opcode]; in label_instruction()
2551 !instr_info.can_use_output_modifiers[(int)instr->opcode]) in apply_omod_clamp()
Daco_ir.h1806 extern const Info instr_info;
Daco_register_allocation.cpp460 bytes_written = MAX2(bytes_written, instr_info.definition_size[(int)instr->opcode] / 8u); in get_subdword_definition_info()
498 unsigned def_size = instr_info.definition_size[(int)instr->opcode]; in add_subdword_definition()
Daco_lower_to_hw_instr.cpp187 return instr_info.format[(int)opcode] == Format::VOP3; in is_vop3_reduce_opcode()