Lines Matching refs:dsc
1280 foreach($opcodes as $num => $dsc) {
1281 if (isset($dsc['alias'])) {
1282 $specs[$num] = $specs[$opnames[$dsc['alias']]];
1289 if (isset($dsc["op1"]) && !isset($dsc["op1"]["ANY"])) {
1292 if (isset($dsc["op1"][$t])) {
1303 if (isset($dsc["op2"]) && !isset($dsc["op2"]["ANY"])) {
1306 if (isset($dsc["op2"][$t])) {
1317 … $spec_extra = call_user_func_array("array_merge", extra_spec_handler($dsc) ?: array(array()));
1327 $foreach_op1 = function($do) use ($dsc, $op_types) {
1328 return function($_, $op2) use ($do, $dsc, $op_types) {
1332 if (!isset($dsc["op1"][$op1])) {
1334 if (isset($dsc["op1"]["TMPVAR"])) {
1336 } else if (isset($dsc["op1"]["TMPVARCV"])) {
1341 } else if ($op1 == "CV" && isset($dsc["op1"]["TMPVARCV"])) {
1353 $foreach_op2 = function($do) use ($dsc, $op_types) {
1354 return function($op1, $_) use ($do, $dsc, $op_types) {
1358 if (!isset($dsc["op2"][$op2])) {
1360 if (isset($dsc["op2"]["TMPVAR"])) {
1362 } else if (isset($dsc["op2"]["TMPVARCV"])) {
1367 } else if ($op2 == "CV" && isset($dsc["op2"]["TMPVARCV"])) {
1379 $foreach_op_data = function($do) use ($dsc, $op_types) {
1380 return function($op1, $op2, $extra_spec = array()) use ($do, $dsc, $op_types) {
1384 if (!isset($dsc["spec"]["OP_DATA"][$op_data])) {
1386 if (isset($dsc["spec"]["OP_DATA"]["TMPVAR"])) {
1388 } else if (isset($dsc["spec"]["OP_DATA"]["TMPVARCV"])) {
1394 } else if ($op_data == "CV" && isset($dsc["OP_DATA"]["TMPVARCV"])) {
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) {
1413 …$generate = function ($op1, $op2, $extra_spec = array()) use ($f, $kind, $dsc, $prefix, $prolog, $…
1418 if (isset($dsc["op1"][$op1]) &&
1419 isset($dsc["op2"][$op2]) &&
1420 … (!isset($extra_spec["OP_DATA"]) || isset($dsc["spec"]["OP_DATA"][$extra_spec["OP_DATA"]]))) {
1430 if ($dsc["hot"] === 'HOT_NOCONSTCONST_'
1431 || $dsc["hot"] === 'COLD_CONSTCONST_') {
1439 … $spec_name = $dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_name($extra_spec);
1484 foreach($opcodes as $num => $dsc) {
1506 if (isset($dsc['alias']) && $kind != ZEND_VM_KIND_SWITCH) {
1510 out($f,$prolog.$dsc['alias']."_HANDLER,\n");
1513 out($f,$prolog."(void*)&&".$dsc['alias']."_LABEL,\n");
1516 $list[] = $dsc["op"];
1517 } else if ($dsc["code"]) { //ugly trick for ZEND_VM_DEFINE_OP
1521 out($f,$prolog.$dsc["op"]."_HANDLER,\n");
1527 out($f,$prolog."(void*)&&".$dsc["op"]."_LABEL,\n");
1530 $list[] = $dsc["op"];
1660 function extra_spec_handler($dsc) { argument
1663 if (!isset($dsc["spec"])) {
1666 $specs = $dsc["spec"];
1672 if (isset($dsc["spec"]["OP_DATA"][$op_data])) {
1732 foreach ($list as $lineno => $dsc) {
1733 if (isset($dsc["handler"])) {
1734 $num = $dsc["handler"];
1743 } else if (isset($dsc["helper"])) {
1744 $num = $dsc["helper"];
1754 var_dump($dsc);
1764 foreach ($list as $lineno => $dsc) {
1765 if (isset($dsc["handler"])) {
1766 $num = $dsc["handler"];
1771 } else if (isset($dsc["helper"])) {
1772 $num = $dsc["helper"];
1776 var_dump($dsc);
2600 foreach ($opcodes as $dsc) {
2601 …if (preg_match("/^\s*{\s*ZEND_VM_DISPATCH_TO_HANDLER\(\s*([A-Z_]*)\s*\)\s*;\s*}\s*/", $dsc["code"]…
2606 $opcodes[$opnames[$dsc['op']]]['alias'] = $op;
2611 …} else if (preg_match_all("/ZEND_VM_DISPATCH_TO_HANDLER\(\s*([A-Z_]*)\s*\)/m", $dsc["code"], $mm, …
2658 foreach ($opcodes as $code => $dsc) {
2660 $op = str_pad($dsc["op"],$max_opcode_len);
2933 foreach($opcodes as $code => $dsc) {
2934 if (isset($dsc['type_spec'])) {
2935 $orig_op = $dsc['op'];
2937 if (isset($dsc["spec"]["COMMUTATIVE"])) {
2943 foreach($dsc['type_spec'] as $code => $condition) {
2958 … if (isset($spec_dsc["spec"]["COMMUTATIVE"]) && !isset($dsc["spec"]["COMMUTATIVE"])) {
2971 foreach($opcodes as $code => $dsc) {
2972 if (!isset($dsc['is_type_spec']) &&
2973 !isset($dsc['type_spec']) &&
2974 isset($dsc["spec"]["COMMUTATIVE"])) {
2975 $orig_op = $dsc['op'];