Name supplies usually have both a cache lookup:
```
name_supply.UniqueGlobalFor("__main__")
```
and a hinted fresh name generator:
```
name_supply.FreshGlobalWithPrefix("my_module", "my_var", "any_other_prefix")
```
---
[Visit
Topic](https://discuss.tvm.apache.org/t/pre-rfc-name-mangling-in-irmodules/12944/10)
to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click
here](https://discuss.tvm.apache.org/email/unsubscribe/5c85a3fe54de13fec8cc509d96f5e3021c35bfbd9f32d9b1b67f6bdae35b1728).
[Apache TVM Discuss] [Development/pre-RFC] [pre-RFC] Name mangling in IRModules
Mark Shields via Apache TVM Discuss Fri, 10 Jun 2022 10:25:40 -0700
- [Apache TVM Discuss] [Development/pre... Andrew Reusch via Apache TVM Discuss
- [Apache TVM Discuss] [Developmen... tqchen via Apache TVM Discuss
- [Apache TVM Discuss] [Develo... Andrew Reusch via Apache TVM Discuss
- [Apache TVM Discuss] [De... tqchen via Apache TVM Discuss
- [Apache TVM Discuss]... Mark Shields via Apache TVM Discuss
- [Apache TVM Dis... tqchen via Apache TVM Discuss
- [Apache TVM Dis... Andrew Reusch via Apache TVM Discuss
- [Apache TVM... tqchen via Apache TVM Discuss
- [Apache... Mark Shields via Apache TVM Discuss
- [Apache TVM Discuss] [Developmen... Andrew Reusch via Apache TVM Discuss
