Lines Matching refs:spec
654 function helper_name($name, $spec, $op1, $op2, $extra_spec) { argument
695 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].$extra;
698 function opcode_name($name, $spec, $op1, $op2, $extra_spec) { argument
719 } else if ($spec) {
736 } else if ($spec) {
746 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].$extra;
763 function gen_code($f, $spec, $kind, $export, $code, $op1, $op2, $name, $extra_spec=null) { argument
817 …"/ZEND_VM_C_LABEL\(\s*([A-Za-z_]*)\s*\)/m" => "\\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC…
818 …"/ZEND_VM_C_GOTO\(\s*([A-Za-z_]*)\s*\)/m" => "goto \\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_…
873 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
881 … return "goto " . opcode_name($name, $spec, $op1, $op2, $extra_spec) . "_LABEL";
888 … return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "_LABEL";
890 … return "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "_LABEL";
895 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(" . $ar…
897 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(ZEND_OP…
909 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec, $name) {
923 …return "ZEND_VM_TAIL_CALL(" . opcode_name($handler, $spec, $op1, $op2, $extra_spec) . $inline . "_…
929 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(" . $ar…
931 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(ZEND_OP…
943 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
947 … return "goto " . opcode_name($matches[1], $spec, $op1, $op2, $extra_spec) . "_LABEL";
953 … return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
955 return "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
967 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
971 … return "goto " . opcode_name($matches[1], $spec, $op1, $op2, $extra_spec) . "_LABEL";
977 … return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
979 return "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
987 …if ($spec && preg_match_all('/^\s*zend_free_op\s+[^;]+;\s*$/m', $code, $matches, PREG_SET_ORDER)) {
1093 function gen_handler($f, $spec, $kind, $name, $op1, $op2, $use, $code, $lineno, $opcode, $extra_spe… argument
1096 if (isset($opcode['alias']) && ($spec || $kind != ZEND_VM_KIND_SWITCH)) {
1100 if ($spec && skip_extra_spec_function($op1, $op2, $extra_spec)) {
1124 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
1129 gen_code($out, $spec, $kind, 0, $code, $op1, $op2, $name, $extra_spec);
1168 if ($spec) {
1188 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name, $extra_spec);
1200 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno, $inline, $cold = f… argument
1207 if ($spec && skip_extra_spec_function($op1, $op2, $extra_spec)) {
1215 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
1251 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name, $extra_spec);
1270 function gen_labels($f, $spec, $kind, $prolog, &$specs, $switch_labels = array()) { argument
1276 if ($spec) {
1406 $foreach_extra_spec = function($do, $spec) use ($dsc) {
1407 return function($op1, $op2, $extra_spec = array()) use ($do, $spec, $dsc) {
1408 foreach ($dsc["spec"][$spec] as $val) {
1409 $do($op1, $op2, array($spec => $val) + $extra_spec);
1679 $spec = key($specs);
1689 $ret[] = array($spec => $mode) + $existing;
1714 function gen_executor_code($f, $spec, $kind, $prolog, &$switch_labels = array()) { argument
1723 if ($spec) {
1834 function gen_executor($f, $skl, $spec, $kind, $executor_name, $initializer_name) { argument
1984 …efine ZEND_VM_INTERRUPT() ZEND_VM_TAIL_CALL(zend_interrupt_helper".($spec?"_SPEC":"")."(ZEND_…
1985 …out($f,"#define ZEND_VM_LOOP_INTERRUPT() zend_interrupt_helper".($spec?"_SPEC":"")."(ZEND_OPCODE_H…
1992 …$f,"static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_interrupt_helper".($spec?"_SPEC":"")."(ZEND_…
2027 …$f,"#define ZEND_VM_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";\n");
2028 …$f,"#define ZEND_VM_LOOP_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";\n");
2068 …$f,"#define ZEND_VM_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";\n");
2069 …$f,"#define ZEND_VM_LOOP_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";\n");
2075 gen_executor_code($f, $spec, ZEND_VM_KIND_CALL, $m[1]);
2137 …gen_labels($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_GOTO : $kind, $prolog."\t\t", …
2201 gen_executor_code($f, $spec, $kind, $m[1], $switch_labels);
2233 gen_executor_code($f, $spec, $kind, $m[1]);
2252 …gen_labels($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_CALL : $kind, $prolog."\t", $s…