Home
last modified time | relevance | path

Searched refs:insns (Results 1 – 12 of 12) sorted by relevance

/frameworks/libs/binary_translation/assembler/
Dasm_defs.py169 def _expand_insn_by_encodings(insns): argument
171 for insn in insns:
188 def _expand_insns_by_operands(insns): argument
190 for insn in insns:
210 insns = obj.get('insns')
211 insns = _expand_insns_by_operands(insns)
212 insns = _expand_insn_by_encodings(insns)
213 insns = sorted(insns, key=lambda i: i.get('asm'))
214 result.extend(insns)
Dgen_asm_x86.py93 def _gen_generic_functions_h(f, insns, binary_assembler): argument
95 for insn in insns:
126 _gen_emit_shortcut(f, insn, insns)
136 _gen_emit_shortcut(f, insn, insns)
172 def _gen_emit_shortcut(f, insn, insns): argument
176 _gen_emit_shortcut_shift(f, insn, insns)
179 _gen_emit_shortcut_accumulator_imm8(f, insn, insns)
181 _gen_emit_shortcut_generic_imm8(f, insn, insns)
183 _gen_emit_shortcut_accumulator(f, insn, insns)
186 def _gen_emit_shortcut_shift(f, insn, insns): argument
[all …]
Dgen_asm_tests_x86.py286 def _gen_att_assembler(file, insns, fast_mode): argument
287 for insn in insns:
444 def _gen_arc_assembler(file, insn_kind, insns, fast_mode): argument
445 for insn in insns:
449 for insn in insns:
452 if not insns:
/frameworks/libs/binary_translation/backend/
Dgen_lir.py89 arch, insns = gen_lir_lib.load_all_lir_defs(
93 gen_lir_lib.gen_code_2_cc(argv[2], arch, insns)
94 gen_lir_lib.gen_machine_info_h(argv[3], arch, insns)
95 gen_lir_lib.gen_machine_opcode_h(argv[4], arch, insns)
96 gen_lir_lib.gen_machine_ir_h(argv[5], arch, insns)
98 arch, insns = gen_lir_lib.load_all_lir_defs(
102 gen_lir_lib.gen_code_emit_cc(argv[2], arch, insns)
103 gen_lir_lib.gen_code_debug_cc(argv[3], arch, insns)
Dgen_lir_lib.py346 def gen_code_2_cc(out, arch, insns): argument
348 for insn in insns:
352 def gen_code_debug_cc(out, arch, insns): argument
365 for insn in insns:
374 def gen_code_emit_cc(out, arch, insns): argument
387 for insn in insns:
396 def gen_machine_info_h(out, arch, insns): argument
398 for insn in insns:
403 def gen_machine_opcode_h(out, arch, insns): argument
405 for insn in insns:
[all …]
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64CA53Erratum835769Stub.cpp54 if (AArch64InsnHelpers::isMLXL(code.insns[1]) && in isMyDuty()
55 AArch64InsnHelpers::isMemOp(code.insns[0], rt, rt2, is_pair, is_load)) { in isMyDuty()
58 if (AArch64InsnHelpers::getBit(code.insns[0], 26) != 0) { in isMyDuty()
63 unsigned ra = AArch64InsnHelpers::getRa(code.insns[1]); in isMyDuty()
64 unsigned rm = AArch64InsnHelpers::getRm(code.insns[1]); in isMyDuty()
65 unsigned rn = AArch64InsnHelpers::getRn(code.insns[1]); in isMyDuty()
DAArch64CA53Erratum843419Stub2.cpp67 if (AArch64CA53Erratum843419Stub::isErratum843419Sequence(code.insns[0], in isMyDuty()
68 code.insns[1], in isMyDuty()
69 code.insns[3])) { in isMyDuty()
DAArch64CA53Erratum843419Stub.cpp78 if (isErratum843419Sequence(code.insns[0], code.insns[1], code.insns[2])) { in isMyDuty()
DAArch64CA53Erratum843419Stub2.h28 unsigned insns[4]; member
DAArch64CA53Erratum835769Stub.h28 unsigned insns[2]; member
DAArch64CA53Erratum843419Stub.h28 unsigned insns[3]; member
/frameworks/libs/binary_translation/intrinsics/
Dgen_intrinsics.py1054 arch, insns = asm_defs.load_asm_defs(insns_def)
1056 for insn in insns:
1059 for insn in insns:
1061 insns_map = dict((insn['name'], insn) for insn in insns)