Lines Matching refs:spec

610 function helper_name($name, $spec, $op1, $op2, $extra_spec) {  argument
652 return $name . ($spec ? "_SPEC" : "") . $prefix[$op1] . $prefix[$op2] . $extra;
655 function opcode_name($name, $spec, $op1, $op2, $extra_spec) { argument
676 } else if ($spec) {
693 } else if ($spec) {
704 return $name . ($spec ? "_SPEC" : "") . $prefix[$op1] . $prefix[$op2] . $extra;
721 function gen_code($f, $spec, $kind, $code, $op1, $op2, $name, $extra_spec=null) { argument
771 …"/ZEND_VM_C_LABEL\(\s*([A-Za-z_]*)\s*\)/m" => "\\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC…
772 …"/ZEND_VM_C_GOTO\(\s*([A-Za-z_]*)\s*\)/m" => "goto \\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_…
836 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
844 … return "goto " . opcode_name($name, $spec, $op1, $op2, $extra_spec) . "_LABEL";
851 … return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "_LABEL";
853 … return "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "_LABEL";
858 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(" . $ar…
860 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(ZEND_OP…
872 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec, $name) {
886 …return "ZEND_VM_TAIL_CALL(" . opcode_name($handler, $spec, $op1, $op2, $extra_spec) . $inline . "_…
892 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(" . $ar…
894 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(ZEND_OP…
906 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
910 … return "goto " . opcode_name($matches[1], $spec, $op1, $op2, $extra_spec) . "_LABEL";
916 … return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
918 return "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
930 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
934 … return "goto " . opcode_name($matches[1], $spec, $op1, $op2, $extra_spec) . "_LABEL";
940 … return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
942 return "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
1023 function gen_handler($f, $spec, $kind, $name, $op1, $op2, $use, $code, $lineno, $opcode, $extra_spe… argument
1028 if (isset($opcode['alias']) && ($spec || $kind != ZEND_VM_KIND_SWITCH)) {
1032 if ($spec && skip_extra_spec_function($op1, $op2, $extra_spec)) {
1087 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
1092 gen_code($out, $spec, $kind, $code, $op1, $op2, $name, $extra_spec);
1131 if ($spec) {
1151 gen_code($f, $spec, $kind, $code, $op1, $op2, $name, $extra_spec);
1163 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno, $inline, $cold = f… argument
1170 if ($spec && skip_extra_spec_function($op1, $op2, $extra_spec)) {
1178 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
1214 gen_code($f, $spec, $kind, $code, $op1, $op2, $name, $extra_spec);
1233 function gen_labels($f, $spec, $kind, $prolog, &$specs, $switch_labels = array()) { argument
1239 if ($spec) {
1369 $foreach_extra_spec = function($do, $spec) use ($dsc) {
1370 return function($op1, $op2, $extra_spec = array()) use ($do, $spec, $dsc) {
1371 foreach ($dsc["spec"][$spec] as $val) {
1372 $do($op1, $op2, array($spec => $val) + $extra_spec);
1669 $spec = key($specs);
1679 $ret[] = array($spec => $mode) + $existing;
1704 function gen_executor_code($f, $spec, $kind, $prolog, &$switch_labels = array()) { argument
1707 if ($spec) {
1818 function gen_executor($f, $skl, $spec, $kind, $executor_name, $initializer_name) { argument
1970 …efine ZEND_VM_INTERRUPT() ZEND_VM_TAIL_CALL(zend_interrupt_helper".($spec?"_SPEC":"")."(ZEND_…
1971 …out($f,"#define ZEND_VM_LOOP_INTERRUPT() zend_interrupt_helper".($spec?"_SPEC":"")."(ZEND_OPCODE_H…
1978 …$f,"static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_interrupt_helper".($spec?"_SPEC":"")."(ZEND_…
2003 …$f,"#define ZEND_VM_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";\n");
2004 …$f,"#define ZEND_VM_LOOP_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";\n");
2034 …$f,"#define ZEND_VM_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";\n");
2035 …$f,"#define ZEND_VM_LOOP_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";\n");
2041 gen_executor_code($f, $spec, ZEND_VM_KIND_CALL, $m[1]);
2116 …gen_labels($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_GOTO : $kind, $prolog."\t\t", …
2186 gen_executor_code($f, $spec, $kind, $m[1], $switch_labels);
2218 gen_executor_code($f, $spec, $kind, $m[1]);
2237 …gen_labels($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_CALL : $kind, $prolog."\t", $s…