Lines Matching refs:op1

288 function helper_name($name, $spec, $op1, $op2) {  argument
294 if (!isset($helpers[$name]["op1"][$op1]) &&
296 $op1 = "ANY";
303 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2];
307 function gen_code($f, $spec, $kind, $export, $code, $op1, $op2, $name) { argument
351 $op1_type[$op1],
353 $op1_free[$op1],
355 $op1_get_zval_ptr[$op1],
357 $op1_get_zval_ptr_ptr[$op1],
359 $op1_get_obj_zval_ptr[$op1],
361 $op1_get_obj_zval_ptr_ptr[$op1],
363 $op1_is_tmp_free[$op1],
365 $op1_free_op[$op1],
367 $op1_free_op_if_var[$op1],
369 $op1_free_op_var_ptr[$op1],
371 ($op1!="ANY"||$op2!="ANY")?"#if 1\n":"#if 0\n",
372 ($op1!="ANY"||$op2!="ANY")?"#if 0\n":"#if 1\n",
373 ($op1!="ANY"||$op2!="ANY")?"0":"1",
374 ($op1!="ANY"||$op2!="ANY")?"1":"0",
375 "\\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2]):""),
376 "goto \\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2]):""),
399 …"return \\1".($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_HANDLER(ZEND_OPCODE_HANDLER_ARGS_PAS…
400 "'return '.helper_name('\\1',$spec,'$op1','$op2').'(ZEND_OPCODE_HANDLER_ARGS_PASSTHRU)'",
401 "'return '.helper_name('\\1',$spec,'$op1','$op2').'(\\2, ZEND_OPCODE_HANDLER_ARGS_PASSTHRU);'",
415 "goto \\1".($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_LABEL",
416 "'goto '.helper_name('\\1',$spec,'$op1','$op2')",
417 "'\\2 = \\3; goto '.helper_name('\\1',$spec,'$op1','$op2').';'",
431 "goto \\1".($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_HANDLER",
432 "'goto '.helper_name('\\1',$spec,'$op1','$op2')",
433 "'\\2 = \\3; goto '.helper_name('\\1',$spec,'$op1','$op2').';'",
481 function gen_handler($f, $spec, $kind, $name, $op1, $op2, $use, $code, $lineno) { argument
491 …out($f,"static int ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_HANDLER…
495 …ase ".((string)($opnames[$name]*25+($typecode[$op1]*5)+$typecode[$op2])).": /*".$name."_SPEC".$pre…
501 out($f," ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_LABEL:\n");
507 out($f,$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_HANDLER:\n");
512 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name);
516 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno) { argument
528 …out($f, "static int ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(ZEND_OP…
531 …out($f, "static int ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(".$para…
535 out($f, $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].":\n");
538 out($f, $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].":\n");
543 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name);
561 foreach($op1t as $op1) {
562 if ($op1 != "ANY") {
588 foreach($op1t as $op1) {
589 if ($op1 != "ANY") {
590 if (!isset($dsc["op1"][$op1])) {
592 $op1 = "ANY";
603 if (isset($dsc["op1"][$op1]) &&
608 out($f,$prolog.$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n");
611 … out($f,$prolog."(opcode_handler_t)".((string)($num*25+$typecode[$op1]*5+$typecode[$op2])).",\n");
614 …out($f,$prolog."(opcode_handler_t)&&".$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n"…
710 foreach($op1t as $op1) {
719 if (isset($opcodes[$num]["op1"][$op1]) &&
722 …gen_handler($f, 1, $kind, $opcodes[$num]["op"], $op1, $op2, isset($opcodes[$num]["use"]), $opcodes…
727 if (isset($helpers[$num]["op1"][$op1]) &&
730 …gen_helper($f, 1, $kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $linen…
1009 $op1 = array_flip(explode("|",$m[3]));
1024 $opcodes[$code] = array("op"=>$op,"op1"=>$op1,"op2"=>$op2,"code"=>"");
1038 $op1 = array_flip(explode("|",$m[2]));
1043 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>null,"code"=>"");
1055 $op1 = array_flip(explode("|",$m[2]));
1065 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>$param,"code"=>"");