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]):""),
399 …"return \\1".($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_HANDLER(ZEND_OPCODE_HANDLER_ARGS_PAS…
400 "'return '.helper_name('\\1',$spec,'$op1','$op2').'(ZEND_OPCODE_HANDLER_ARGS_PASSTHRU)'",
401 "'return '.helper_name('\\1',$spec,'$op1','$op2').'(\\2, ZEND_OPCODE_HANDLER_ARGS_PASSTHRU);'",
415 "goto \\1".($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_LABEL",
416 "'goto '.helper_name('\\1',$spec,'$op1','$op2')",
417 "'\\2 = \\3; goto '.helper_name('\\1',$spec,'$op1','$op2').';'",
431 "goto \\1".($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_HANDLER",
432 "'goto '.helper_name('\\1',$spec,'$op1','$op2')",
433 "'\\2 = \\3; goto '.helper_name('\\1',$spec,'$op1','$op2').';'",
481 function gen_handler($f, $spec, $kind, $name, $op1, $op2, $use, $code, $lineno) { argument
491 …out($f,"static int ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_HANDLER…
495 …opnames[$name]*25+($typecode[$op1]*5)+$typecode[$op2])).": /*".$name."_SPEC".$prefix[$op1].$prefix…
501 out($f," ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_LABEL:\n");
507 …"_SPEC":"").$prefix[$op1].$prefix[$op2]."_HANDLER: ZEND_VM_GUARD(".$name.($spec?"_SPEC":"").$prefi…
512 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name);
516 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno) { argument
528 …out($f, "static int ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(ZEND_OP…
531 …out($f, "static int ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(".$para…
535 out($f, $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].":\n");
538 out($f, $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].":\n");
543 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name);
565 foreach($op2t as $op2) {
566 if ($op2 != "ANY") {
596 foreach($op2t as $op2) {
597 if ($op2 != "ANY") {
598 if (!isset($dsc["op2"][$op2])) {
600 $op2 = "ANY";
604 isset($dsc["op2"][$op2])) {
608 out($f,$prolog.$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n");
611 … out($f,$prolog."(opcode_handler_t)".((string)($num*25+$typecode[$op1]*5+$typecode[$op2])).",\n");
614 …out($f,$prolog."(opcode_handler_t)&&".$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n"…
713 foreach($op2t as $op2) {
720 isset($opcodes[$num]["op2"][$op2])) {
722 …gen_handler($f, 1, $kind, $opcodes[$num]["op"], $op1, $op2, isset($opcodes[$num]["use"]), $opcodes…
728 isset($helpers[$num]["op2"][$op2])) {
730 …gen_helper($f, 1, $kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $linen…
1094 $op2 = array_flip(explode("|",$m[4]));
1108 $opcodes[$code] = array("op"=>$op,"op1"=>$op1,"op2"=>$op2,"code"=>"");
1123 $op2 = array_flip(explode("|",$m[3]));
1127 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>null,"code"=>"");
1140 $op2 = array_flip(explode("|",$m[3]));
1149 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>$param,"code"=>"");