Lines Matching refs:op1

625 function helper_name($name, $spec, $op1, $op2) {  argument
631 if (!isset($helpers[$name]["op1"][$op1]) &&
633 $op1 = "ANY";
640 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2];
643 function opcode_name($name, $spec, $op1, $op2) { argument
650 if (!isset($opcode["op1"][$op1]) &&
652 $op1 = "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
751 $op1_type[$op1],
753 $op1_free[$op1],
755 $op1_get_zval_ptr[$op1],
757 $op1_get_zval_ptr_deref[$op1],
759 $op1_get_zval_ptr_undef[$op1],
761 $op1_get_zval_ptr_ptr[$op1],
763 $op1_get_zval_ptr_ptr_undef[$op1],
765 $op1_get_obj_zval_ptr[$op1],
767 $op1_get_obj_zval_ptr_undef[$op1],
769 $op1_get_obj_zval_ptr_deref[$op1],
771 $op1_get_obj_zval_ptr_ptr[$op1],
773 $op1_get_obj_zval_ptr_ptr_undef[$op1],
775 $op1_free_op[$op1],
777 $op1_free_op_if_var[$op1],
779 $op1_free_op_var_ptr[$op1],
781 $op1_free_unfetched[$op1],
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]) {
965 ($op1 == "UNUSED" && $extra_spec["DIM_OBJ"] != 2))) {
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 … ZEND_OPCODE_HANDLER_RET$zend_fastcall ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(ZE…
1027 … ZEND_OPCODE_HANDLER_RET$zend_fastcall ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(".…
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);
1094 foreach($op_types as $op1) {
1095 if ($op1 != "ANY") {
1096 if (!isset($dsc["op1"][$op1])) {
1097 if ($op1 == "TMP" || $op1 == "VAR") {
1099 $op1 = "TMPVAR";
1101 $op1 = "TMPVARCV";
1103 $op1 = "ANY";
1105 } else if ($op1 == "CV" && isset($dsc["op1"]["TMPVARCV"])) {
1106 $op1 = "TMPVARCV";
1109 $op1 = "ANY";
1112 $do($op1, "ANY");
1118 return function($op1) use ($do, $dsc, $op_types) {
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, $…
1182 if (isset($dsc["op1"][$op1]) &&
1187 $op1 == "CONST" && $op2 == "CONST") {
1193 $commutative_order[$op1] > $commutative_order[$op2]) {
1200 ($op1 == "UNUSED" && $extra_spec["DIM_OBJ"] != 2))) {
1208 $spec_name = $dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_name($extra_spec);
1449 foreach($op1t as $op1) {
1459 if (isset($opcodes[$num]["op1"][$op1]) &&
1462 …gen_handler($f, 1, $kind, $opcodes[$num]["op"], $op1, $op2, isset($opcodes[$num]["use"]), $opcodes…
1468 if (isset($helpers[$num]["op1"][$op1]) &&
1471 …gen_helper($f, 1, $kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $linen…
1982 $op1 = parse_operand_spec($def, $lineno, $m[3], $flags1);
2001 $opcodes[$code] = array("op"=>$op,"op1"=>$op1,"op2"=>$op2,"code"=>"","flags"=>$flags);
2031 $op1 = parse_operand_spec($def, $lineno, $m[4], $flags1);
2043 $opcodes[$code] = array("op"=>$op,"op1"=>$op1,"op2"=>$op2,"code"=>"","flags"=>$flags);
2067 $op1 = parse_operand_spec($def, $lineno, $m[3], $flags1);
2082 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>$param,"code"=>"","inline"=>$inline);