#include "ImportVerilogInternals.h"
#include "mlir/IR/Diagnostics.h"
#include "mlir/IR/Verifier.h"
#include "mlir/Support/Timing.h"
#include "mlir/Tools/mlir-translate/Translation.h"
#include "llvm/ADT/Hashing.h"
#include "llvm/Support/SourceMgr.h"
#include "slang/diagnostics/DiagnosticClient.h"
#include "slang/driver/Driver.h"
#include "slang/parsing/Preprocessor.h"
#include "slang/syntax/SyntaxPrinter.h"
#include "slang/util/VersionInfo.h"
Go to the source code of this file.
|
static Location | convertLocation (MLIRContext *context, const slang::SourceManager &sourceManager, slang::SourceLocation loc) |
| Convert a slang SourceLocation to an MLIR Location .
|
|
◆ convertLocation()
static Location convertLocation |
( |
MLIRContext * |
context, |
|
|
const slang::SourceManager & |
sourceManager, |
|
|
slang::SourceLocation |
loc |
|
) |
| |
|
static |
Convert a slang SourceLocation
to an MLIR Location
.
Definition at line 49 of file ImportVerilog.cpp.