Home
last modified time | relevance | path

Searched refs:opname (Results 1 – 25 of 62) sorted by relevance

123

/external/python/cpython3/Lib/test/
Dtest_dis.py437 self.assertEqual(dis.opname[dis.opmap["LOAD_FAST"]], "LOAD_FAST")
444 for opcode, opname in enumerate(dis.opname):
445 if opname in ('BUILD_MAP_UNPACK_WITH_CALL',
448 with self.subTest(opname=opname):
452 self.assertLessEqual(len(opname), width)
857 …Instruction(opname='LOAD_CONST', opcode=100, arg=8, argval=(3, 4), argrepr='(3, 4)', offset=0, sta…
858 …Instruction(opname='LOAD_CLOSURE', opcode=135, arg=0, argval='a', argrepr='a', offset=2, starts_li…
859 …Instruction(opname='LOAD_CLOSURE', opcode=135, arg=1, argval='b', argrepr='b', offset=4, starts_li…
860 …Instruction(opname='BUILD_TUPLE', opcode=102, arg=2, argval=2, argrepr='', offset=6, starts_line=N…
861 …Instruction(opname='LOAD_CONST', opcode=100, arg=3, argval=code_object_f, argrepr=repr(code_object…
[all …]
Dbytecode_helper.py17 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)
40 msg = msg % (opname, argval, disassembly)
Dtest_peepholer.py90 if instr.opname == 'LOAD_CONST']
170 self.assertFalse(instr.opname.startswith('BINARY_'))
219 self.assertFalse(instr.opname.startswith('UNARY_'))
226 self.assertFalse(instr.opname.startswith('UNARY_'))
229 for line, elem, opname in (
235 self.assertInBytecode(code, opname)
243 if instr.opname == 'RETURN_VALUE']
253 if instr.opname == 'RETURN_VALUE']
270 if instr.opname == 'RETURN_VALUE']
281 if instr.opname == 'JUMP_ABSOLUTE']
[all …]
Dtest_richcmp.py98 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]:
/external/elfutils/tests/
Dvarlocs.c200 const char *opname = dwarf_opcode_string (atom); in print_expr() local
201 assert (opname != NULL); in print_expr()
237 printf ("%s", opname); in print_expr()
245 printf ("%s", opname); in print_expr()
252 printf ("%s", opname); in print_expr()
263 error (EXIT_FAILURE, 0, "%s used in CFI", opname); in print_expr()
265 printf ("%s ", opname); in print_expr()
300 error (EXIT_FAILURE, 0, "%s used in CFI", opname); in print_expr()
301 printf ("%s", opname); in print_expr()
306 printf ("%s(0x%" PRIx64 ")", opname, (Dwarf_Addr) expr->number); in print_expr()
[all …]
/external/python/cpython2/Lib/compiler/
Dpyassem.py323 opname = t[0]
324 if opname == "SET_LINENO":
327 print "\t", "%3d" % pc, opname
330 print "\t", "%3d" % pc, opname, t[1]
389 opname = inst[0]
390 if opname in self.hasjrel:
393 insts[i] = opname, offset
394 elif opname in self.hasjabs:
395 insts[i] = opname, begin[inst[1]]
400 hasjrel.add(dis.opname[i])
[all …]
/external/deqp-deps/SPIRV-Tools/utils/
Dgenerate_grammar_tables.py209 def __init__(self, opname, caps, exts, operands, version): argument
220 assert opname.startswith('Op')
221 self.opname = opname[2:] # Remove the "Op" prefix.
244 if (self.opname == 'ExtInst'
256 opname=self.opname,
272 def __init__(self, opname, opcode, caps, operands): argument
281 self.opname = opname
292 opname=self.opname,
311 opname = inst.get('opname')
319 assert opname is not None
[all …]
/external/swiftshader/third_party/SPIRV-Tools/utils/
Dgenerate_grammar_tables.py209 def __init__(self, opname, caps, exts, operands, version): argument
220 assert opname.startswith('Op')
221 self.opname = opname[2:] # Remove the "Op" prefix.
244 if (self.opname == 'ExtInst'
256 opname=self.opname,
272 def __init__(self, opname, opcode, caps, operands): argument
281 self.opname = opname
292 opname=self.opname,
311 opname = inst.get('opname')
319 assert opname is not None
[all …]
/external/python/cpython2/Lib/
Dfunctools.py78 for opname, opfunc in convert[root]:
79 if opname not in defined_methods:
80 opfunc.__name__ = opname
81 opfunc.__doc__ = getattr(int, opname).__doc__
82 setattr(cls, opname, opfunc)
Dopcode.py23 opname = [''] * 256 variable
24 for op in range(256): opname[op] = '<%r>' % (op,)
28 opname[op] = name
/external/tensorflow/tensorflow/lite/kernels/
Dmul.cc112 #define TF_LITE_MUL(type, opname, data_type) \ in EvalMul() argument
119 type::opname(op_params, GetTensorShape(input1), \ in EvalMul()
173 #define TF_LITE_MUL(type, opname, dtype) \ in EvalQuantized() argument
174 type::opname(op_params, GetTensorShape(input1), \ in EvalQuantized()
203 #define TF_LITE_MUL(type, opname) \ in EvalQuantized() argument
205 type::opname(op_params, GetTensorShape(input1), \ in EvalQuantized()
217 #define TF_LITE_MUL(type, opname, output_dtype) \ in EvalQuantized() argument
222 type::opname(op_params, GetTensorShape(input1), \ in EvalQuantized()
Dcomparisons.cc61 #define TF_LITE_QUANTIZE_COMPARISON(opname) \ argument
63 void EvalQuantized##opname(TfLiteContext* context, TfLiteNode* node, \
90 reference_ops::Broadcast4DSlow##opname##WithScaling( \
96 reference_ops::opname##WithScaling( \
112 #define TF_LITE_COMPARISON(type, opname, requires_broadcast) \ argument
116 ? reference_ops::Broadcast4DSlow##opname##NoScaling( \
120 : reference_ops::opname##NoScaling( \
Dadd.cc179 #define TF_LITE_ADD(type, opname, data_type) \ in EvalAdd() argument
186 type::opname(op_params, GetTensorShape(input1), \ in EvalAdd()
244 #define TF_LITE_ADD(type, opname, dtype) \ in EvalAddQuantized() argument
245 type::opname(op_params, GetTensorShape(input1), \ in EvalAddQuantized()
275 #define TF_LITE_ADD(type, opname) \ in EvalAddQuantized() argument
281 type::opname(op_params, GetTensorShape(input1), \ in EvalAddQuantized()
/external/python/cpython2/Lib/test/
Dtest_richcmp.py98 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]:
278 for opname in ("lt", "le", "gt", "ge"):
279 for op in opmap[opname]:
/external/python/cpython2/Python/
Dmakeopcodetargets.py25 for opname, op in opcode.opmap.items():
26 if opname == "STOP_CODE":
28 targets[op] = "TARGET_%s" % opname.replace("+0", " ").replace("+", "_")
/external/tensorflow/tensorflow/go/genop/internal/
Dapi_def_map.go100 func (m *apiDefMap) Get(opname string) (*pb.ApiDef, error) {
101 cname := C.CString(opname)
106 m.c, cname, C.size_t(len(opname)), status)
112 return nil, fmt.Errorf("could not find ApiDef for %s", opname)
/external/python/cpython2/Tools/scripts/
Danalyze_dxp.py90 result = [(op, opcode.opname[op], count)
108 result = [((op1, op2), (opcode.opname[op1], opcode.opname[op2]), count)
/external/python/cpython3/Tools/scripts/
Danalyze_dxp.py89 result = [(op, opcode.opname[op], count)
107 result = [((op1, op2), (opcode.opname[op1], opcode.opname[op2]), count)
/external/tensorflow/tensorflow/core/ops/
Dmath_grad.cc787 static Status MatMulGradHelper(FunctionDef* g, const string& opname, in MatMulGradHelper() argument
803 opname, in MatMulGradHelper()
807 opname, in MatMulGradHelper()
814 Status MatMulGradCommon(const string& opname, const string& attr_adj_x, in MatMulGradCommon() argument
828 return MatMulGradHelper(g, opname, attr_adj_x, attr_adj_y, "dz", false, "y", in MatMulGradCommon()
832 return MatMulGradHelper(g, opname, attr_adj_x, attr_adj_y, "dz", false, "y", in MatMulGradCommon()
836 return MatMulGradHelper(g, opname, attr_adj_x, attr_adj_y, "y", false, "dz", in MatMulGradCommon()
840 return MatMulGradHelper(g, opname, attr_adj_x, attr_adj_y, "y", true, "dz", in MatMulGradCommon()
/external/tensorflow/tensorflow/compiler/xla/
Ddebug_options_parsers.h131 for (const string& opname : opnames) { in parse_xla_reduce_precision_option() local
132 if (opname.length() > 0) { in parse_xla_reduce_precision_option()
133 options->add_opname_substrings_to_suffix(opname); in parse_xla_reduce_precision_option()
/external/u-boot/drivers/dfu/
Ddfu_mmc.c111 const char *fsname, *opname; in mmc_file_op() local
131 opname = "load"; in mmc_file_op()
134 opname = "write"; in mmc_file_op()
137 opname = "size"; in mmc_file_op()
143 sprintf(cmd_buf, "%s%s mmc %d:%d", fsname, opname, in mmc_file_op()
/external/libgsm/add-test/
Dadd_test.c20 char * opname; variable
102 opname = s = strtek(buf, " \t(");
119 return opname;
158 opname, (long)L_op1, (long)L_op2 );
172 opname, (long)L_op1, (long)L_op2 );
/external/tensorflow/tensorflow/lite/toco/tflite/
Dimport.cc115 string opname = operators_table.at(index); in ImportOperators() local
119 if (ops_by_name.count(opname) == 0) { in ImportOperators()
130 unsupported_op->tensorflow_op = opname; in ImportOperators()
138 new_op = ops_by_name.at(opname)->Deserialize(input_op->builtin_options(), in ImportOperators()
/external/python/cpython3/Python/
Dmakeopcodetargets.py35 for opname, op in opcode.opmap.items():
36 targets[op] = "TARGET_%s" % opname
/external/python/cpython2/Doc/tools/extensions/
Dpyspecific.py217 opname, arglist = m.groups()
218 signode += addnodes.desc_name(opname, opname)
223 return opname.strip()

123