/third_party/python/Lib/test/ |
D | test_dis.py | 519 self.assertEqual(dis.opname[dis.opmap["LOAD_FAST"]], "LOAD_FAST") 526 for opcode, opname in enumerate(dis.opname): 527 if opname in ('BUILD_MAP_UNPACK_WITH_CALL', 531 with self.subTest(opname=opname): 535 self.assertLessEqual(len(opname), width) 968 …Instruction(opname='LOAD_CONST', opcode=100, arg=8, argval=(3, 4), argrepr='(3, 4)', offset=0, sta… 969 …Instruction(opname='LOAD_CLOSURE', opcode=135, arg=0, argval='a', argrepr='a', offset=2, starts_li… 970 …Instruction(opname='LOAD_CLOSURE', opcode=135, arg=1, argval='b', argrepr='b', offset=4, starts_li… 971 …Instruction(opname='BUILD_TUPLE', opcode=102, arg=2, argval=2, argrepr='', offset=6, starts_line=N… 972 …Instruction(opname='LOAD_CONST', opcode=100, arg=3, argval=code_object_f, argrepr=repr(code_object… [all …]
|
D | test_peepholer.py | 7 def count_instr_recursively(f, opname): argument 10 if instr.opname == opname: 16 count += count_instr_recursively(c, opname) 26 if 'JUMP_' not in instr.opname: 30 if tgt.opname in ('JUMP_ABSOLUTE', 'JUMP_FORWARD'): 34 if (instr.opname in ('JUMP_ABSOLUTE', 'JUMP_FORWARD') and 35 tgt.opname == 'RETURN_VALUE'): 39 if '_OR_POP' in instr.opname and 'JUMP_IF_' in tgt.opname: 146 if instr.opname == 'LOAD_CONST'] 232 self.assertFalse(instr.opname.startswith('BINARY_')) [all …]
|
D | test_richcmp.py | 98 def checkfail(self, error, opname, *args): argument 99 for op in opmap[opname]: 102 def checkequal(self, opname, a, b, expres): argument 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): argument 163 for op in opmap[opname]: 302 for opname in ("lt", "le", "gt", "ge"): 303 for op in opmap[opname]:
|
D | test__opcode.py | 22 with self.subTest(opname=name): 51 with self.subTest(opname=name):
|
D | test_compile.py | 680 list(dis.get_instructions(unused_code_at_end))[-1].opname) 761 self.assertEqual('LOAD_CONST', opcodes[-2].opname) 763 self.assertEqual('RETURN_VALUE', opcodes[-1].opname) 780 self.assertEqual('LOAD_CONST', opcodes[0].opname) 782 self.assertEqual('RETURN_VALUE', opcodes[1].opname) 804 self.assertIn('LOAD_', opcodes[0].opname) 805 self.assertEqual('RETURN_VALUE', opcodes[1].opname) 969 if instr.opname == 'JUMP_FORWARD': 971 elif instr.opname in HANDLED_JUMPS:
|
D | test_decorators.py | 263 opname, res = ('evalname', make_decorator) 265 opname, res = ('evalargs', str(self.index)) 268 actions.append('%s%d' % (opname, self.index))
|
/third_party/python/Lib/test/support/ |
D | bytecode_helper.py | 17 def assertInBytecode(self, x, opname, argval=_UNSPECIFIED): argument 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): argument 34 if instr.opname == opname: 37 msg = '%s occurs in bytecode:\n%s' % (opname, disassembly) 41 msg = msg % (opname, argval, disassembly)
|
/third_party/flutter/skia/third_party/externals/spirv-tools/utils/ |
D | generate_grammar_tables.py | 154 def __init__(self, opname, caps, operands): argument 162 assert opname.startswith('Op') 163 self.opname = opname[2:] # Remove the "Op" prefix. 182 if (self.opname == 'ExtInst' 192 opname=self.opname, 204 def __init__(self, opname, opcode, caps, operands): argument 213 self.opname = opname 223 opname=self.opname, 241 opname = inst.get('opname') 247 assert opname is not None [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/hccl/ |
D | hccl_kernel_build.cc | 28 std::string opname = AnfAlgo::GetCNodeName(anf_node); in HcclOpBuild() local 29 MS_LOG(INFO) << "Hccl op [" << opname << "]"; in HcclOpBuild() 30 auto kerPtr = HcclKernelFactory::Get(opname); in HcclOpBuild() 32 MS_LOG(ERROR) << "Hccl can't find Kernel[" << opname << "]"; in HcclOpBuild()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/host/ |
D | host_kernel_build.cc | 28 std::string opname = AnfAlgo::GetCNodeName(anf_node); in HostOpBuild() local 29 MS_LOG(INFO) << "Host op [" << opname << "]"; in HostOpBuild() 30 auto kerPtr = HostKernelFactory::Get(opname); in HostOpBuild() 32 MS_LOG(ERROR) << "Host can't find Kernel[" << opname << "]"; in HostOpBuild()
|
/third_party/skia/third_party/externals/spirv-tools/utils/ |
D | generate_grammar_tables.py | 216 def __init__(self, opname, caps, exts, operands, version, lastVersion): argument 228 assert opname.startswith('Op') 229 self.opname = opname[2:] # Remove the "Op" prefix. 253 if (self.opname == 'ExtInst' 265 opname=self.opname, 282 def __init__(self, opname, opcode, caps, operands): argument 291 self.opname = opname 302 opname=self.opname, 321 opname = inst.get('opname') 330 assert opname is not None [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/ |
D | generate_grammar_tables.py | 216 def __init__(self, opname, caps, exts, operands, version, lastVersion): argument 228 assert opname.startswith('Op') 229 self.opname = opname[2:] # Remove the "Op" prefix. 253 if (self.opname == 'ExtInst' 265 opname=self.opname, 282 def __init__(self, opname, opcode, caps, operands): argument 291 self.opname = opname 302 opname=self.opname, 321 opname = inst.get('opname') 330 assert opname is not None [all …]
|
/third_party/spirv-tools/utils/ |
D | generate_grammar_tables.py | 216 def __init__(self, opname, caps, exts, operands, version, lastVersion): argument 228 assert opname.startswith('Op') 229 self.opname = opname[2:] # Remove the "Op" prefix. 253 if (self.opname == 'ExtInst' 265 opname=self.opname, 282 def __init__(self, opname, opcode, caps, operands): argument 291 self.opname = opname 302 opname=self.opname, 321 opname = inst.get('opname') 330 assert opname is not None [all …]
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | compile-i386.c | 1160 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 = "setge"; break; in emit_compare() [all …]
|
D | show-parse.c | 800 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, bits, new, retval); in show_inc_dec()
|
/third_party/python/Tools/scripts/ |
D | analyze_dxp.py | 89 result = [(op, opcode.opname[op], count) 107 result = [((op1, op2), (opcode.opname[op1], opcode.opname[op2]), count)
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_print_constant.c | 38 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/openssl/test/testutil/ |
D | tests.c | 188 #define DEFINE_COMPARISON(type, name, opname, op, fmt) \ argument 189 int test_ ## name ## _ ## opname(const char *file, int line, \ 336 #define DEFINE_BN_COMPARISONS(opname, op, zero_cond) \ argument 337 int test_BN_ ## opname(const char *file, int line, \ 347 int test_BN_ ## opname ## _zero(const char *file, int line, \ 426 #define DEFINE_TIME_T_COMPARISON(opname, op) \ argument 427 int test_time_t_ ## opname(const char *file, int line, \
|
/third_party/mesa3d/docs/_exts/ |
D | nir.py | 142 for opname, todocname in self.data['alu-op-refs']: 143 if target == opname: 144 targ = 'nir-alu-op-' + opname
|
/third_party/python/Python/ |
D | makeopcodetargets.py | 35 for opname, op in opcode.opmap.items(): 36 targets[op] = "TARGET_%s" % opname
|
/third_party/python/Lib/ |
D | opcode.py | 36 opname = ['<%r>' % (op,) for op in range(256)] variable 39 opname[op] = name
|
/third_party/ffmpeg/compat/atomics/dummy/ |
D | stdatomic.h | 132 #define FETCH_MODIFY(opname, op) \ argument 133 static inline intptr_t atomic_fetch_ ## opname(intptr_t *object, intptr_t operand) \
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | bi_packer.c.py | 207 def pack_variant(opname, states): argument 227 pack_sources(states[0][1].get("srcs", []), common_body, pack_exprs, offset, opname[0] == '*') 297 …return variant_template.render(name = opname_to_c(opname), states = zip(pack_exprs, state_body, st…
|
/third_party/ffmpeg/compat/atomics/pthread/ |
D | stdatomic.h | 151 #define FETCH_MODIFY(opname, op) \ argument 152 static inline intptr_t atomic_fetch_ ## opname(intptr_t *object, intptr_t operand) \
|
/third_party/mksh/ |
D | expr.c | 54 static const char opname[][4] = { variable 198 s = opname[(int)es->tok]; in evalerr() 638 for (i = 0; (n0 = ord(opname[i][0])); i++) in exprtoken() 639 if (c == n0 && strncmp(cp, opname[i], in exprtoken() 656 evalerr(es, ET_LVALUE, opname[(int)op]); in assign_check() 658 evalerr(es, ET_RDONLY, opname[(int)op]); in assign_check()
|