Home
last modified time | relevance | path

Searched refs:optimization_level (Results 1 – 10 of 10) sorted by relevance

/third_party/python/Python/
Dinitconfig.c616 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()
Dbltinmodule.c3039 debug = PyBool_FromLong(config->optimization_level == 0); in _PyBuiltin_Init()
Dsysmodule.c2596 SetFlag(config->optimization_level); in set_flags_from_config()
Dcompile.c436 c.c_optimize = (optimize == -1) ? _Py_GetConfig()->optimization_level : optimize; in _PyAST_Compile()
/third_party/python/Lib/test/test_importlib/
Dtest_util.py638 optimization_level = sys.flags.optimize
640 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)
/third_party/python/Include/cpython/
Dinitconfig.h162 int optimization_level; member
/third_party/mesa3d/src/gallium/frontends/clover/llvm/
Dinvocation.cpp422 optimize(Module &mod, unsigned optimization_level, in optimize() argument
449 pmb.OptLevel = optimization_level; in optimize()
/third_party/python/Programs/
D_testembed.c590 config.optimization_level = 2; in test_init_from_config()
/third_party/mindspore/patches/
D0003-add-js-api.patch1087 + int optimization_level = kO0; // kAUTO
2607 …timization_level_ = static_cast<OptimizationLevel>(context_info_ptr->train_cfg.optimization_level);
2881 + cfg.optimization_level = int_value;
/third_party/python/Doc/c-api/
Dinit_config.rst870 .. c:member:: int optimization_level