Lines Matching refs:op1

300 function helper_name($name, $spec, $op1, $op2) {  argument
306 if (!isset($helpers[$name]["op1"][$op1]) &&
308 $op1 = "ANY";
315 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2];
319 function gen_code($f, $spec, $kind, $export, $code, $op1, $op2, $name) { argument
372 $op1_type[$op1],
374 $op1_free[$op1],
376 $op1_get_zval_ptr[$op1],
378 $op1_get_zval_ptr_ptr[$op1],
380 $op1_get_obj_zval_ptr[$op1],
382 $op1_get_obj_zval_ptr_ptr[$op1],
384 $op1_is_tmp_free[$op1],
386 $op1_free_op[$op1],
388 $op1_free_op_if_var[$op1],
390 $op1_free_op_var_ptr[$op1],
392 $op1_get_zval_ptr_ptr_fast[$op1],
394 $op1_get_obj_zval_ptr_ptr_fast[$op1],
396 $op1_free_op_var_ptr_fast[$op1],
398 ($op1!="ANY"||$op2!="ANY")?"#if 1\n":"#if 0\n",
399 ($op1!="ANY"||$op2!="ANY")?"#if 0\n":"#if 1\n",
400 ($op1!="ANY"||$op2!="ANY")?"0":"1",
401 ($op1!="ANY"||$op2!="ANY")?"1":"0",
402 "\\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2]):""),
403 "goto \\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2]):""),
424 function($matches) use ($spec, $prefix, $op1, $op2) {
428 …return "return " . $matches[1] . ($spec?"_SPEC":"") . $prefix[$op1] . $prefix[$op2] . "_HANDLER(ZE…
430 …return "return " . helper_name($matches[1], $spec, $op1, $op2) . "(" . $matches[2]. ", ZEND_OPCODE…
432 …return "return " . helper_name($matches[1], $spec, $op1, $op2) . "(ZEND_OPCODE_HANDLER_ARGS_PASSTH…
445 function($matches) use ($spec, $prefix, $op1, $op2) {
449 return "goto " . $matches[1] . ($spec?"_SPEC":"") . $prefix[$op1] . $prefix[$op2] . "_LABEL";
451 …return $matches[2] . " = " . $matches[3] . "; goto " . helper_name($matches[1], $spec, $op1, $op2…
453 return "goto " . helper_name($matches[1], $spec, $op1, $op2);
466 function($matches) use ($spec, $prefix, $op1, $op2) {
470 … return "goto " . $matches[1] . ($spec?"_SPEC":"") . $prefix[$op1] . $prefix[$op2] . "_HANDLER";
472 …return $matches[2] . " = " . $matches[3] . "; goto " . helper_name($matches[1], $spec, $op1, $op2…
474 return "goto " . helper_name($matches[1], $spec, $op1, $op2);
523 function gen_handler($f, $spec, $kind, $name, $op1, $op2, $use, $code, $lineno) { argument
533 …out($f,"static int ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_HANDLER…
537 …ase ".((string)($opnames[$name]*25+($typecode[$op1]*5)+$typecode[$op2])).": /*".$name."_SPEC".$pre…
543 out($f," ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_LABEL:\n");
549 …,$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_HANDLER: ZEND_VM_GUARD(".$name.($spec?"_SP…
554 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name);
558 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno) { argument
570 …out($f, "static int ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(ZEND_OP…
573 …out($f, "static int ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(".$para…
577 out($f, $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].":\n");
580 out($f, $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].":\n");
585 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name);
603 foreach($op1t as $op1) {
604 if ($op1 != "ANY") {
630 foreach($op1t as $op1) {
631 if ($op1 != "ANY") {
632 if (!isset($dsc["op1"][$op1])) {
634 $op1 = "ANY";
645 if (isset($dsc["op1"][$op1]) &&
650 out($f,$prolog.$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n");
653 … out($f,$prolog."(opcode_handler_t)".((string)($num*25+$typecode[$op1]*5+$typecode[$op2])).",\n");
656 …out($f,$prolog."(opcode_handler_t)&&".$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n"…
753 foreach($op1t as $op1) {
762 if (isset($opcodes[$num]["op1"][$op1]) &&
765 …gen_handler($f, 1, $kind, $opcodes[$num]["op"], $op1, $op2, isset($opcodes[$num]["use"]), $opcodes…
770 if (isset($helpers[$num]["op1"][$op1]) &&
773 …gen_helper($f, 1, $kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $linen…
1099 $op1 = array_flip(explode("|",$m[3]));
1114 $opcodes[$code] = array("op"=>$op,"op1"=>$op1,"op2"=>$op2,"code"=>"");
1128 $op1 = array_flip(explode("|",$m[2]));
1133 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>null,"code"=>"");
1145 $op1 = array_flip(explode("|",$m[2]));
1155 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>$param,"code"=>"");