mypyc
mypyc copied to clipboard
Refactor name generation logic
In mypyc, name generation happens in multiple places in both irbuild and codegen, it would be more clear if we refactor all the logic to a single phase. The codegen can still generate the final name with some backend-specific modification, but the majority of work should be moved to irbuild.