Lines Matching refs:op2

446 function helper_name($name, $spec, $op1, $op2) {  argument
456 if (!isset($helpers[$name]["op2"][$op2]) &&
458 $op2 = "ANY";
461 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2];
465 function gen_code($f, $spec, $kind, $export, $code, $op1, $op2, $name) { argument
528 $op2_type[$op2],
530 $op2_free[$op2],
532 $op2_get_zval_ptr[$op2],
534 $op2_get_zval_ptr_deref[$op2],
536 $op2_get_zval_ptr_undef[$op2],
538 $op2_get_zval_ptr_ptr[$op2],
540 $op2_get_zval_ptr_ptr_undef[$op2],
542 $op2_get_obj_zval_ptr[$op2],
544 $op2_get_obj_zval_ptr_undef[$op2],
546 $op2_get_obj_zval_ptr_deref[$op2],
548 $op2_get_obj_zval_ptr_ptr[$op2],
550 $op2_get_obj_zval_ptr_ptr_undef[$op2],
552 $op2_free_op[$op2],
554 $op2_free_op_if_var[$op2],
556 $op2_free_op_var_ptr[$op2],
558 $op2_free_unfetched[$op2],
559 ($op1!="ANY"||$op2!="ANY")?"#\\1if 1\n":"#\\1if 0\n",
560 ($op1!="ANY"||$op2!="ANY")?"#\\1if 0\n":"#\\1if 1\n",
561 ($op1!="ANY"||$op2!="ANY")?"0":"1",
562 ($op1!="ANY"||$op2!="ANY")?"1":"0",
563 "\\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2]):""),
564 "goto \\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2]):""),
585 function($matches) use ($spec, $prefix, $op1, $op2) {
589 …return "ZEND_VM_TAIL_CALL(" . $matches[1] . ($spec?"_SPEC":"") . $prefix[$op1] . $prefix[$op2] . "…
591 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2) . "(" . $matches[2]. " Z…
593 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2) . "(ZEND_OPCODE_HANDLER_…
606 function($matches) use ($spec, $prefix, $op1, $op2) {
610 return "goto " . $matches[1] . ($spec?"_SPEC":"") . $prefix[$op1] . $prefix[$op2] . "_LABEL";
612 …$matches[2] . " = " . $matches[3] . "; goto " . helper_name($matches[1], $spec, $op1, $op2) . ";";
614 return "goto " . helper_name($matches[1], $spec, $op1, $op2);
627 function($matches) use ($spec, $prefix, $op1, $op2) {
631 … return "goto " . $matches[1] . ($spec?"_SPEC":"") . $prefix[$op1] . $prefix[$op2] . "_HANDLER";
633 …$matches[2] . " = " . $matches[3] . "; goto " . helper_name($matches[1], $spec, $op1, $op2) . ";";
635 return "goto " . helper_name($matches[1], $spec, $op1, $op2);
684 function gen_handler($f, $spec, $kind, $name, $op1, $op2, $use, $code, $lineno) { argument
694 …ANDLER_RET ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_HANDLER(ZEND_OPC…
698 …p1=="TMPVAR"?"TMP":$op1]*5)+$typecode[$op2=="TMPVAR"?"TMP":$op2])).": /*".$name."_SPEC".$prefix[$o…
704 out($f," ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_LABEL:\n");
710 …"_SPEC":"").$prefix[$op1].$prefix[$op2]."_HANDLER: ZEND_VM_GUARD(".$name.($spec?"_SPEC":"").$prefi…
715 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name);
719 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno) { argument
731 …ANDLER_RET ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(ZEND_OPCODE_HAND…
734 …ANDLER_RET ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(".$param." ZEND_…
738 out($f, $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].":\n");
741 out($f, $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].":\n");
746 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name);
768 foreach($op2t as $op2) {
769 if ($op2 != "ANY") {
803 foreach($op2t as $op2) {
804 if ($op2 != "ANY") {
805 if (!isset($dsc["op2"][$op2])) {
806 if (($op2 == "TMP" || $op2 == "VAR") && isset($dsc["op2"]["TMPVAR"])) {
807 $op2 = "TMPVAR";
810 $op2 = "ANY";
815 isset($dsc["op2"][$op2])) {
819 out($f,$prolog.$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n");
822 …ring)($num*25+$typecode[$op1=="TMPVAR"?"TMP":$op1]*5+$typecode[$op2=="TMPVAR"?"TMP":$op2])).",\n");
825 out($f,$prolog."(void*)&&".$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n");
943 foreach($op2t as $op2) {
950 isset($opcodes[$num]["op2"][$op2])) {
952 …gen_handler($f, 1, $kind, $opcodes[$num]["op"], $op1, $op2, isset($opcodes[$num]["use"]), $opcodes…
958 isset($helpers[$num]["op2"][$op2])) {
960 …gen_helper($f, 1, $kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $linen…
1354 $op2 = array_flip(explode("|",$m[4]));
1368 $opcodes[$code] = array("op"=>$op,"op1"=>$op1,"op2"=>$op2,"code"=>"");
1383 $op2 = array_flip(explode("|",$m[3]));
1387 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>null,"code"=>"");
1400 $op2 = array_flip(explode("|",$m[3]));
1409 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>$param,"code"=>"");