Lines Matching refs:dsc
1243 foreach ($opcodes as $num => $dsc) {
1244 if (isset($dsc['alias'])) {
1245 $specs[$num] = $specs[$opnames[$dsc['alias']]];
1252 if (isset($dsc["op1"]) && !isset($dsc["op1"]["ANY"])) {
1255 if (isset($dsc["op1"][$t])) {
1266 if (isset($dsc["op2"]) && !isset($dsc["op2"]["ANY"])) {
1269 if (isset($dsc["op2"][$t])) {
1280 … $spec_extra = call_user_func_array("array_merge", extra_spec_handler($dsc) ?: array(array()));
1290 $foreach_op1 = function($do) use ($dsc, $op_types) {
1291 return function($_, $op2) use ($do, $dsc, $op_types) {
1295 if (!isset($dsc["op1"][$op1])) {
1297 if (isset($dsc["op1"]["TMPVAR"])) {
1299 } else if (isset($dsc["op1"]["TMPVARCV"])) {
1304 } else if ($op1 == "CV" && isset($dsc["op1"]["TMPVARCV"])) {
1316 $foreach_op2 = function($do) use ($dsc, $op_types) {
1317 return function($op1, $_) use ($do, $dsc, $op_types) {
1321 if (!isset($dsc["op2"][$op2])) {
1323 if (isset($dsc["op2"]["TMPVAR"])) {
1325 } else if (isset($dsc["op2"]["TMPVARCV"])) {
1330 } else if ($op2 == "CV" && isset($dsc["op2"]["TMPVARCV"])) {
1342 $foreach_op_data = function($do) use ($dsc, $op_types) {
1343 return function($op1, $op2, $extra_spec = array()) use ($do, $dsc, $op_types) {
1347 if (!isset($dsc["spec"]["OP_DATA"][$op_data])) {
1349 if (isset($dsc["spec"]["OP_DATA"]["TMPVAR"])) {
1351 } else if (isset($dsc["spec"]["OP_DATA"]["TMPVARCV"])) {
1357 } else if ($op_data == "CV" && isset($dsc["OP_DATA"]["TMPVARCV"])) {
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) {
1376 …$generate = function ($op1, $op2, $extra_spec = array()) use ($f, $kind, $dsc, $prefix, $prolog, $…
1381 if (isset($dsc["op1"][$op1]) &&
1382 isset($dsc["op2"][$op2]) &&
1383 … (!isset($extra_spec["OP_DATA"]) || isset($dsc["spec"]["OP_DATA"][$extra_spec["OP_DATA"]]))) {
1393 if ($dsc["hot"] === 'HOT_NOCONSTCONST_'
1394 || $dsc["hot"] === 'COLD_CONSTCONST_') {
1420 … $spec_name = $dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_name($extra_spec);
1465 foreach ($opcodes as $num => $dsc) {
1487 if (isset($dsc['alias']) && $kind != ZEND_VM_KIND_SWITCH) {
1491 out($f,$prolog.$dsc['alias']."_HANDLER,\n");
1494 out($f,$prolog."(void*)&&".$dsc['alias']."_LABEL,\n");
1497 $list[] = $dsc["op"];
1498 } else if ($dsc["code"]) { //ugly trick for ZEND_VM_DEFINE_OP
1502 out($f,$prolog.$dsc["op"]."_HANDLER,\n");
1508 out($f,$prolog."(void*)&&".$dsc["op"]."_LABEL,\n");
1511 $list[] = $dsc["op"];
1650 function extra_spec_handler($dsc) { argument
1653 if (!isset($dsc["spec"])) {
1656 $specs = $dsc["spec"];
1662 if (isset($dsc["spec"]["OP_DATA"][$op_data])) {
1716 foreach ($list as $lineno => $dsc) {
1717 if (isset($dsc["handler"])) {
1718 $num = $dsc["handler"];
1727 } else if (isset($dsc["helper"])) {
1728 $num = $dsc["helper"];
1738 var_dump($dsc);
1748 foreach ($list as $lineno => $dsc) {
1749 if (isset($dsc["handler"])) {
1750 $num = $dsc["handler"];
1755 } else if (isset($dsc["helper"])) {
1756 $num = $dsc["helper"];
1760 var_dump($dsc);
2394 foreach ($opcodes as $code => $dsc) {
2396 $op = str_pad($dsc["op"], $max_opcode_len);
2625 foreach ($opcodes as $dsc) {
2626 …if (preg_match("/^\s*{\s*ZEND_VM_DISPATCH_TO_HANDLER\(\s*([A-Z_]*)\s*\)\s*;\s*}\s*/", $dsc["code"]…
2631 $opcodes[$opnames[$dsc['op']]]['alias'] = $op;
2636 …} else if (preg_match_all("/ZEND_VM_DISPATCH_TO_HANDLER\(\s*([A-Z_]*)\s*\)/m", $dsc["code"], $mm, …
2881 foreach ($opcodes as $code => $dsc) {
2882 if (isset($dsc['type_spec'])) {
2883 $orig_op = $dsc['op'];
2885 if (isset($dsc["spec"]["COMMUTATIVE"])) {
2891 foreach ($dsc['type_spec'] as $code => $condition) {
2906 … if (isset($spec_dsc["spec"]["COMMUTATIVE"]) && !isset($dsc["spec"]["COMMUTATIVE"])) {
2919 foreach ($opcodes as $code => $dsc) {
2920 if (!isset($dsc['is_type_spec']) &&
2921 !isset($dsc['type_spec']) &&
2922 isset($dsc["spec"]["COMMUTATIVE"])) {
2923 $orig_op = $dsc['op'];