Searched refs:optimization_level (Results 1 – 10 of 10) sorted by relevance
616 assert(config->optimization_level >= 0); in config_check_consistency()715 config->optimization_level = -1; in _PyConfig_InitCompatConfig()749 config->optimization_level = 0; in config_init_defaults()928 COPY_ATTR(optimization_level); in _PyConfig_Copy()1030 SET_ITEM_INT(optimization_level); in _PyConfig_AsDict()1295 GET_UINT(optimization_level); in _PyConfig_FromDict()1413 COPY_FLAG(optimization_level, Py_OptimizeFlag); in config_get_global_vars()1450 COPY_FLAG(optimization_level, Py_OptimizeFlag); in config_set_global_vars()1669 _Py_get_env_flag(use_env, &config->optimization_level, "PYTHONOPTIMIZE"); in config_read_env_vars()2388 config->optimization_level++; in config_parse_cmdline()
3039 debug = PyBool_FromLong(config->optimization_level == 0); in _PyBuiltin_Init()
2596 SetFlag(config->optimization_level); in set_flags_from_config()
436 c.c_optimize = (optimize == -1) ? _Py_GetConfig()->optimization_level : optimize; in _PyAST_Compile()
638 optimization_level = sys.flags.optimize640 if optimization_level == 0:642 elif optimization_level <= 2:643 expect = almost_expect + '.opt-{}.pyc'.format(optimization_level)645 msg = '{!r} is a non-standard optimization level'.format(optimization_level)
162 int optimization_level; member
422 optimize(Module &mod, unsigned optimization_level, in optimize() argument449 pmb.OptLevel = optimization_level; in optimize()
590 config.optimization_level = 2; in test_init_from_config()
1087 + int optimization_level = kO0; // kAUTO2607 …timization_level_ = static_cast<OptimizationLevel>(context_info_ptr->train_cfg.optimization_level);2881 + cfg.optimization_level = int_value;
870 .. c:member:: int optimization_level