Lines Matching refs:opname

49 def factory_method_name(opname, outlined):  argument
51 return "Builder::Make%s" % opname_noprefix(opname)
53 return "Make%s" % opname_noprefix(opname)
58 opname = inst['opname']
60 str = "%s *%s(" % (class_name(opname), factory_method_name(opname, outlined))
82 opname = inst['opname']
84 clazz = class_name(opname)
181 def opname_noprefix(opname): argument
182 return opname[2:]
184 def class_name(opname): argument
185 return "%sInst" % opname_noprefix(opname)
213 def string_for_members(opname, member_list): argument
216 member_str = "\n static constexpr OpCode mOpCode=%s;\n" % opname
231 def string_for_constructor(opname, opcode, members): argument
233 initializer = "Instruction(%s, %d)" % (opname, fixed_word_count(members))
238 str = "%s() : %s {}" % (class_name(opname), initializer)
250 initializer = "Instruction(%s, %d)" % (opname, fixed_word_count(members))
266 str += "\n %s(%s) :\n %s {}" % (class_name(opname), params, initializer)
267 str += "\n virtual ~%s() {}" % class_name(opname)
375 opname = inst['opname']
400 """ % (class_name(opname),
401 string_for_constructor(opname, opcode, members),
403 string_for_deserializer_body(opname, members),
408 string_for_members(opname, members))
423 opname = inst['opname']
425 print " %s = %d," % (opname, opcode)
438 opname = inst['opname']
439 print "HANDLE_INSTRUCTION(%s,%s)" % (opname, class_name(opname))
443 opname = inst['opname']
444 if opname[:6] == "OpType":
445 print "HANDLE_INSTRUCTION(%s, %s)" % (opname, class_name(opname))
449 opname = inst['opname']
450 if opname[:10] == "OpConstant":
451 print "HANDLE_INSTRUCTION(%s, %s)" % (opname, class_name(opname))