Home
last modified time | relevance | path

Searched refs:FileLineColLoc (Results 1 – 25 of 46) sorted by relevance

12

/llvm-project/mlir/lib/Dialect/LLVMIR/Transforms/
H A DDIScopeForLLVMFuncOp.cpp27 static FileLineColLoc extractFileLoc(Location loc) { in extractFileLoc()
28 if (auto fileLoc = dyn_cast<FileLineColLoc>(loc)) in extractFileLoc()
34 return FileLineColLoc(); in extractFileLoc()
52 FileLineColLoc fileLoc = extractFileLoc(loc); in addScopeToFunction()
114 if (FileLineColLoc fileLoc = extractFileLoc(loc)) { in runOnOperation()
/llvm-project/cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/
H A Dmlir-support.cpp28 auto FileLineColLoc = mlir::FileLineColLoc::get(&Context, "file", 7, 8); variable
31 auto CallSiteLoc = mlir::CallSiteLoc::get(FileLineColLoc, OpaqueLoc);
32 auto FusedLoc = mlir::FusedLoc::get(&Context, {FileLineColLoc, NameLoc});
H A Dmlir-support.gdb75 # CHECK-LABEL: +print FileLineColLoc
76 print FileLineColLoc
77 # CHECK: typeID = mlir::TypeID::get<mlir::FileLineColLoc>()
100 # CHECK: typeID = mlir::TypeID::get<mlir::FileLineColLoc>()
108 # CHECK: typeID = mlir::TypeID::get<mlir::FileLineColLoc>()
/llvm-project/mlir/unittests/Debug/
H A DFileLineColLocBreakpointManagerTest.cpp65 FileLineColLoc::get(&context, fileNames[0], lineColLoc[0].first, in TEST()
75 FileLineColLoc::get(&context, fileNames[1], lineColLoc[1].first, in TEST()
156 FileLineColLoc::get(&context, fileNames.front(), in TEST()
161 FileLineColLoc::get(&context, fileNames.back(), in TEST()
212 createOp(&context, FileLineColLoc::get(&context, fileName, line, col), in TEST()
/llvm-project/mlir/test/lib/IR/
H A DTestDiagnostics.cpp39 FileLineColLoc fileLoc = dyn_cast<FileLineColLoc>(loc); in runOnOperation()
/llvm-project/mlir/lib/Dialect/Transform/Transforms/
H A DTransformInterpreterUtils.cpp45 auto loc = FileLineColLoc::get(context, path, 0, 0); in expandPathsToMLIRFiles()
103 return emitError(FileLineColLoc::get( in parseTransformModuleFromFile()
172 auto loc = FileLineColLoc::get(context, "<shared-library-module>", 0, 0); in assembleTransformLibraryFromPaths()
/llvm-project/mlir/lib/Parser/
H A DParser.cpp25 *sourceFileLoc = FileLineColLoc::get(config.getContext(), in parseSourceFile()
40 *sourceFileLoc = FileLineColLoc::get(config.getContext(), in parseSourceFile()
/llvm-project/flang/lib/Optimizer/Transforms/
H A DAddDebugInfo.cpp352 if (auto funcLoc = mlir::dyn_cast<mlir::FileLineColLoc>(l)) {
545 if (auto fileLoc = mlir::dyn_cast<mlir::FileLineColLoc>(module.getLoc())) {
/llvm-project/mlir/lib/Target/LLVMIR/Dialect/
H A DOpenMPCommon.cpp19 if (auto fileLoc = dyn_cast<FileLineColLoc>(loc)) { in createSourceLocStrFromLocation()
/llvm-project/mlir/lib/Dialect/SparseTensor/IR/Detail/
H A DVar.cpp148 const auto loc1 = dyn_cast<FileLineColLoc>(parser.getEncodedSourceLoc(sm1)); in minSMLoc()
149 assert(loc1 && "Could not get `FileLineColLoc` for first `SMLoc`"); in minSMLoc()
150 const auto loc2 = dyn_cast<FileLineColLoc>(parser.getEncodedSourceLoc(sm2)); in minSMLoc()
151 assert(loc2 && "Could not get `FileLineColLoc` for second `SMLoc`"); in minSMLoc()
/llvm-project/mlir/include/mlir/IR/
H A DBuiltinLocationAttributes.td
H A DBuiltinDialectBytecode.td110 def FileLineColLoc : DialectAttribute<(attr
329 FileLineColLoc,
H A DDiagnostics.h604 SMLoc convertLocToSMLoc(FileLineColLoc loc);
643 /// Process a FileLineColLoc diagnostic.
644 void process(FileLineColLoc loc, StringRef msg, DiagnosticSeverity kind);
/llvm-project/mlir/lib/IR/
H A DDiagnostics.cpp445 auto fileLoc = loc->findInstanceOf<FileLineColLoc>(); in emitDiagnostic()
548 .Case([&](FileLineColLoc) -> std::optional<Location> { return loc; }) in findLocToShow()
572 SMLoc SourceMgrDiagnosticHandler::convertLocToSMLoc(FileLineColLoc loc) { in convertLocToSMLoc()
849 // Process a FileLineColLoc. in process()
850 if (auto fileLoc = diag.getLocation()->findInstanceOf<FileLineColLoc>()) in process()
859 /// Process a FileLineColLoc diagnostic. in process()
860 void SourceMgrDiagnosticVerifierHandler::process(FileLineColLoc loc, in process()
544 __anonb0492c7e0402(FileLineColLoc) findLocToShow() argument
H A DLocation.cpp157 // FileLineColLoc
160 FileLineColLoc FileLineColLoc::get(StringAttr filename, unsigned line,
162 return llvm::cast<FileLineColLoc>(
166 FileLineColLoc FileLineColLoc::get(MLIRContext *context, StringRef fileName,
168 return llvm::cast<FileLineColLoc>(
172 StringAttr FileLineColLoc::getFilename() const {
176 unsigned FileLineColLoc::getLine() const { return getStartLine(); }
178 unsigned FileLineColLoc
[all...]
/llvm-project/mlir/lib/AsmParser/
H A DLocationParser.cpp138 loc = FileLineColLoc::get(ctx, str, *startLine, *startColumn); in parseNameOrFileLineColLocation()
H A DLexer.cpp62 return FileLineColLoc::get(context, buffer->getBufferIdentifier(), lineNo, in getEncodedSourceLocation()
/llvm-project/mlir/include/mlir/Debug/BreakpointManagers/
H A DFileLineColLocBreakpointManager.h98 auto fileLoc = dyn_cast<FileLineColLoc>(loc); in matchFromLocation()
/llvm-project/mlir/lib/Transforms/
H A DLocationSnapshot.cpp55 auto newLoc = FileLineColLoc::get(file, lineCol.first, lineCol.second); in generateLocationsFromIR()
/llvm-project/mlir/include/mlir/AsmParser/
H A DAsmParserState.h20 class FileLineColLoc; variable
/llvm-project/mlir/lib/Query/
H A DQuery.cpp31 auto fileLoc = op->getLoc()->findInstanceOf<FileLineColLoc>(); in printMatch()
/llvm-project/mlir/lib/Dialect/Transform/IR/
H A DTransformDialect.cpp102 FileLineColLoc::get(context, "<transform-dialect-library-module>", 0, 0); in initializeLibraryModule()
/llvm-project/mlir/lib/Tools/mlir-lsp-server/
H A DMLIRServer.cpp38 FileLineColLoc loc) { in getLocationFromLoc()
63 FileLineColLoc fileLoc = dyn_cast<FileLineColLoc>(nestedLoc); in getLocationFromLoc()
96 FileLineColLoc fileLoc = dyn_cast<FileLineColLoc>(nestedLoc); in collectLocationsFromLoc()
/llvm-project/mlir/test/Dialect/Builtin/Bytecode/
H A Dattrs.mlir153 // FileLineColLoc
/llvm-project/mlir/lib/Target/LLVMIR/
H A DDebugImporter.cpp45 FileLineColLoc::get(fileName, subprogram->getLine(), /*column=*/0)}, in translateFuncLocation()
471 Location result = FileLineColLoc::get(context, loc->getFilename(), in translateLoc()

12