MCPcopy Index your code
hub / github.com/python/cpython / optimizer_generator.py

File optimizer_generator.py

Tools/cases_generator/optimizer_generator.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Generate the cases for the tier 2 optimizer.
2Reads the instruction definitions from bytecodes.c and optimizer_bytecodes.c
3Writes the cases to optimizer_cases.c.h, which is #included in Python/optimizer_analysis.c.
4"""

Callers

nothing calls this directly

Calls 9

analyze_filesFunction · 0.90
as_posixMethod · 0.80
absoluteMethod · 0.80
openFunction · 0.50
add_argumentMethod · 0.45
parse_argsMethod · 0.45
appendMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected