Lines Matching refs:op2

288 function helper_name($name, $spec, $op1, $op2) {  argument
298 if (!isset($helpers[$name]["op2"][$op2]) &&
300 $op2 = "ANY";
303 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2];
307 function gen_code($f, $spec, $kind, $export, $code, $op1, $op2, $name) { argument
352 $op2_type[$op2],
354 $op2_free[$op2],
356 $op2_get_zval_ptr[$op2],
358 $op2_get_zval_ptr_ptr[$op2],
360 $op2_get_obj_zval_ptr[$op2],
362 $op2_get_obj_zval_ptr_ptr[$op2],
364 $op2_is_tmp_free[$op2],
366 $op2_free_op[$op2],
368 $op2_free_op_if_var[$op2],
370 $op2_free_op_var_ptr[$op2],
371 ($op1!="ANY"||$op2!="ANY")?"#if 1\n":"#if 0\n",
372 ($op1!="ANY"||$op2!="ANY")?"#if 0\n":"#if 1\n",
373 ($op1!="ANY"||$op2!="ANY")?"0":"1",
374 ($op1!="ANY"||$op2!="ANY")?"1":"0",
375 "\\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2]):""),
376 "goto \\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2]):""),
397 function($matches) use ($spec, $prefix, $op1, $op2) {
401 …return "return " . $matches[1] . ($spec?"_SPEC":"") . $prefix[$op1] . $prefix[$op2] . "_HANDLER(ZE…
403 …return "return " . helper_name($matches[1], $spec, $op1, $op2) . "(" . $matches[2]. ", ZEND_OPCODE…
405 …return "return " . helper_name($matches[1], $spec, $op1, $op2) . "(ZEND_OPCODE_HANDLER_ARGS_PASSTH…
418 function($matches) use ($spec, $prefix, $op1, $op2) {
422 return "goto " . $matches[1] . ($spec?"_SPEC":"") . $prefix[$op1] . $prefix[$op2] . "_LABEL";
424 …$matches[2] . " = " . $matches[3] . "; goto " . helper_name($matches[1], $spec, $op1, $op2) . ";";
426 return "goto " . helper_name($matches[1], $spec, $op1, $op2);
439 function($matches) use ($spec, $prefix, $op1, $op2) {
443 … return "goto " . $matches[1] . ($spec?"_SPEC":"") . $prefix[$op1] . $prefix[$op2] . "_HANDLER";
445 …$matches[2] . " = " . $matches[3] . "; goto " . helper_name($matches[1], $spec, $op1, $op2) . ";";
447 return "goto " . helper_name($matches[1], $spec, $op1, $op2);
496 function gen_handler($f, $spec, $kind, $name, $op1, $op2, $use, $code, $lineno) { argument
506 …out($f,"static int ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_HANDLER…
510 …opnames[$name]*25+($typecode[$op1]*5)+$typecode[$op2])).": /*".$name."_SPEC".$prefix[$op1].$prefix…
516 out($f," ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_LABEL:\n");
522 …"_SPEC":"").$prefix[$op1].$prefix[$op2]."_HANDLER: ZEND_VM_GUARD(".$name.($spec?"_SPEC":"").$prefi…
527 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name);
531 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno) { argument
543 …out($f, "static int ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(ZEND_OP…
546 …out($f, "static int ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(".$para…
550 out($f, $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].":\n");
553 out($f, $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].":\n");
558 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name);
580 foreach($op2t as $op2) {
581 if ($op2 != "ANY") {
611 foreach($op2t as $op2) {
612 if ($op2 != "ANY") {
613 if (!isset($dsc["op2"][$op2])) {
615 $op2 = "ANY";
619 isset($dsc["op2"][$op2])) {
623 out($f,$prolog.$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n");
626 … out($f,$prolog."(opcode_handler_t)".((string)($num*25+$typecode[$op1]*5+$typecode[$op2])).",\n");
629 …out($f,$prolog."(opcode_handler_t)&&".$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n"…
729 foreach($op2t as $op2) {
736 isset($opcodes[$num]["op2"][$op2])) {
738 …gen_handler($f, 1, $kind, $opcodes[$num]["op"], $op1, $op2, isset($opcodes[$num]["use"]), $opcodes…
744 isset($helpers[$num]["op2"][$op2])) {
746 …gen_helper($f, 1, $kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $linen…
1073 $op2 = array_flip(explode("|",$m[4]));
1087 $opcodes[$code] = array("op"=>$op,"op1"=>$op1,"op2"=>$op2,"code"=>"");
1102 $op2 = array_flip(explode("|",$m[3]));
1106 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>null,"code"=>"");
1119 $op2 = array_flip(explode("|",$m[3]));
1128 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>$param,"code"=>"");