9 #ifndef CIRCT_SUPPORT_NAMING_H
10 #define CIRCT_SUPPORT_NAMING_H
21 StringRef
chooseName(StringRef a, StringRef b);
24 StringAttr
chooseName(StringAttr a, StringAttr b);
28 StringAttr
chooseName(Operation *a, Operation *b);
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
bool isUselessName(StringRef name)
Return true if this is a possibly useless temporary name.
StringRef chooseName(StringRef a, StringRef b)
Choose a good name for an item from two options.