/llvm-project/mlir/lib/Dialect/LLVMIR/Transforms/ |
H A D | DIScopeForLLVMFuncOp.cpp | 27 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 D | mlir-support.cpp | 28 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 D | mlir-support.gdb | 75 # 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 D | FileLineColLocBreakpointManagerTest.cpp | 65 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 D | TestDiagnostics.cpp | 39 FileLineColLoc fileLoc = dyn_cast<FileLineColLoc>(loc); in runOnOperation()
|
/llvm-project/mlir/lib/Dialect/Transform/Transforms/ |
H A D | TransformInterpreterUtils.cpp | 45 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 D | Parser.cpp | 25 *sourceFileLoc = FileLineColLoc::get(config.getContext(), in parseSourceFile() 40 *sourceFileLoc = FileLineColLoc::get(config.getContext(), in parseSourceFile()
|
/llvm-project/flang/lib/Optimizer/Transforms/ |
H A D | AddDebugInfo.cpp | 352 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 D | OpenMPCommon.cpp | 19 if (auto fileLoc = dyn_cast<FileLineColLoc>(loc)) { in createSourceLocStrFromLocation()
|
/llvm-project/mlir/lib/Dialect/SparseTensor/IR/Detail/ |
H A D | Var.cpp | 148 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 D | BuiltinLocationAttributes.td |
|
H A D | BuiltinDialectBytecode.td | 110 def FileLineColLoc : DialectAttribute<(attr 329 FileLineColLoc,
|
H A D | Diagnostics.h | 604 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 D | Diagnostics.cpp | 445 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 D | Location.cpp | 157 // 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 D | LocationParser.cpp | 138 loc = FileLineColLoc::get(ctx, str, *startLine, *startColumn); in parseNameOrFileLineColLocation()
|
H A D | Lexer.cpp | 62 return FileLineColLoc::get(context, buffer->getBufferIdentifier(), lineNo, in getEncodedSourceLocation()
|
/llvm-project/mlir/include/mlir/Debug/BreakpointManagers/ |
H A D | FileLineColLocBreakpointManager.h | 98 auto fileLoc = dyn_cast<FileLineColLoc>(loc); in matchFromLocation()
|
/llvm-project/mlir/lib/Transforms/ |
H A D | LocationSnapshot.cpp | 55 auto newLoc = FileLineColLoc::get(file, lineCol.first, lineCol.second); in generateLocationsFromIR()
|
/llvm-project/mlir/include/mlir/AsmParser/ |
H A D | AsmParserState.h | 20 class FileLineColLoc; variable
|
/llvm-project/mlir/lib/Query/ |
H A D | Query.cpp | 31 auto fileLoc = op->getLoc()->findInstanceOf<FileLineColLoc>(); in printMatch()
|
/llvm-project/mlir/lib/Dialect/Transform/IR/ |
H A D | TransformDialect.cpp | 102 FileLineColLoc::get(context, "<transform-dialect-library-module>", 0, 0); in initializeLibraryModule()
|
/llvm-project/mlir/lib/Tools/mlir-lsp-server/ |
H A D | MLIRServer.cpp | 38 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 D | attrs.mlir | 153 // FileLineColLoc
|
/llvm-project/mlir/lib/Target/LLVMIR/ |
H A D | DebugImporter.cpp | 45 FileLineColLoc::get(fileName, subprogram->getLine(), /*column=*/0)}, in translateFuncLocation() 471 Location result = FileLineColLoc::get(context, loc->getFilename(), in translateLoc()
|