Lines Matching refs:dsc
1241 foreach($opcodes as $num => $dsc) {
1242 if (isset($dsc['alias'])) {
1243 $specs[$num] = $specs[$opnames[$dsc['alias']]];
1250 if (isset($dsc["op1"]) && !isset($dsc["op1"]["ANY"])) {
1253 if (isset($dsc["op1"][$t])) {
1264 if (isset($dsc["op2"]) && !isset($dsc["op2"]["ANY"])) {
1267 if (isset($dsc["op2"][$t])) {
1278 … $spec_extra = call_user_func_array("array_merge", extra_spec_handler($dsc) ?: array(array()));
1288 $foreach_op1 = function($do) use ($dsc, $op_types) {
1289 return function($_, $op2) use ($do, $dsc, $op_types) {
1293 if (!isset($dsc["op1"][$op1])) {
1295 if (isset($dsc["op1"]["TMPVAR"])) {
1297 } else if (isset($dsc["op1"]["TMPVARCV"])) {
1302 } else if ($op1 == "CV" && isset($dsc["op1"]["TMPVARCV"])) {
1314 $foreach_op2 = function($do) use ($dsc, $op_types) {
1315 return function($op1, $_) use ($do, $dsc, $op_types) {
1319 if (!isset($dsc["op2"][$op2])) {
1321 if (isset($dsc["op2"]["TMPVAR"])) {
1323 } else if (isset($dsc["op2"]["TMPVARCV"])) {
1328 } else if ($op2 == "CV" && isset($dsc["op2"]["TMPVARCV"])) {
1340 $foreach_op_data = function($do) use ($dsc, $op_types) {
1341 return function($op1, $op2, $extra_spec = array()) use ($do, $dsc, $op_types) {
1345 if (!isset($dsc["spec"]["OP_DATA"][$op_data])) {
1347 if (isset($dsc["spec"]["OP_DATA"]["TMPVAR"])) {
1349 } else if (isset($dsc["spec"]["OP_DATA"]["TMPVARCV"])) {
1355 } else if ($op_data == "CV" && isset($dsc["OP_DATA"]["TMPVARCV"])) {
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) {
1374 …$generate = function ($op1, $op2, $extra_spec = array()) use ($f, $kind, $dsc, $prefix, $prolog, $…
1379 if (isset($dsc["op1"][$op1]) &&
1380 isset($dsc["op2"][$op2]) &&
1381 … (!isset($extra_spec["OP_DATA"]) || isset($dsc["spec"]["OP_DATA"][$extra_spec["OP_DATA"]]))) {
1391 if ($dsc["hot"] === 'HOT_NOCONSTCONST_'
1392 || $dsc["hot"] === 'COLD_CONSTCONST_') {
1418 … $spec_name = $dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_name($extra_spec);
1463 foreach($opcodes as $num => $dsc) {
1485 if (isset($dsc['alias']) && $kind != ZEND_VM_KIND_SWITCH) {
1489 out($f,$prolog.$dsc['alias']."_HANDLER,\n");
1492 out($f,$prolog."(void*)&&".$dsc['alias']."_LABEL,\n");
1495 $list[] = $dsc["op"];
1496 } else if ($dsc["code"]) { //ugly trick for ZEND_VM_DEFINE_OP
1500 out($f,$prolog.$dsc["op"]."_HANDLER,\n");
1506 out($f,$prolog."(void*)&&".$dsc["op"]."_LABEL,\n");
1509 $list[] = $dsc["op"];
1648 function extra_spec_handler($dsc) { argument
1651 if (!isset($dsc["spec"])) {
1654 $specs = $dsc["spec"];
1660 if (isset($dsc["spec"]["OP_DATA"][$op_data])) {
1714 foreach ($list as $lineno => $dsc) {
1715 if (isset($dsc["handler"])) {
1716 $num = $dsc["handler"];
1725 } else if (isset($dsc["helper"])) {
1726 $num = $dsc["helper"];
1736 var_dump($dsc);
1746 foreach ($list as $lineno => $dsc) {
1747 if (isset($dsc["handler"])) {
1748 $num = $dsc["handler"];
1753 } else if (isset($dsc["helper"])) {
1754 $num = $dsc["helper"];
1758 var_dump($dsc);
2565 foreach ($opcodes as $dsc) {
2566 …if (preg_match("/^\s*{\s*ZEND_VM_DISPATCH_TO_HANDLER\(\s*([A-Z_]*)\s*\)\s*;\s*}\s*/", $dsc["code"]…
2571 $opcodes[$opnames[$dsc['op']]]['alias'] = $op;
2576 …} else if (preg_match_all("/ZEND_VM_DISPATCH_TO_HANDLER\(\s*([A-Z_]*)\s*\)/m", $dsc["code"], $mm, …
2629 foreach ($opcodes as $code => $dsc) {
2631 $op = str_pad($dsc["op"],$max_opcode_len);
2862 foreach($opcodes as $code => $dsc) {
2863 if (isset($dsc['type_spec'])) {
2864 $orig_op = $dsc['op'];
2866 if (isset($dsc["spec"]["COMMUTATIVE"])) {
2872 foreach($dsc['type_spec'] as $code => $condition) {
2887 … if (isset($spec_dsc["spec"]["COMMUTATIVE"]) && !isset($dsc["spec"]["COMMUTATIVE"])) {
2900 foreach($opcodes as $code => $dsc) {
2901 if (!isset($dsc['is_type_spec']) &&
2902 !isset($dsc['type_spec']) &&
2903 isset($dsc["spec"]["COMMUTATIVE"])) {
2904 $orig_op = $dsc['op'];