Searched refs:opcode (Results 1 - 25 of 43) sorted by relevance

12

/PHP_5_5/ext/mbstring/oniguruma/
H A Dregcomp.c201 add_opcode(regex_t* reg, int opcode) argument
203 BBUF_ADD1(reg, opcode);
271 add_opcode_rel_addr(regex_t* reg, int opcode, int addr) argument
275 r = add_opcode(reg, opcode);
296 add_opcode_option(regex_t* reg, int opcode, OnigOptionType option) argument
300 r = add_opcode(reg, opcode);
5768 op2name(int opcode) argument
5772 for (i = 0; OnigOpInfo[i].opcode >= 0; i++) {
5773 if (opcode == OnigOpInfo[i].opcode)
5780 op2arg_type(int opcode) argument
[all...]
/PHP_5_5/ext/opcache/Optimizer/
H A Dnop_removal.c20 if (opline->opcode == ZEND_GOTO &&
29 if (opline->opcode == ZEND_JMP && ZEND_OP1(opline).opline_num > i) {
33 while (target->opcode == ZEND_NOP) {
38 opline->opcode = ZEND_NOP;
43 if (opline->opcode == ZEND_NOP) {
59 switch (opline->opcode) {
H A Doptimize_temp_vars_5.c98 if (!(op_const_means_class[opline->opcode] & RESULT_IS_UNUSED)) {
119 || ((op_const_means_class[opline->opcode] & OP1_CONST_IS_CLASS) && ZEND_OP1_TYPE(opline) == IS_CONST)
132 if (opline->opcode == ZEND_OP_DATA &&
133 (opline-1)->opcode == ZEND_ASSIGN_DIM) {
140 || ((op_const_means_class[opline->opcode] & OP2_CONST_IS_CLASS) && ZEND_OP2_TYPE(opline) == IS_CONST)
153 if ((op_const_means_class[opline->opcode] & EXT_CONST_IS_CLASS)) {
155 if (opline->opcode == ZEND_DECLARE_INHERITED_CLASS ||
156 opline->opcode == ZEND_DECLARE_INHERITED_CLASS_DELAYED) {
168 if (opline->opcode == ZEND_ASSIGN_DIM &&
169 (opline + 1)->opcode
[all...]
H A Dpass3.c42 switch (opline->opcode) {
57 while (next_opline < end && next_opline->opcode == ZEND_NOP) {
61 if (next_opline >= end || next_opline->opcode != ZEND_ASSIGN) {
67 (opline->opcode == ZEND_ADD ||
68 opline->opcode == ZEND_MUL ||
69 opline->opcode == ZEND_BW_OR ||
70 opline->opcode == ZEND_BW_AND ||
71 opline->opcode == ZEND_BW_XOR)) {
82 if (opline->opcode != ZEND_ADD || ZEND_OP1_TYPE(opline) == IS_CONST) {
91 switch (opline->opcode) {
[all...]
H A Dpass1_5.c15 switch (opline->opcode) {
37 int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC) = get_binary_op(opline->opcode);
42 if (opline->opcode == ZEND_DIV &&
101 opline->opcode = ZEND_BOOL;
110 unary_op_type unary_op = get_unary_op(opline->opcode);
140 int requires_conversion = (opline->opcode == ZEND_ADD_CHAR? 1 : 0);
150 while (next_op->opcode == ZEND_ADD_STRING || next_op->opcode == ZEND_ADD_CHAR) {
154 if (next_op->opcode == ZEND_ADD_CHAR) {
174 opline->opcode
[all...]
H A Dpass2.c13 switch (opline->opcode) {
88 opline->opcode -= 3;
93 if (opline->opcode == ZEND_JMPZ_EX) {
97 opline->opcode = ZEND_QM_ASSIGN;
108 if (opline->opcode == ZEND_JMPZ) {
114 opline->opcode = ZEND_JMP;
121 if ((opline + 1)->opcode == ZEND_JMP) {
128 if (opline->opcode == ZEND_JMPZ) {
134 opline->opcode = ZEND_JMPZNZ;
151 opline->opcode
[all...]
H A Dzend_optimizer_internal.h44 # define MAKE_NOP(opline) { opline->opcode = ZEND_NOP; memset(&opline->result,0,sizeof(opline->result)); memset(&opline->op1,0,sizeof(opline->op1)); memset(&opline->op2,0,sizeof(opline->op2)); opline->result_type=opline->op1_type=opline->op2_type=IS_UNUSED; opline->handler = zend_opcode_handlers[ZEND_NOP]; }
49 # define MAKE_NOP(opline) { opline->opcode = ZEND_NOP; memset(&opline->result,0,sizeof(znode)); memset(&opline->op1,0,sizeof(znode)); memset(&opline->op2,0,sizeof(znode)); opline->result.op_type=opline->op1.op_type=opline->op2.op_type=IS_UNUSED; opline->handler = zend_opcode_handlers[ZEND_NOP]; }
H A Dzend_optimizer.c118 if (opline->opcode == ZEND_FREE) {
125 switch (opline->opcode) {
165 switch (opline->opcode) {
225 if ((opline-1)->opcode == ZEND_ASSIGN_DIM ||
227 ((opline-1)->opcode == ZEND_ASSIGN_ADD ||
228 (opline-1)->opcode == ZEND_ASSIGN_SUB ||
229 (opline-1)->opcode == ZEND_ASSIGN_MUL ||
230 (opline-1)->opcode == ZEND_ASSIGN_DIV ||
231 (opline-1)->opcode == ZEND_ASSIGN_MOD ||
232 (opline-1)->opcode
[all...]
H A Dblock_pass.c96 switch((unsigned)opline->opcode) {
191 (op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_FREE ||
192 op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_SWITCH_FREE)) {
197 op_array->opcodes[op_array->brk_cont_array[parent].brk].opcode != ZEND_FREE &&
198 op_array->opcodes[op_array->brk_cont_array[parent].brk].opcode != ZEND_SWITCH_FREE) {
212 (op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_FREE ||
213 op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_SWITCH_FREE)) {
245 if (opline->opcode == ZEND_OP_DATA) {
248 switch((unsigned)opline->opcode) {
567 while (block->len > 0 && block->start_opline->opcode
[all...]
/PHP_5_5/ext/opcache/
H A Dzend_persist.c271 switch (opline->opcode) {
296 (opline + 1)->opcode != ZEND_FETCH_CLASS ||
297 (opline + 2)->opcode != ZEND_ADD_INTERFACE)) {
307 opline->opcode = ZEND_DECLARE_INHERITED_CLASS_DELAYED;
318 switch (opline->opcode) {
/PHP_5_5/Zend/
H A Dzend.c484 EG(exception_op)[0].opcode = ZEND_HANDLE_EXCEPTION;
489 EG(exception_op)[1].opcode = ZEND_HANDLE_EXCEPTION;
494 EG(exception_op)[2].opcode = ZEND_HANDLE_EXCEPTION;
1256 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL &&
H A Dzend_builtin_functions.c2095 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL &&
2096 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL_BY_NAME &&
2097 skip->prev_execute_data->opline->opcode != ZEND_INCLUDE_OR_EVAL) {
2140 if ((! ptr->opline) || ((ptr->opline->opcode == ZEND_DO_FCALL_BY_NAME) || (ptr->opline->opcode == ZEND_DO_FCALL))) {
2149 if (!ptr->opline || ptr->opline->opcode != ZEND_INCLUDE_OR_EVAL) {
2241 if (ptr && (skip_last == 0) && ptr->opline && (ptr->opline->opcode == ZEND_NEW)) {
2262 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL &&
2263 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL_BY_NAME &&
2264 skip->prev_execute_data->opline->opcode !
[all...]
H A Dzend_execute.c658 static inline void zend_assign_to_object(zval **retval, zval **object_ptr, zval *property_name, int value_type, znode_op *value_op, const zend_execute_data *execute_data, int opcode, const zend_literal *key TSRMLS_DC) argument
724 if (opcode == ZEND_ASSIGN_OBJ) {
1424 switch (brk_opline->opcode) {
1711 ZEND_API int zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler) argument
1713 if (opcode != ZEND_USER_OPCODE) {
1716 zend_user_opcodes[opcode] = opcode;
1718 zend_user_opcodes[opcode] = ZEND_USER_OPCODE;
1720 zend_user_opcode_handlers[opcode] = handler;
1726 ZEND_API user_opcode_handler_t zend_get_user_opcode_handler(zend_uchar opcode) argument
[all...]
H A Dzend_execute.h367 #define ZEND_USER_OPCODE_CONTINUE 0 /* execute next opcode */
369 #define ZEND_USER_OPCODE_DISPATCH 2 /* call original opcode handler */
373 #define ZEND_USER_OPCODE_DISPATCH_TO 0x100 /* call original handler of returned opcode */
375 ZEND_API int zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler);
376 ZEND_API user_opcode_handler_t zend_get_user_opcode_handler(zend_uchar opcode);
H A Dzend_vm.h27 ZEND_API void zend_vm_set_opcode_handler(zend_op* opcode);
H A Dzend_vm_opcodes.c191 ZEND_API const char* zend_get_opcode_name(zend_uchar opcode) { argument
192 return zend_vm_opcodes_map[opcode];
H A Dzend_vm_opcodes.h26 ZEND_API const char *zend_get_opcode_name(zend_uchar opcode);
H A Dzend_compile.h116 zend_uchar opcode; member in struct:_zend_op
470 ZEND_API unary_op_type get_unary_op(int opcode);
471 ZEND_API binary_op_type get_binary_op(int opcode);
883 /* generate ZEND_DECLARE_INHERITED_CLASS_DELAYED opcode to delay early binding */
H A Dzend_opcode.c435 zend_printf("Ran out of opcode space!\n"
467 if (opline->opcode == ZEND_EXT_STMT) {
469 if ((opline+1)->opcode == ZEND_EXT_STMT) {
470 opline->opcode = ZEND_NOP;
478 opline->opcode = ZEND_NOP;
532 ZEND_ASSERT(op_array->opcodes[op_num - 2].opcode == ZEND_FAST_CALL);
552 ZEND_ASSERT(op_array->opcodes[finally_op_num - 2].opcode == ZEND_FAST_CALL);
584 opline->opcode = ZEND_FAST_CALL;
596 opline->opcode = ZEND_FAST_CALL;
615 opline->opcode
805 get_unary_op(int opcode) argument
820 get_binary_op(int opcode) argument
[all...]
H A Dzend_compile.c580 opline->opcode = op;
593 opline->opcode = op;
602 #define MAKE_NOP(opline) { opline->opcode = ZEND_NOP; memset(&opline->result,0,sizeof(opline->result)); memset(&opline->op1,0,sizeof(opline->op1)); memset(&opline->op2,0,sizeof(opline->op2)); opline->result_type=opline->op1_type=opline->op2_type=IS_UNUSED; }
606 data_op->opcode = ZEND_OP_DATA;
620 switch (last_op->opcode) {
622 last_op->opcode = op;
630 last_op->opcode = op;
644 opline->opcode = op;
671 CG(active_op_array)->opcodes[CG(active_op_array)->last-1].opcode != ZEND_BEGIN_SILENCE)) {
687 opline_ptr->opcode
[all...]
/PHP_5_5/ext/pcre/pcrelib/
H A Dpcre_jit_compile.c292 /* Points to the starting opcode. */
308 /* Points to the starting opcode. */
323 /* Maps private data offset to each opcode. */
486 /* These two locals can be used by the current opcode. */
809 /* Only AUTO_CALLOUT can insert this opcode. We do
6430 pcre_uchar opcode; local
6461 opcode = *cc;
6462 SLJIT_ASSERT(opcode >= OP_ASSERT && opcode <= OP_ASSERTBACK_NOT);
6463 found = (opcode
6948 pcre_uchar opcode; local
7489 pcre_uchar opcode; local
7763 get_iterator_parameters(compiler_common *common, pcre_uchar *cc, pcre_uchar *opcode, pcre_uchar *type, int *max, int *min, pcre_uchar **end) argument
7865 pcre_uchar opcode; local
8174 pcre_uchar opcode = *cc; local
8561 pcre_uchar opcode; local
8822 int opcode, stacksize, alt_count, alt_max; local
9345 pcre_uchar opcode = *current->cc; local
[all...]
/PHP_5_5/ext/pcre/pcrelib/sljit/
H A DsljitNativeARM_32.c820 #define EMIT_DATA_PROCESS_INS(opcode, set_flags, dst, src1, src2) \
821 (0xe0000000 | ((opcode) << 21) | (set_flags) | RD(dst) | RN(src1) | (src2))
969 #define EMIT_DATA_PROCESS_INS_AND_RETURN(opcode) \
970 return push_inst(compiler, EMIT_DATA_PROCESS_INS(opcode, flags & SET_FLAGS, dst, src1, (src2 & SRC2_IMM) ? src2 : RM(src2)))
972 #define EMIT_FULL_DATA_PROCESS_INS_AND_RETURN(opcode, dst, src1, src2) \
973 return push_inst(compiler, EMIT_DATA_PROCESS_INS(opcode, flags & SET_FLAGS, dst, src1, src2))
975 #define EMIT_SHIFT_INS_AND_RETURN(opcode) \
981 return push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, flags & SET_FLAGS, dst, SLJIT_UNUSED, (compiler->shift_imm << 7) | (opcode << 5) | reg_map[src2])); \
984 return push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, flags & SET_FLAGS, dst, SLJIT_UNUSED, (reg_map[(flags & ARGS_SWAPPED) ? src1 : src2] << 8) | (opcode << 5) | 0x10 | ((flags & ARGS_SWAPPED) ? reg_map[src2] : reg_map[src1])));
2025 #define EMIT_FPU_OPERATION(opcode, mod
[all...]
H A DsljitNativeSPARC_common.c113 #define OPC1(opcode) ((opcode) << 30)
114 #define OPC2(opcode) ((opcode) << 22)
115 #define OPC3(opcode) ((opcode) << 19)
H A DsljitNativeTILEGX_64.c123 const struct tilegx_opcode* opcode; member in struct:jit_instr
387 #define PB3(opcode, dst, srca, srcb) \
388 push_3_buffer(compiler, opcode, dst, srca, srcb, __LINE__)
390 #define PB2(opcode, dst, src) \
391 push_2_buffer(compiler, opcode, dst, src, __LINE__)
517 tilegx_pipeline get_any_valid_pipe(const struct tilegx_opcode* opcode) argument
521 for (pipe = 0; ((opcode->pipes & (1 << pipe)) == 0 && pipe < TILEGX_NUM_PIPELINE_ENCODINGS); pipe++)
528 const struct tilegx_opcode* opcode = NULL; local
532 opcode = &tilegx_opcodes[opc];
533 inst_buf[0].opcode
612 const struct tilegx_opcode* opcode = inst->opcode; local
750 const struct tilegx_opcode* opcode = &tilegx_opcodes[opc]; local
770 const struct tilegx_opcode* opcode = &tilegx_opcodes[opc]; local
830 const struct tilegx_opcode* opcode = &tilegx_opcodes[opc]; local
875 const struct tilegx_opcode* opcode = &tilegx_opcodes[opc]; local
891 const struct tilegx_opcode* opcode = &tilegx_opcodes[opc]; local
[all...]
H A DsljitNativeX86_32.c29 static sljit_si emit_do_imm(struct sljit_compiler *compiler, sljit_ub opcode, sljit_sw imm) argument
36 *inst++ = opcode;

Completed in 87 milliseconds

12