Lines Matching refs:opcodes
575 $opcodes = array(); // opcode handlers by code variable
656 global $prefix, $opnames, $opcodes;
661 $opcode = $opcodes[$opnames[$name]];
840 global $opcodes, $opnames;
843 $opcode = $opcodes[$opnames[$name]];
876 global $opcodes, $opnames;
879 $opcode = $opcodes[$opnames[$handler]];
884 … is_hot_handler($opcodes[$opnames[$name]]["hot"], $op1, $op2, $extra_spec) ?
1234 global $opcodes, $opnames, $op_types, $prefix, $op_types_ex;
1243 foreach ($opcodes as $num => $dsc) {
1286 $opcodes[$num]['spec_code'] = $specs[$num];
1465 foreach ($opcodes as $num => $dsc) {
1705 global $list, $opcodes, $helpers, $op_types_ex, $gen_order;
1719 foreach (extra_spec_handler($opcodes[$num]) as $extra_spec) {
1721 if (isset($opcodes[$num]["op1"][$op1]) &&
1722 isset($opcodes[$num]["op2"][$op2])) {
1724 …_handler($f, 1, $kind, $opcodes[$num]["op"], $op1, $op2, isset($opcodes[$num]["use"]), $opcodes[$n…
1753 …handler($f, 0, $kind, $opcodes[$num]["op"], "ANY", "ANY", isset($opcodes[$num]["use"]), $opcodes[$…
2354 array $opcodes, int $max_opcode, int $max_opcode_len, array $vm_op_flags argument
2394 foreach ($opcodes as $code => $dsc) {
2412 $op_types, $list, $opcodes, $helpers, $params, $opnames,
2474 if (isset($opcodes[$code])) {
2480 … $opcodes[$code] = array("op"=>$op,"op1"=>$op1,"op2"=>$op2,"code"=>"","flags"=>$flags,"hot"=>$hot);
2482 $opcodes[$code]["spec"] = parse_spec_rules($def, $lineno, $m[9]);
2483 if (isset($opcodes[$code]["spec"]["NO_CONST_CONST"])) {
2484 $opcodes[$code]["flags"] |= $vm_op_flags["ZEND_VM_NO_CONST_CONST"];
2486 if (isset($opcodes[$code]["spec"]["COMMUTATIVE"])) {
2487 $opcodes[$code]["flags"] |= $vm_op_flags["ZEND_VM_COMMUTATIVE"];
2517 $opcodes[$orig_code]['type_spec'][$code] = $condition;
2527 if (isset($opcodes[$code])) {
2531 …$opcodes[$code] = array("op"=>$op,"op1"=>$op1,"op2"=>$op2,"code"=>"","flags"=>$flags,"hot"=>$hot,"…
2533 $opcodes[$code]["spec"] = parse_spec_rules($def, $lineno, $m[10]);
2534 if (isset($opcodes[$code]["spec"]["NO_CONST_CONST"])) {
2535 $opcodes[$code]["flags"] |= $vm_op_flags["ZEND_VM_NO_CONST_CONST"];
2537 if (isset($opcodes[$code]["spec"]["COMMUTATIVE"])) {
2538 $opcodes[$code]["flags"] |= $vm_op_flags["ZEND_VM_COMMUTATIVE"];
2605 if (isset($opcodes[$code])) {
2611 $opcodes[$code] = array("op"=>$op,"code"=>"");
2615 $opcodes[$handler]["code"] .= $line;
2622 ksort($opcodes);
2625 foreach ($opcodes as $dsc) {
2631 $opcodes[$opnames[$dsc['op']]]['alias'] = $op;
2634 $opcodes[$code]['use'] = 1;
2643 $opcodes[$code]['use'] = 1;
2649 $str = gen_vm_opcodes_header($opcodes, $max_opcode, $max_opcode_len, $vm_op_flags);
2664 fputs($f,"\t".(isset($opcodes[$i]["op"])?'"'.$opcodes[$i]["op"].'"':"NULL").",\n");
2670 fprintf($f, "\t0x%08x,\n", isset($opcodes[$i]["flags"]) ? $opcodes[$i]["flags"] : 0);
2881 foreach ($opcodes as $code => $dsc) {
2899 $spec_dsc = $opcodes[$code];
2919 foreach ($opcodes as $code => $dsc) {