Lines Matching refs:spec
627 function helper_name($name, $spec, $op1, $op2, $extra_spec) { argument
668 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].$extra;
671 function opcode_name($name, $spec, $op1, $op2) { argument
690 } else if ($spec) {
707 } else if ($spec) {
713 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2];
730 function gen_code($f, $spec, $kind, $export, $code, $op1, $op2, $name, $extra_spec=null) { argument
843 …"\\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_name(…
844 …"goto \\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_…
892 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
901 return "goto " . opcode_name($name, $spec, $op1, $op2) . "_LABEL";
903 …return "ZEND_VM_TAIL_CALL(" . opcode_name($name, $spec, $op1, $op2) . "_HANDLER(ZEND_OPCODE_HANDLE…
910 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(" . $ar…
913 return "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "_LABEL";
915 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(ZEND_OP…
927 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
931 …return "ZEND_VM_TAIL_CALL(" . opcode_name($matches[1], $spec, $op1, $op2) . "_HANDLER(ZEND_OPCODE_…
937 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(" . $ar…
939 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(ZEND_OP…
951 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
955 return "goto " . opcode_name($matches[1], $spec, $op1, $op2) . "_LABEL";
961 return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
963 return "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
975 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
979 return "goto " . opcode_name($matches[1], $spec, $op1, $op2) . "_LABEL";
985 return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
987 return "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
995 if ($spec && preg_match_all('/^\s*zend_free_op\s+[^;]+;\s*$/m', $code, $matches, PREG_SET_ORDER)) {
1102 function gen_handler($f, $spec, $kind, $name, $op1, $op2, $use, $code, $lineno, $opcode, $extra_spe… argument
1105 if ($spec && skip_extra_spec_function($op1, $op2, $extra_spec)) {
1114 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
1119 gen_code($out, $spec, $kind, 0, $code, $op1, $op2, $name, $extra_spec);
1149 if ($spec) {
1169 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name, $extra_spec);
1173 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno, $inline, $cold = f… argument
1180 if ($spec && skip_extra_spec_function($op1, $op2, $extra_spec)) {
1188 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
1224 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name, $extra_spec);
1243 function gen_labels($f, $spec, $kind, $prolog, &$specs, $switch_labels = array()) { argument
1249 if ($spec) {
1375 $foreach_extra_spec = function($do, $spec) use ($dsc) {
1376 return function($op1, $op2, $extra_spec = array()) use ($do, $spec, $dsc) {
1377 foreach ($dsc["spec"][$spec] as $val) {
1378 $do($op1, $op2, array($spec => $val) + $extra_spec);
1638 $spec = key($specs);
1648 $ret[] = array($spec => $mode) + $existing;
1673 function gen_executor_code($f, $spec, $kind, $prolog, &$switch_labels = array()) { argument
1682 if ($spec) {
1789 function gen_executor($f, $skl, $spec, $kind, $executor_name, $initializer_name) { argument
1935 …out($f,"#define ZEND_VM_INTERRUPT() ZEND_VM_TAIL_CALL(zend_interrupt_helper".($spec?"_SPEC":"…
1936 …out($f,"#define ZEND_VM_LOOP_INTERRUPT() zend_interrupt_helper".($spec?"_SPEC":"")."(ZEND_OPCODE_H…
1943 …out($f,"static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_interrupt_helper".($spec?"_SPEC":"")."(Z…
1974 …out($f,"#define ZEND_VM_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";…
1975 …out($f,"#define ZEND_VM_LOOP_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";…
2011 …out($f,"#define ZEND_VM_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";…
2012 …out($f,"#define ZEND_VM_LOOP_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";…
2018 gen_executor_code($f, $spec, ZEND_VM_KIND_CALL, $m[1]);
2072 …gen_labels($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_GOTO : $kind, $prolog."\t\t", …
2136 gen_executor_code($f, $spec, $kind, $m[1], $switch_labels);
2168 gen_executor_code($f, $spec, $kind, $m[1]);
2187 …gen_labels($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_CALL : $kind, $prolog."\t", $s…