gh-87092: expose the compiler's codegen to python for unit tests (GH-99111)

11 files changed