CIRCT 24.0.0git
Loading...
Searching...
No Matches
SVDialect.cpp File Reference
#include "circt/Dialect/SV/SVDialect.h"
#include "circt/Dialect/Comb/CombDialect.h"
#include "circt/Dialect/HW/HWTypes.h"
#include "circt/Dialect/SV/SVOps.h"
#include "circt/Dialect/SV/SVTypes.h"
#include "mlir/IR/DialectImplementation.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/ADT/TypeSwitch.h"
#include "llvm/Support/ManagedStatic.h"
#include "circt/Dialect/SV/SV.cpp.inc"
#include "circt/Dialect/SV/SVDialect.cpp.inc"
#include "ReservedWords.def"
Include dependency graph for SVDialect.cpp:

Go to the source code of this file.

Classes

struct  ReservedWordsCreator
 Return a StringSet that contains all of the reserved names (e.g. More...

Macros

#define GET_OP_LIST
#define GET_ATTRDEF_CLASSES

Functions

static bool isValidVerilogCharacterFirst (char ch)
static bool isValidVerilogCharacter (char ch)

Variables

static llvm::ManagedStatic< StringSet<>, ReservedWordsCreator > reservedWords
 A StringSet that contains all of the reserved names (e.g., Verilog and VHDL keywords) that we need to avoid to prevent naming conflicts.

Macro Definition Documentation

◆ GET_ATTRDEF_CLASSES

#define GET_ATTRDEF_CLASSES

Definition at line 72 of file SVDialect.cpp.

◆ GET_OP_LIST

#define GET_OP_LIST

Function Documentation

◆ isValidVerilogCharacter()

bool isValidVerilogCharacter ( char ch)
static

Definition at line 143 of file SVDialect.cpp.

References isValidVerilogCharacterFirst().

◆ isValidVerilogCharacterFirst()

bool isValidVerilogCharacterFirst ( char ch)
static

Definition at line 139 of file SVDialect.cpp.

Referenced by isValidVerilogCharacter().

Variable Documentation

◆ reservedWords

llvm::ManagedStatic<StringSet<>, ReservedWordsCreator> reservedWords
static

A StringSet that contains all of the reserved names (e.g., Verilog and VHDL keywords) that we need to avoid to prevent naming conflicts.

Definition at line 95 of file SVDialect.cpp.

Referenced by ReservedWordsCreator::call().