MLIR  22.0.0git
Classes | Functions
llvm::lsp Namespace Reference

Classes

struct  MLIRConvertBytecodeParams
 This class represents the parameters used when converting between MLIR's bytecode and textual format. More...
 
struct  MLIRConvertBytecodeResult
 This class represents the result of converting between MLIR's bytecode and textual format. More...
 

Functions

bool fromJSON (const llvm::json::Value &value, MLIRConvertBytecodeParams &result, llvm::json::Path path)
 Add support for JSON serialization. More...
 
llvm::json::Value toJSON (const MLIRConvertBytecodeResult &value)
 Add support for JSON serialization. More...
 

Function Documentation

◆ fromJSON()

bool llvm::lsp::fromJSON ( const llvm::json::Value &  value,
MLIRConvertBytecodeParams result,
llvm::json::Path  path 
)

Add support for JSON serialization.

Definition at line 20 of file Protocol.cpp.

References llvm::lsp::MLIRConvertBytecodeParams::uri.

◆ toJSON()

llvm::json::Value llvm::lsp::toJSON ( const MLIRConvertBytecodeResult value)

Add support for JSON serialization.

Definition at line 31 of file Protocol.cpp.

References llvm::lsp::MLIRConvertBytecodeResult::output.