Lines Matching refs:op2

625 function helper_name($name, $spec, $op1, $op2) {  argument
635 if (!isset($helpers[$name]["op2"][$op2]) &&
637 $op2 = "ANY";
640 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2];
643 function opcode_name($name, $spec, $op1, $op2) { argument
654 if (!isset($opcode["op2"][$op2]) &&
656 $op2 = "ANY";
659 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2];
676 function gen_code($f, $spec, $kind, $export, $code, $op1, $op2, $name, $extra_spec=null) { argument
752 $op2_type[$op2],
754 $op2_free[$op2],
756 $op2_get_zval_ptr[$op2],
758 $op2_get_zval_ptr_deref[$op2],
760 $op2_get_zval_ptr_undef[$op2],
762 $op2_get_zval_ptr_ptr[$op2],
764 $op2_get_zval_ptr_ptr_undef[$op2],
766 $op2_get_obj_zval_ptr[$op2],
768 $op2_get_obj_zval_ptr_undef[$op2],
770 $op2_get_obj_zval_ptr_deref[$op2],
772 $op2_get_obj_zval_ptr_ptr[$op2],
774 $op2_get_obj_zval_ptr_ptr_undef[$op2],
776 $op2_free_op[$op2],
778 $op2_free_op_if_var[$op2],
780 $op2_free_op_var_ptr[$op2],
782 $op2_free_unfetched[$op2],
783 ($op1!="ANY"||$op2!="ANY")?"#\\1if 1\n":"#\\1if 0\n",
784 ($op1!="ANY"||$op2!="ANY")?"#\\1if 0\n":"#\\1if 1\n",
785 ($op1!="ANY"||$op2!="ANY")?"0":"1",
786 ($op1!="ANY"||$op2!="ANY")?"1":"0",
787 …"\\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_name(…
788 …"goto \\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_…
830 function($matches) use ($spec, $prefix, $op1, $op2) {
834 …return "ZEND_VM_TAIL_CALL(" . opcode_name($matches[1], $spec, $op1, $op2) . "_HANDLER(ZEND_OPCODE_…
840 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2) . "(" . $args. " ZEND_OP…
842 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2) . "(ZEND_OPCODE_HANDLER_…
854 function($matches) use ($spec, $prefix, $op1, $op2) {
858 return "goto " . opcode_name($matches[1], $spec, $op1, $op2) . "_LABEL";
864 return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2);
866 return "goto " . helper_name($matches[1], $spec, $op1, $op2);
878 function($matches) use ($spec, $prefix, $op1, $op2) {
882 return "goto " . opcode_name($matches[1], $spec, $op1, $op2) . "_HANDLER";
888 return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2);
890 return "goto " . helper_name($matches[1], $spec, $op1, $op2);
945 function gen_handler($f, $spec, $kind, $name, $op1, $op2, $use, $code, $lineno, $extra_spec = null,… argument
950 $op1 == "CONST" && $op2 == "CONST") {
957 $commutative_order[$op1] > $commutative_order[$op2]) {
964 (($op2 == "UNUSED" && $extra_spec["DIM_OBJ"] != 1) ||
975 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
1001 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name, $extra_spec);
1005 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno, $inline) { argument
1024 …ANDLER_RET$zend_fastcall ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(ZEND_OPCODE_HAND…
1027 …ANDLER_RET$zend_fastcall ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(".$param." ZEND_…
1031 out($f, $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].":\n");
1034 out($f, $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].":\n");
1039 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name);
1120 foreach($op_types as $op2) {
1121 if ($op2 != "ANY") {
1122 if (!isset($dsc["op2"][$op2])) {
1123 if ($op2 == "TMP" || $op2 == "VAR") {
1125 $op2 = "TMPVAR";
1127 $op2 = "TMPVARCV";
1129 $op2 = "ANY";
1131 } else if ($op2 == "CV" && isset($dsc["op2"]["TMPVARCV"])) {
1132 $op2 = "TMPVARCV";
1135 $op2 = "ANY";
1138 $do($op1, $op2);
1144 return function($op1, $op2, $extra_spec = array()) use ($do, $dsc, $op_types) {
1165 $do($op1, $op2, array("OP_DATA" => $op_data) + $extra_spec);
1171 return function($op1, $op2, $extra_spec = array()) use ($do, $spec, $dsc) {
1173 $do($op1, $op2, array($spec => $val) + $extra_spec);
1177 …$generate = function ($op1, $op2, $extra_spec = array()) use ($f, $kind, $dsc, $prefix, $prolog, $…
1183 isset($dsc["op2"][$op2]) &&
1187 $op1 == "CONST" && $op2 == "CONST") {
1193 $commutative_order[$op1] > $commutative_order[$op2]) {
1199 (($op2 == "UNUSED" && $extra_spec["DIM_OBJ"] != 1) ||
1208 $spec_name = $dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_name($extra_spec);
1452 foreach($op2t as $op2) {
1460 isset($opcodes[$num]["op2"][$op2])) {
1462 …gen_handler($f, 1, $kind, $opcodes[$num]["op"], $op1, $op2, isset($opcodes[$num]["use"]), $opcodes…
1469 isset($helpers[$num]["op2"][$op2])) {
1471 …gen_helper($f, 1, $kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $linen…
1983 $op2 = parse_operand_spec($def, $lineno, $m[4], $flags2);
2001 $opcodes[$code] = array("op"=>$op,"op1"=>$op1,"op2"=>$op2,"code"=>"","flags"=>$flags);
2032 $op2 = parse_operand_spec($def, $lineno, $m[5], $flags2);
2043 $opcodes[$code] = array("op"=>$op,"op1"=>$op1,"op2"=>$op2,"code"=>"","flags"=>$flags);
2068 $op2 = parse_operand_spec($def, $lineno, $m[4], $flags2);
2082 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>$param,"code"=>"","inline"=>$inline);