Home
last modified time | relevance | path

Searched refs:arg_type (Results 1 – 8 of 8) sorted by relevance

/frameworks/libs/binary_translation/assembler/
Dasm_defs.py78 def is_imm(arg_type): argument
79 return arg_type in ('Imm2', 'Imm8', 'Imm16', 'Imm32', 'Imm64')
82 def is_disp(arg_type): argument
83 return arg_type == 'Disp'
86 def is_mem_op(arg_type): argument
87 return arg_type in ('Mem8', 'Mem16', 'Mem32', 'Mem64', 'Mem128',
92 def is_cond(arg_type): argument
93 return arg_type == 'Cond'
96 def is_label(arg_type): argument
97 return arg_type == 'Label'
[all …]
Dgen_asm_tests_x86.py430 arg_type = _argument_class_to_arc_type(arg_class)
431 print('%s* %sArgs() {' % (arg_type, arg_class), file=file)
432 print(' static %s* arg_list;' % arg_type, file=file)
435 (arg_type, len(arc_args), arg_type), file=file)
477 arg_type = _argument_class_to_arc_type(arg_class)
495 (indent, arg_type, arg_ref, arg_nr, args_generator, arg_shift,
502 (indent, arg_type, arg_ref, arg_nr, args_generator, arg_shift,
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/
Dintrinsics_args.h98 } arg_type; member
100 return arg.arg_type == ArgInfo::IN_ARG || in HaveInput()
101 arg.arg_type == ArgInfo::IN_TMP_ARG || in HaveInput()
102 arg.arg_type == ArgInfo::IN_OUT_ARG || in HaveInput()
103 arg.arg_type == ArgInfo::IN_OUT_TMP_ARG; in HaveInput()
106 return arg.arg_type == ArgInfo::IN_OUT_ARG || in HaveOutput()
107 arg.arg_type == ArgInfo::IN_OUT_TMP_ARG || in HaveOutput()
108 arg.arg_type == OUT_ARG || in HaveOutput()
109 arg.arg_type == OUT_TMP_ARG; in HaveOutput()
112 return arg.arg_type == IMM_ARG; in IsImmediate()
[all …]
/frameworks/libs/binary_translation/intrinsics/
Dgen_intrinsics.py108 def _is_imm_type(arg_type): argument
109 return 'imm' in arg_type
112 def _is_template_type(arg_type): argument
113 if not arg_type.startswith('Type'):
115 assert isinstance(int(arg_type[4:]), int)
119 def _get_imm_c_type(arg_type): argument
125 }[arg_type]
128 def _get_c_type(arg_type): argument
129 if (arg_type in ('Float32', 'Float64', 'int8_t', 'uint8_t', 'int16_t',
132 _is_template_type(arg_type)):
[all …]
/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/
Dinline_intrinsic.h323 if constexpr (arg_info.arg_type == ArgInfo::IMM_ARG) { in operator()
338 if constexpr (arg_info.arg_type == ArgInfo::IMM_ARG) { in ProcessArgInput()
343 if constexpr (arg_info.arg_type == ArgInfo::IN_ARG) { in ProcessArgInput()
354 } else if constexpr (arg_info.arg_type == ArgInfo::IN_OUT_ARG) { in ProcessArgInput()
371 } else if constexpr (arg_info.arg_type == ArgInfo::IN_TMP_ARG) { in ProcessArgInput()
388 } else if constexpr (arg_info.arg_type == ArgInfo::IN_OUT_TMP_ARG) { in ProcessArgInput()
398 static_assert(kDependentValueFalse<arg_info.arg_type>); in ProcessArgInput()
400 } else if constexpr (arg_info.arg_type == ArgInfo::OUT_ARG) { in ProcessArgInput()
422 } else if constexpr (arg_info.arg_type == ArgInfo::OUT_TMP_ARG) { in ProcessArgInput()
427 static_assert(kDependentValueFalse<arg_info.arg_type>); in ProcessArgInput()
[all …]
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/
Dinline_intrinsic.h379 if constexpr (arg_info.arg_type == ArgInfo::IMM_ARG) { in operator()
394 if constexpr (arg_info.arg_type == ArgInfo::IN_ARG) { in ProcessArgInput()
406 } else if constexpr (arg_info.arg_type == ArgInfo::IN_OUT_ARG) { in ProcessArgInput()
428 } else if constexpr (arg_info.arg_type == ArgInfo::IN_OUT_TMP_ARG) { in ProcessArgInput()
441 } else if constexpr (arg_info.arg_type == ArgInfo::IN_TMP_ARG) { in ProcessArgInput()
450 } else if constexpr (arg_info.arg_type == ArgInfo::OUT_TMP_ARG) { in ProcessArgInput()
458 } else if constexpr (arg_info.arg_type == ArgInfo::OUT_ARG) { in ProcessArgInput()
479 } else if constexpr (arg_info.arg_type == ArgInfo::TMP_ARG) { in ProcessArgInput()
502 static_assert(berberis::kDependentValueFalse<arg_info.arg_type>); in ProcessArgInput()
550 } else if constexpr ((arg_info.arg_type == ArgInfo::IN_OUT_ARG || in ProcessBindingResult()
[all …]
/frameworks/libs/binary_translation/backend/
Dgen_lir_lib.py60 def _is_reg(arg_type): argument
61 return (asm_defs.is_greg(arg_type) or
62 asm_defs.is_xreg(arg_type) or
63 asm_defs.is_implicit_reg(arg_type))
/frameworks/libs/binary_translation/backend/include/berberis/backend/x86_64/
Dmachine_insn_intrinsics.h178 static_assert(ArgTraits<B>::arg_info.arg_type == ArgInfo::TMP_ARG);
185 static_assert(ArgTraits<B>::arg_info.arg_type == ArgInfo::TMP_ARG);