Lines Matching refs:op2

627 function helper_name($name, $spec, $op1, $op2, $extra_spec) {  argument
639 if (!isset($helpers[$name]["op2"][$op2]) &&
641 $op2 = "ANY";
648 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].$extra;
651 function opcode_name($name, $spec, $op1, $op2) { argument
662 if (!isset($opcode["op2"][$op2]) &&
664 $op2 = "ANY";
667 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2];
684 function gen_code($f, $spec, $kind, $export, $code, $op1, $op2, $name, $extra_spec=null) { argument
760 $op2_type[$op2],
762 $op2_free[$op2],
764 $op2_get_zval_ptr[$op2],
766 $op2_get_zval_ptr_deref[$op2],
768 $op2_get_zval_ptr_undef[$op2],
770 $op2_get_zval_ptr_ptr[$op2],
772 $op2_get_zval_ptr_ptr_undef[$op2],
774 $op2_get_obj_zval_ptr[$op2],
776 $op2_get_obj_zval_ptr_undef[$op2],
778 $op2_get_obj_zval_ptr_deref[$op2],
780 $op2_get_obj_zval_ptr_ptr[$op2],
782 $op2_get_obj_zval_ptr_ptr_undef[$op2],
784 $op2_free_op[$op2],
786 $op2_free_op_if_var[$op2],
788 $op2_free_op_var_ptr[$op2],
790 $op2_free_unfetched[$op2],
791 ($op1!="ANY"||$op2!="ANY")?"#\\1if 1\n":"#\\1if 0\n",
792 ($op1!="ANY"||$op2!="ANY")?"#\\1if 0\n":"#\\1if 1\n",
793 ($op1!="ANY"||$op2!="ANY")?"0":"1",
794 ($op1!="ANY"||$op2!="ANY")?"1":"0",
795 …"\\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_name(…
796 …"goto \\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_…
838 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
842 …return "ZEND_VM_TAIL_CALL(" . opcode_name($matches[1], $spec, $op1, $op2) . "_HANDLER(ZEND_OPCODE_…
848 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(" . $ar…
850 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(ZEND_OP…
862 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
866 return "goto " . opcode_name($matches[1], $spec, $op1, $op2) . "_LABEL";
872 return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
874 return "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
886 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
890 return "goto " . opcode_name($matches[1], $spec, $op1, $op2) . "_LABEL";
896 return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
898 return "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
952 function skip_extra_spec_function($op1, $op2, $extra_spec) { argument
956 $op1 == "CONST" && $op2 == "CONST") {
962 $commutative_order[$op1] > $commutative_order[$op2]) {
968 (($op2 == "UNUSED" && $extra_spec["DIM_OBJ"] != 1) ||
978 function gen_handler($f, $spec, $kind, $name, $op1, $op2, $use, $code, $lineno, $opcode, $extra_spe… argument
981 if ($spec && skip_extra_spec_function($op1, $op2, $extra_spec)) {
990 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
1025 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name, $extra_spec);
1029 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno, $inline, $extra_sp… argument
1036 if ($spec && skip_extra_spec_function($op1, $op2, $extra_spec)) {
1044 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
1073 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name, $extra_spec);
1154 foreach($op_types as $op2) {
1155 if ($op2 != "ANY") {
1156 if (!isset($dsc["op2"][$op2])) {
1157 if ($op2 == "TMP" || $op2 == "VAR") {
1159 $op2 = "TMPVAR";
1161 $op2 = "TMPVARCV";
1163 $op2 = "ANY";
1165 } else if ($op2 == "CV" && isset($dsc["op2"]["TMPVARCV"])) {
1166 $op2 = "TMPVARCV";
1169 $op2 = "ANY";
1172 $do($op1, $op2);
1178 return function($op1, $op2, $extra_spec = array()) use ($do, $dsc, $op_types) {
1199 $do($op1, $op2, array("OP_DATA" => $op_data) + $extra_spec);
1205 return function($op1, $op2, $extra_spec = array()) use ($do, $spec, $dsc) {
1207 $do($op1, $op2, array($spec => $val) + $extra_spec);
1211 …$generate = function ($op1, $op2, $extra_spec = array()) use ($f, $kind, $dsc, $prefix, $prolog, $…
1217 isset($dsc["op2"][$op2]) &&
1219 if (skip_extra_spec_function($op1, $op2, $extra_spec)) {
1226 $spec_name = $dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_name($extra_spec);
1470 foreach($op2t as $op2) {
1478 isset($opcodes[$num]["op2"][$op2])) {
1480 …gen_handler($f, 1, $kind, $opcodes[$num]["op"], $op1, $op2, isset($opcodes[$num]["use"]), $opcodes…
1488 isset($helpers[$num]["op2"][$op2])) {
1490 …gen_helper($f, 1, $kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $linen…
2081 $op2 = parse_operand_spec($def, $lineno, $m[5], $flags2);
2099 … $opcodes[$code] = array("op"=>$op,"op1"=>$op1,"op2"=>$op2,"code"=>"","flags"=>$flags,"hot"=>$hot);
2132 $op2 = parse_operand_spec($def, $lineno, $m[6], $flags2);
2143 … $opcodes[$code] = array("op"=>$op,"op1"=>$op1,"op2"=>$op2,"code"=>"","flags"=>$flags,"hot"=>$hot);
2168 $op2 = parse_operand_spec($def, $lineno, $m[4], $flags2);
2182 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>$param,"code"=>"","inline"=>$inline);