Lines Matching refs:opcodes
542 $opcodes = array(); // opcode handlers by code variable
623 global $prefix, $opnames, $opcodes;
628 $opcode = $opcodes[$opnames[$name]];
803 global $opcodes, $opnames;
806 $opcode = $opcodes[$opnames[$name]];
839 global $opcodes, $opnames;
842 $opcode = $opcodes[$opnames[$handler]];
847 … is_hot_handler($opcodes[$opnames[$name]]["hot"], $op1, $op2, $extra_spec) ?
1197 global $opcodes, $opnames, $op_types, $prefix, $op_types_ex;
1206 foreach ($opcodes as $num => $dsc) {
1249 $opcodes[$num]['spec_code'] = $specs[$num];
1428 foreach ($opcodes as $num => $dsc) {
1670 global $list, $opcodes, $helpers, $op_types_ex, $gen_order;
1684 foreach (extra_spec_handler($opcodes[$num]) as $extra_spec) {
1686 if (isset($opcodes[$num]["op1"][$op1]) &&
1687 isset($opcodes[$num]["op2"][$op2])) {
1689 …_handler($f, 1, $kind, $opcodes[$num]["op"], $op1, $op2, isset($opcodes[$num]["use"]), $opcodes[$n…
1718 …handler($f, 0, $kind, $opcodes[$num]["op"], "ANY", "ANY", isset($opcodes[$num]["use"]), $opcodes[$…
2319 array $opcodes, int $max_opcode, int $max_opcode_len, array $vm_op_flags argument
2359 foreach ($opcodes as $code => $dsc) {
2377 $op_types, $list, $opcodes, $helpers, $params, $opnames,
2439 if (isset($opcodes[$code])) {
2445 … $opcodes[$code] = array("op"=>$op,"op1"=>$op1,"op2"=>$op2,"code"=>"","flags"=>$flags,"hot"=>$hot);
2447 $opcodes[$code]["spec"] = parse_spec_rules($def, $lineno, $m[9]);
2448 if (isset($opcodes[$code]["spec"]["NO_CONST_CONST"])) {
2449 $opcodes[$code]["flags"] |= $vm_op_flags["ZEND_VM_NO_CONST_CONST"];
2451 if (isset($opcodes[$code]["spec"]["COMMUTATIVE"])) {
2452 $opcodes[$code]["flags"] |= $vm_op_flags["ZEND_VM_COMMUTATIVE"];
2482 $opcodes[$orig_code]['type_spec'][$code] = $condition;
2492 if (isset($opcodes[$code])) {
2496 …$opcodes[$code] = array("op"=>$op,"op1"=>$op1,"op2"=>$op2,"code"=>"","flags"=>$flags,"hot"=>$hot,"…
2498 $opcodes[$code]["spec"] = parse_spec_rules($def, $lineno, $m[10]);
2499 if (isset($opcodes[$code]["spec"]["NO_CONST_CONST"])) {
2500 $opcodes[$code]["flags"] |= $vm_op_flags["ZEND_VM_NO_CONST_CONST"];
2502 if (isset($opcodes[$code]["spec"]["COMMUTATIVE"])) {
2503 $opcodes[$code]["flags"] |= $vm_op_flags["ZEND_VM_COMMUTATIVE"];
2570 if (isset($opcodes[$code])) {
2576 $opcodes[$code] = array("op"=>$op,"code"=>"");
2580 $opcodes[$handler]["code"] .= $line;
2587 ksort($opcodes);
2590 foreach ($opcodes as $dsc) {
2596 $opcodes[$opnames[$dsc['op']]]['alias'] = $op;
2599 $opcodes[$code]['use'] = 1;
2608 $opcodes[$code]['use'] = 1;
2614 $str = gen_vm_opcodes_header($opcodes, $max_opcode, $max_opcode_len, $vm_op_flags);
2629 fputs($f,"\t".(isset($opcodes[$i]["op"])?'"'.$opcodes[$i]["op"].'"':"NULL").",\n");
2635 fprintf($f, "\t0x%08x,\n", isset($opcodes[$i]["flags"]) ? $opcodes[$i]["flags"] : 0);
2846 foreach ($opcodes as $code => $dsc) {
2864 $spec_dsc = $opcodes[$code];
2884 foreach ($opcodes as $code => $dsc) {