CIRCT  20.0.0git
Classes | Macros | Functions | Variables
SVDialect.cpp File Reference
#include "circt/Dialect/SV/SVDialect.h"
#include "circt/Dialect/Comb/CombDialect.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<>, ReservedWordsCreatorreservedWords
 A StringSet that contains all of the reserved names (e.g., Verilog and VHDL keywords) that we need to avoid to prevent naming conflicts. More...
 

Macro Definition Documentation

◆ GET_ATTRDEF_CLASSES

#define GET_ATTRDEF_CLASSES

Definition at line 44 of file SVDialect.cpp.

◆ GET_OP_LIST

#define GET_OP_LIST

Function Documentation

◆ isValidVerilogCharacter()

static bool isValidVerilogCharacter ( char  ch)
static

Definition at line 115 of file SVDialect.cpp.

References isValidVerilogCharacterFirst().

◆ isValidVerilogCharacterFirst()

static bool isValidVerilogCharacterFirst ( char  ch)
static

Definition at line 111 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 67 of file SVDialect.cpp.

Referenced by ReservedWordsCreator::call().