CIRCT 24.0.0git
Loading...
Searching...
No Matches
ImportVerilog.cpp File Reference
#include "ImportVerilogInternals.h"
#include "circt/Conversion/MooreToCore.h"
#include "circt/Dialect/LLHD/LLHDPasses.h"
#include "circt/Dialect/Moore/MoorePasses.h"
#include "circt/Dialect/Seq/SeqPasses.h"
#include "circt/Transforms/Passes.h"
#include "mlir/Conversion/SCFToControlFlow/SCFToControlFlow.h"
#include "mlir/IR/Diagnostics.h"
#include "mlir/IR/Verifier.h"
#include "mlir/Pass/PassManager.h"
#include "mlir/Support/Timing.h"
#include "mlir/Tools/mlir-translate/Translation.h"
#include "mlir/Transforms/Passes.h"
#include "llvm/ADT/Hashing.h"
#include "llvm/Support/SourceMgr.h"
#include "slang/analysis/AnalysisManager.h"
#include "slang/diagnostics/DiagnosticClient.h"
#include "slang/diagnostics/Diagnostics.h"
#include "slang/driver/Driver.h"
#include "slang/parsing/Preprocessor.h"
#include "slang/syntax/SyntaxPrinter.h"
#include "slang/syntax/SyntaxTree.h"
#include "slang/util/VersionInfo.h"
Include dependency graph for ImportVerilog.cpp:

Go to the source code of this file.

Classes

struct  llvm::DenseMapInfo< slang::BufferID >

Namespaces

namespace  llvm

Functions

static Location convertLocation (MLIRContext *context, const slang::SourceManager &sourceManager, slang::SourceLocation loc)
 Convert a slang SourceLocation to an MLIR Location.
static Location convertLocation (MLIRContext *context, const slang::SourceManager &sourceManager, slang::SourceRange range)
 Convert a slang SourceRange to an MLIR Location.

Function Documentation

◆ convertLocation() [1/2]

Location convertLocation ( MLIRContext * context,
const slang::SourceManager & sourceManager,
slang::SourceLocation loc )
static

Convert a slang SourceLocation to an MLIR Location.

Definition at line 60 of file ImportVerilog.cpp.

References context.

◆ convertLocation() [2/2]

Location convertLocation ( MLIRContext * context,
const slang::SourceManager & sourceManager,
slang::SourceRange range )
static

Convert a slang SourceRange to an MLIR Location.

Definition at line 73 of file ImportVerilog.cpp.

References context.