Lines Matching refs:op1

446 function helper_name($name, $spec, $op1, $op2) {  argument
452 if (!isset($helpers[$name]["op1"][$op1]) &&
454 $op1 = "ANY";
461 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2];
465 function gen_code($f, $spec, $kind, $export, $code, $op1, $op2, $name) { argument
527 $op1_type[$op1],
529 $op1_free[$op1],
531 $op1_get_zval_ptr[$op1],
533 $op1_get_zval_ptr_deref[$op1],
535 $op1_get_zval_ptr_undef[$op1],
537 $op1_get_zval_ptr_ptr[$op1],
539 $op1_get_zval_ptr_ptr_undef[$op1],
541 $op1_get_obj_zval_ptr[$op1],
543 $op1_get_obj_zval_ptr_undef[$op1],
545 $op1_get_obj_zval_ptr_deref[$op1],
547 $op1_get_obj_zval_ptr_ptr[$op1],
549 $op1_get_obj_zval_ptr_ptr_undef[$op1],
551 $op1_free_op[$op1],
553 $op1_free_op_if_var[$op1],
555 $op1_free_op_var_ptr[$op1],
557 $op1_free_unfetched[$op1],
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 …return $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 …return $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 …out($f,"static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$pre…
698 …mes[$name]*25+($typecode[$op1=="TMPVAR"?"TMP":$op1]*5)+$typecode[$op2=="TMPVAR"?"TMP":$op2])).": /…
704 out($f," ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_LABEL:\n");
710 …,$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_HANDLER: ZEND_VM_GUARD(".$name.($spec?"_SP…
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 …out($f, "static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$pr…
734 …out($f, "static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$pr…
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);
764 foreach($op1t as $op1) {
765 if ($op1 != "ANY") {
791 foreach($op1t as $op1) {
792 if ($op1 != "ANY") {
793 if (!isset($dsc["op1"][$op1])) {
794 if (($op1 == "TMP" || $op1 == "VAR") && isset($dsc["op1"]["TMPVAR"])) {
795 $op1 = "TMPVAR";
798 $op1 = "ANY";
814 if (isset($dsc["op1"][$op1]) &&
819 out($f,$prolog.$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n");
822 …out($f,$prolog."(void*)(uintptr_t)".((string)($num*25+$typecode[$op1=="TMPVAR"?"TMP":$op1]*5+$type…
825 out($f,$prolog."(void*)&&".$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n");
940 foreach($op1t as $op1) {
949 if (isset($opcodes[$num]["op1"][$op1]) &&
952 …gen_handler($f, 1, $kind, $opcodes[$num]["op"], $op1, $op2, isset($opcodes[$num]["use"]), $opcodes…
957 if (isset($helpers[$num]["op1"][$op1]) &&
960 …gen_helper($f, 1, $kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $linen…
1353 $op1 = array_flip(explode("|",$m[3]));
1368 $opcodes[$code] = array("op"=>$op,"op1"=>$op1,"op2"=>$op2,"code"=>"");
1382 $op1 = array_flip(explode("|",$m[2]));
1387 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>null,"code"=>"");
1399 $op1 = array_flip(explode("|",$m[2]));
1409 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>$param,"code"=>"");