Lines Matching refs:spec
610 function helper_name($name, $spec, $op1, $op2, $extra_spec) { argument
651 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].$extra;
654 function opcode_name($name, $spec, $op1, $op2, $extra_spec) { argument
675 } else if ($spec) {
692 } else if ($spec) {
702 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].$extra;
719 function gen_code($f, $spec, $kind, $code, $op1, $op2, $name, $extra_spec=null) { argument
769 …"/ZEND_VM_C_LABEL\(\s*([A-Za-z_]*)\s*\)/m" => "\\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC…
770 …"/ZEND_VM_C_GOTO\(\s*([A-Za-z_]*)\s*\)/m" => "goto \\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_…
834 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
842 … return "goto " . opcode_name($name, $spec, $op1, $op2, $extra_spec) . "_LABEL";
849 … return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "_LABEL";
851 … return "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "_LABEL";
856 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(" . $ar…
858 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(ZEND_OP…
870 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec, $name) {
884 …return "ZEND_VM_TAIL_CALL(" . opcode_name($handler, $spec, $op1, $op2, $extra_spec) . $inline . "_…
890 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(" . $ar…
892 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(ZEND_OP…
904 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
908 … return "goto " . opcode_name($matches[1], $spec, $op1, $op2, $extra_spec) . "_LABEL";
914 … return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
916 return "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
928 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
932 … return "goto " . opcode_name($matches[1], $spec, $op1, $op2, $extra_spec) . "_LABEL";
938 … return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
940 return "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
1021 function gen_handler($f, $spec, $kind, $name, $op1, $op2, $use, $code, $lineno, $opcode, $extra_spe… argument
1026 if (isset($opcode['alias']) && ($spec || $kind != ZEND_VM_KIND_SWITCH)) {
1030 if ($spec && skip_extra_spec_function($op1, $op2, $extra_spec)) {
1085 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
1090 gen_code($out, $spec, $kind, $code, $op1, $op2, $name, $extra_spec);
1129 if ($spec) {
1149 gen_code($f, $spec, $kind, $code, $op1, $op2, $name, $extra_spec);
1161 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno, $inline, $cold = f… argument
1168 if ($spec && skip_extra_spec_function($op1, $op2, $extra_spec)) {
1176 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
1212 gen_code($f, $spec, $kind, $code, $op1, $op2, $name, $extra_spec);
1231 function gen_labels($f, $spec, $kind, $prolog, &$specs, $switch_labels = array()) { argument
1237 if ($spec) {
1367 $foreach_extra_spec = function($do, $spec) use ($dsc) {
1368 return function($op1, $op2, $extra_spec = array()) use ($do, $spec, $dsc) {
1369 foreach ($dsc["spec"][$spec] as $val) {
1370 $do($op1, $op2, array($spec => $val) + $extra_spec);
1667 $spec = key($specs);
1677 $ret[] = array($spec => $mode) + $existing;
1702 function gen_executor_code($f, $spec, $kind, $prolog, &$switch_labels = array()) { argument
1705 if ($spec) {
1816 function gen_executor($f, $skl, $spec, $kind, $executor_name, $initializer_name) { argument
1968 …efine ZEND_VM_INTERRUPT() ZEND_VM_TAIL_CALL(zend_interrupt_helper".($spec?"_SPEC":"")."(ZEND_…
1969 …out($f,"#define ZEND_VM_LOOP_INTERRUPT() zend_interrupt_helper".($spec?"_SPEC":"")."(ZEND_OPCODE_H…
1976 …$f,"static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_interrupt_helper".($spec?"_SPEC":"")."(ZEND_…
2001 …$f,"#define ZEND_VM_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";\n");
2002 …$f,"#define ZEND_VM_LOOP_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";\n");
2032 …$f,"#define ZEND_VM_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";\n");
2033 …$f,"#define ZEND_VM_LOOP_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";\n");
2039 gen_executor_code($f, $spec, ZEND_VM_KIND_CALL, $m[1]);
2120 …gen_labels($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_GOTO : $kind, $prolog."\t\t", …
2184 gen_executor_code($f, $spec, $kind, $m[1], $switch_labels);
2216 gen_executor_code($f, $spec, $kind, $m[1]);
2235 …gen_labels($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_CALL : $kind, $prolog."\t", $s…