Home
last modified time | relevance | path

Searched refs:opname (Results 1 - 25 of 51) sorted by relevance

123

/third_party/python/Lib/test/
H A Dtest_dis.py744 self.assertEqual(dis.opname[dis.opmap["LOAD_FAST"]], "LOAD_FAST")
761 for opcode, opname in enumerate(dis.opname):
762 if opname in long_opcodes:
764 with self.subTest(opname=opname):
768 self.assertLessEqual(len(opname), width)
1046 if instruction.opname == "CACHE":
1344 Instruction(opname='MAKE_CELL', opcode=135, arg=0, argval='a', argrepr='a', offset=0, starts_line=None, is_jump_target=False, positions=None),
1345 Instruction(opname
[all...]
H A Dtest_peepholer.py23 def count_instr_recursively(f, opname):
26 if instr.opname == opname:
32 count += count_instr_recursively(c, opname)
42 if 'JUMP_' not in instr.opname:
46 if tgt.opname in ('JUMP_ABSOLUTE', 'JUMP_FORWARD'):
47 self.fail(f'{instr.opname} at {instr.offset} '
48 f'jumps to {tgt.opname} at {tgt.offset}')
50 if (instr.opname in ('JUMP_ABSOLUTE', 'JUMP_FORWARD') and
51 tgt.opname
[all...]
H A Dtest_richcmp.py98 def checkfail(self, error, opname, *args):
99 for op in opmap[opname]:
102 def checkequal(self, opname, a, b, expres):
103 for op in opmap[opname]:
118 for opname in opmap:
119 self.checkfail(ValueError, opname, a, b)
158 def checkvalue(self, opname, a, b, expres):
163 for op in opmap[opname]:
302 for opname in ("lt", "le", "gt", "ge"):
303 for op in opmap[opname]
[all...]
H A Dtest_lltrace.py87 opname, oparg = opname_oparg
90 (opname,) = opname_oparg
92 self.assertEqual(instr_map[offset].opname, opname)
H A Dtest_compile.py698 list(dis.get_instructions(unused_code_at_end))[-1].opname)
779 self.assertEqual('LOAD_CONST', opcodes[-2].opname)
781 self.assertEqual('RETURN_VALUE', opcodes[-1].opname)
798 self.assertEqual('LOAD_CONST', opcodes[1].opname)
800 self.assertEqual('RETURN_VALUE', opcodes[2].opname)
822 self.assertIn('LOAD_', opcodes[-2].opname)
823 self.assertEqual('RETURN_VALUE', opcodes[-1].opname)
854 instructions = [opcode.opname for opcode in opcodes]
1027 if instr.opname == 'JUMP_FORWARD':
1029 elif instr.opname i
[all...]
/third_party/python/Lib/test/support/
H A Dbytecode_helper.py17 def assertInBytecode(self, x, opname, argval=_UNSPECIFIED):
18 """Returns instr if opname is found, otherwise throws AssertionError"""
20 if instr.opname == opname:
25 msg = '%s not found in bytecode:\n%s' % (opname, disassembly)
28 msg = msg % (opname, argval, disassembly)
31 def assertNotInBytecode(self, x, opname, argval=_UNSPECIFIED):
32 """Throws AssertionError if opname is found"""
34 if instr.opname == opname
[all...]
/third_party/elfutils/tests/
H A Dvarlocs.c200 const char *opname = dwarf_opcode_string (atom); in print_expr() local
236 printf ("%s", opname); in print_expr()
244 printf ("%s", opname); in print_expr()
251 printf ("%s", opname); in print_expr()
262 error (EXIT_FAILURE, 0, "%s used in CFI", opname); in print_expr()
264 printf ("%s ", opname); in print_expr()
299 error (EXIT_FAILURE, 0, "%s used in CFI", opname); in print_expr()
300 printf ("%s", opname); in print_expr()
305 printf ("%s(0x%" PRIx64 ")", opname, (Dwarf_Addr) expr->number); in print_expr()
320 printf ("%s(%" PRIu64 ")", opname, exp in print_expr()
[all...]
/third_party/python/Tools/scripts/
H A Dsummarize_stats.py19 opname = ["<0>"] variable
20 for name in opcode.opname[1:]:
26 opname.append(name)
30 opmap = {name: i for i, name in enumerate(opname)}
120 def kind_to_text(kind, defines, opname):
123 if opname.endswith("ATTR"):
124 opname = "ATTR"
125 if opname.endswith("SUBSCR"):
126 opname = "SUBSCR"
127 if opname
[all...]
H A Danalyze_dxp.py82 (opcode, opname, # of occurrences)
89 result = [(op, opcode.opname[op], count)
101 (1st opname, 2nd opname),
107 result = [((op1, op2), (opcode.opname[op1], opcode.opname[op2]), count)
121 # of occurrences: ('1st opname', '2nd opname')
H A Dgenerate_opcode_h.py83 opname = opcode['opname']
94 opname_including_specialized = opname.copy()
109 for name in opname:
127 iobj.write(f" [{opname[i]}] = {entries},\n")
/third_party/python/Python/
H A Dmakeopcodetargets.py36 for opname, op in opcode.opmap.items():
37 targets[op] = "TARGET_%s" % opname
39 for opname in opcode._specialized_instructions:
42 targets[next_op] = "TARGET_%s" % opname
/third_party/ltp/tools/sparse/sparse-src/
H A Dcompile-i386.c1160 const char *opname; in emit_move() local
1220 opname = "mov"; in emit_move()
1222 opname = is_signed ? "movsx" : "movzx"; in emit_move()
1224 opname = "mov"; in emit_move()
1226 insn(opbits(opname, bits), src, dest, comment); in emit_move()
1235 const char *opname = NULL; in emit_compare() local
1239 case '<': opname = "setl"; break; in emit_compare()
1240 case '>': opname = "setg"; break; in emit_compare()
1242 opname = "setle"; break; in emit_compare()
1244 opname in emit_compare()
1347 const char *opname = NULL; emit_binop() local
1510 char opname[16]; emit_inc_dec() local
1675 const char *opname = NULL; emit_regular_preop() local
[all...]
H A Dshow-parse.c800 const char *opname; in show_binop() local
809 opname = show_special(op); in show_binop()
811 opname = name[op]; in show_binop()
812 printf("\t%s.%d\t\tv%d,v%d,v%d\n", opname, in show_binop()
835 const char *opname; in show_regular_preop() local
837 opname = show_special(op); in show_regular_preop()
839 opname = name[op]; in show_regular_preop()
840 printf("\t%s.%d\t\tv%d,v%d\n", opname, expr->ctype->bit_size, new, target); in show_regular_preop()
923 const char *opname = expr->op == SPECIAL_INCREMENT ? "add" : "sub"; in show_inc_dec() local
930 printf("\t%s.%d\t\tv%d,v%d,$1\n", opname, bit in show_inc_dec()
[all...]
/third_party/skia/third_party/externals/spirv-tools/utils/
H A Dgenerate_grammar_tables.py216 def __init__(self, opname, caps, exts, operands, version, lastVersion):
220 - opname: opcode name (with the 'Op' prefix)
228 assert opname.startswith('Op')
229 self.opname = opname[2:] # Remove the "Op" prefix.
253 if (self.opname == 'ExtInst'
258 template = ['{{"{opname}"', 'SpvOp{opname}',
265 opname=self.opname,
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/
H A Dgenerate_grammar_tables.py216 def __init__(self, opname, caps, exts, operands, version, lastVersion):
220 - opname: opcode name (with the 'Op' prefix)
228 assert opname.startswith('Op')
229 self.opname = opname[2:] # Remove the "Op" prefix.
253 if (self.opname == 'ExtInst'
258 template = ['{{"{opname}"', 'SpvOp{opname}',
265 opname=self.opname,
[all...]
/third_party/spirv-tools/utils/
H A Dgenerate_grammar_tables.py226 def __init__(self, opname, caps, exts, operands, version, lastVersion):
230 - opname: opcode name (with the 'Op' prefix)
238 assert opname.startswith('Op')
239 self.opname = opname[2:] # Remove the "Op" prefix.
263 if (self.opname == 'ExtInst'
273 template = ['{{"{opname}"', base_str + '{opname}',
280 opname=self.opname,
[all...]
/third_party/python/Include/internal/
H A Dpycore_code.h313 #define STAT_INC(opname, name) _py_stats.opcode_stats[opname].specialization.name++
314 #define STAT_DEC(opname, name) _py_stats.opcode_stats[opname].specialization.name--
315 #define OPCODE_EXE_INC(opname) _py_stats.opcode_stats[opname].execution_count++
327 #define STAT_INC(opname, name) ((void)0)
328 #define STAT_DEC(opname, name) ((void)0)
329 #define OPCODE_EXE_INC(opname) ((void)0)
/third_party/mesa3d/docs/_exts/
H A Dnir.py142 for opname, todocname in self.data['alu-op-refs']:
143 if target == opname:
144 targ = 'nir-alu-op-' + opname
/third_party/mesa3d/src/panfrost/midgard/
H A Dmidgard_print_constant.c38 const char *opname = alu_opcode_props[op].name; in mir_print_constant_component() local
43 if (!opname) in mir_print_constant_component()
44 opname = "unknown"; in mir_print_constant_component()
/third_party/python/Lib/
H A Dopcode.py8 "haslocal", "hascompare", "hasfree", "opname", "opmap",
36 opname = ['<%r>' % (op,) for op in range(256)] variable
39 opname[op] = name
406 sum(_cache_format.get(opname[opcode], {}).values()) for opcode in range(256)
/third_party/openssl/test/testutil/
H A Dtests.c211 #define DEFINE_COMPARISON(type, name, opname, op, fmt) \
212 int test_ ## name ## _ ## opname(const char *file, int line, \
360 #define DEFINE_BN_COMPARISONS(opname, op, zero_cond) \
361 int test_BN_ ## opname(const char *file, int line, \
371 int test_BN_ ## opname ## _zero(const char *file, int line, \
450 #define DEFINE_TIME_T_COMPARISON(opname, op) \
451 int test_time_t_ ## opname(const char *file, int line, \
/third_party/spirv-tools/source/val/
H A Dvalidate_memory.cpp1583 const char* opname; in ValidateCooperativeMatrixLoadStoreNV() local
1586 opname = "spv::Op::OpCooperativeMatrixLoadNV"; in ValidateCooperativeMatrixLoadStoreNV()
1590 opname = "spv::Op::OpCooperativeMatrixStoreNV"; in ValidateCooperativeMatrixLoadStoreNV()
1618 << opname << " Pointer <id> " << _.getIdName(pointer_id) in ValidateCooperativeMatrixLoadStoreNV()
1626 << opname << " type for pointer <id> " << _.getIdName(pointer_id) in ValidateCooperativeMatrixLoadStoreNV()
1638 << opname << " storage class for pointer type <id> " in ValidateCooperativeMatrixLoadStoreNV()
1648 << opname << " Pointer <id> " << _.getIdName(pointer->id()) in ValidateCooperativeMatrixLoadStoreNV()
1687 const char* opname; in ValidateCooperativeMatrixLoadStoreKHR() local
1690 opname = "spv::Op::OpCooperativeMatrixLoadKHR"; in ValidateCooperativeMatrixLoadStoreKHR()
1694 opname in ValidateCooperativeMatrixLoadStoreKHR()
[all...]
/third_party/mesa3d/src/panfrost/bifrost/
H A Dbi_packer.c.py212 def pack_variant(opname, states):
232 pack_sources(states[0][1].get("srcs", []), common_body, pack_exprs, offset, opname[0] == '*')
302 return variant_template.render(name = opname_to_c(opname), states = zip(pack_exprs, state_body, state_conds), common_body = common_body, single_state = (len(states) == 1), srcs = 4)
/third_party/ffmpeg/compat/atomics/pthread/
H A Dstdatomic.h151 #define FETCH_MODIFY(opname, op) \
152 static inline intptr_t atomic_fetch_ ## opname(intptr_t *object, intptr_t operand) \
/third_party/ffmpeg/compat/atomics/dummy/
H A Dstdatomic.h132 #define FETCH_MODIFY(opname, op) \
133 static inline intptr_t atomic_fetch_ ## opname(intptr_t *object, intptr_t operand) \

Completed in 22 milliseconds

123