• Home
  • Raw
  • Download

Lines Matching refs:oparg

954 stack_effect(int opcode, int oparg, int jump)  in stack_effect()  argument
1059 return oparg-1; in stack_effect()
1061 return (oparg&0xFF) + (oparg>>8); in stack_effect()
1082 return 1-oparg; in stack_effect()
1084 return 1 - 2*oparg; in stack_effect()
1086 return -oparg; in stack_effect()
1136 return -oparg; in stack_effect()
1140 return -oparg; in stack_effect()
1142 return -oparg-1; in stack_effect()
1144 return -oparg-1; in stack_effect()
1146 return -1 - ((oparg & 0x01) != 0); in stack_effect()
1148 return -1 - ((oparg & 0x01) != 0) - ((oparg & 0x02) != 0) - in stack_effect()
1149 ((oparg & 0x04) != 0) - ((oparg & 0x08) != 0); in stack_effect()
1151 if (oparg == 3) in stack_effect()
1189 return (oparg & FVS_MASK) == FVS_HAVE_SPEC ? -1 : 0; in stack_effect()
1222 PyCompile_OpcodeStackEffectWithJump(int opcode, int oparg, int jump) in PyCompile_OpcodeStackEffectWithJump() argument
1224 return stack_effect(opcode, oparg, jump); in PyCompile_OpcodeStackEffectWithJump()
1228 PyCompile_OpcodeStackEffect(int opcode, int oparg) in PyCompile_OpcodeStackEffect() argument
1230 return stack_effect(opcode, oparg, -1); in PyCompile_OpcodeStackEffect()
1460 compiler_addop_i_line(struct compiler *c, int opcode, Py_ssize_t oparg, int lineno) in compiler_addop_i_line() argument
1473 assert(0 <= oparg && oparg <= 2147483647); in compiler_addop_i_line()
1480 i->i_oparg = Py_SAFE_DOWNCAST(oparg, Py_ssize_t, int); in compiler_addop_i_line()
1486 compiler_addop_i(struct compiler *c, int opcode, Py_ssize_t oparg) in compiler_addop_i() argument
1488 return compiler_addop_i_line(c, opcode, oparg, c->u->u_lineno); in compiler_addop_i()
1492 compiler_addop_i_noline(struct compiler *c, int opcode, Py_ssize_t oparg) in compiler_addop_i_noline() argument
1494 return compiler_addop_i_line(c, opcode, oparg, -1); in compiler_addop_i_noline()
4356 int oparg; in compiler_formatted_value() local
4362 case 's': oparg = FVC_STR; break; in compiler_formatted_value()
4363 case 'r': oparg = FVC_REPR; break; in compiler_formatted_value()
4364 case 'a': oparg = FVC_ASCII; break; in compiler_formatted_value()
4365 case -1: oparg = FVC_NONE; break; in compiler_formatted_value()
4374 oparg |= FVS_HAVE_SPEC; in compiler_formatted_value()
4378 ADDOP_I(c, FORMAT_VALUE, oparg); in compiler_formatted_value()
7302 int oparg = inst->i_oparg; in optimize_basic_block() local
7324 cnt = PyList_GET_ITEM(consts, oparg); in optimize_basic_block()
7341 cnt = PyList_GET_ITEM(consts, oparg); in optimize_basic_block()
7365 if (nextop == UNPACK_SEQUENCE && oparg == bb->b_instr[i+1].i_oparg) { in optimize_basic_block()
7366 switch(oparg) { in optimize_basic_block()
7381 if (i >= oparg) { in optimize_basic_block()
7382 if (fold_tuple_on_constants(c, inst-oparg, oparg, consts)) { in optimize_basic_block()
7478 switch (oparg) { in optimize_basic_block()
7493 if (i >= oparg - 1) { in optimize_basic_block()
7494 fold_rotations(inst - oparg + 1, oparg); in optimize_basic_block()