13 #ifndef CIRCT_DIALECT_SV_DIALECT_H
14 #define CIRCT_DIALECT_SV_DIALECT_H
18 #include "mlir/IR/BuiltinOps.h"
19 #include "mlir/IR/Dialect.h"
20 #include "llvm/ADT/StringSet.h"
33 llvm::StringMap<size_t> &nextGeneratedNameIDs,
34 bool caseInsensitiveKeywords);
40 llvm::StringMap<size_t> &nextGeneratedNameIDs,
41 bool caseInsensitiveKeywords);
48 bool isNameValid(llvm::StringRef name,
bool caseInsensitiveKeywords);
54 #include "circt/Dialect/SV/SVDialect.h.inc"
llvm::StringRef resolveKeywordConflict(llvm::StringRef origName, llvm::StringMap< size_t > &nextGeneratedNameIDs, bool caseInsensitiveKeywords)
Given string origName, generate a new name if it conflicts with any keyword or any other name in the ...
StringRef legalizeName(llvm::StringRef name, llvm::StringMap< size_t > &nextGeneratedNameIDs, bool caseInsensitiveKeywords)
Legalize the specified name for use in SV output.
bool isNameValid(llvm::StringRef name, bool caseInsensitiveKeywords)
Check if a name is valid for use in SV output by only containing characters allowed in SV identifiers...
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.