Lines Matching refs:server

6 [LSP](https://microsoft.github.io/language-server-protocol/) IDE language
8 generally comprised of two components; a language client and a language server.
10 using, such as VSCode. A language server acts as the backend for queries that
14 ## MLIR LSP Language Server : `mlir-lsp-server`
16 MLIR provides an implementation of an LSP language server for `.mlir` text files
17 in the form of the `mlir-lsp-server` tool. This tool interacts with the MLIR C++
22 `mlir-lsp-server`, like many other MLIR based tools, relies on having the
24 formats used in the textual .mlir files. The `mlir-lsp-server` found within the
27 `mlir-lsp-server` executable that registers the entities that they are
28 interested in. The implementation of `mlir-lsp-server` is provided as a library,
33 #include "mlir/Tools/mlir-lsp-server/MlirLspServerMain.h"
48 This section details a few of the features that the MLIR language server
56 The language server actively runs verification on the IR as you type, showing
59 ![IMG](/mlir-lsp-server/diagnostics.png)
66 parsing and verification. The language server provides code actions for
69 ![IMG](/mlir-lsp-server/diagnostics_action.gif)
73 The language server provides suggestions as you type, offering completions for
77 ![IMG](/mlir-lsp-server/code_complete.gif)
92 ![SSA](/mlir-lsp-server/goto_def_ssa.gif)
96 ![Symbols](/mlir-lsp-server/goto_def_symbol.gif)
102 ![External Locations](/mlir-lsp-server/goto_def_external.gif)
108 ![IMG](/mlir-lsp-server/find_references.gif)
116 ![IMG](/mlir-lsp-server/hover.png)
120 The language server will also inform the editor about the structure of symbol
124 ![IMG](/mlir-lsp-server/navigation.gif)
126 ## PDLL LSP Language Server : `mlir-pdll-lsp-server`
128 MLIR provides an implementation of an LSP language server for `.pdll` text files
129 in the form of the `mlir-pdll-lsp-server` tool. This tool interacts with the
138 server relies on a compilation database to provide build-system information for
140 available for that file. This database allows for the server to interact with
169 This section details a few of the features that the PDLL language server
177 The language server actively runs verification as you type, showing any
180 ![IMG](/mlir-pdll-lsp-server/diagnostics.png)
184 The language server provides suggestions as you type based on what constraints,
185 rewrites, dialects, operations, etc are available in this context. The server
189 ![IMG](/mlir-pdll-lsp-server/code_complete.gif)
199 ![IMG](/mlir-pdll-lsp-server/goto_def.gif)
204 ![IMG](/mlir-pdll-lsp-server/goto_def_ods.gif)
210 ![IMG](/mlir-pdll-lsp-server/find_references.gif)
217 ![IMG](/mlir-pdll-lsp-server/hover.png)
222 ![IMG](/mlir-pdll-lsp-server/hover_ods.png)
226 The language server will also inform the editor about the structure of symbols
229 ![IMG](/mlir-pdll-lsp-server/navigation.gif)
233 The language server provides support for introspecting various intermediate
238 ![IMG](/mlir-pdll-lsp-server/view_output.gif)
242 The language server provides additional information inline with the source code.
250 ![IMG](/mlir-pdll-lsp-server/inlay_hints.png)
252 ## TableGen LSP Language Server : `tblgen-lsp-server`
254 MLIR provides an implementation of an LSP language server for `.td` text files
255 in the form of the `tblgen-lsp-server` tool. This tool interacts with the
263 server relies on a compilation database to provide build-system information for
265 available for that file. This database allows for the server to interact with
294 This section details a few of the features that the TableGen language server
302 The language server actively runs verification as you type, showing any
305 ![IMG](/tblgen-lsp-server/diagnostics.png)
315 ![IMG](/tblgen-lsp-server/goto_def.gif)
321 ![IMG](/tblgen-lsp-server/find_references.gif)
332 ![Index Map Example](/includes/img/mlir-lsp-server-server_diagram.svg)
336 The language server, such as `mlir-lsp-server`, communicates with the language
351 [`Language-Specific Server`](#language-specific-server) for processing. The
360 The language specific server, such as `MLIRServer` or `PDLLServer`, provides the
396 ###### `mlir-lsp-server`
399 [`mlir-lsp-server` language server](https://mlir.llvm.org/docs/Tools/MLIRLSP/#mlir-lsp-language-ser…
400 If `mlir-lsp-server` is not found within your workspace path, you must specify
401 the path of the server via the `mlir.server_path` setting. The path of the
402 server may be absolute or relative within your workspace.
421 ###### `mlir-pdll-lsp-server`
424 [`mlir-pdll-lsp-server` language server](https://mlir.llvm.org/docs/Tools/MLIRLSP/#pdll-lsp-languag…
425 If `mlir-pdll-lsp-server` is not found within your workspace path, you must
426 specify the path of the server via the `mlir.pdll_server_path` setting. The path
427 of the server may be absolute or relative within your workspace.
431 To properly understand and interact with `.pdll` files, the language server must
436 server will attempt to find them within your `build/` directory. If not
455 ###### `tblgen-lsp-server`
458 [`tblgen-lsp-server` language server](https://mlir.llvm.org/docs/Tools/MLIRLSP/#tablegen-lsp-langua…
459 If `tblgen-lsp-server` is not found within your workspace path, you must specify
460 the path of the server via the `mlir.tablegen_server_path` setting. The path of
461 the server may be absolute or relative within your workspace.
465 To properly understand and interact with `.td` files, the language server must
470 server will attempt to find them within your `build/` directory. If not