|
MLCompilerBridge
Tools for streamlining communication with ML models for compiler optimizations.
|
JsonSerDes - Json Serialization/Deserialization using LLVM's json library. More...
#include <jsonSerDes.h>


Public Member Functions | |
| JsonSerDes () | |
| void * | getSerializedData () override |
| void | cleanDataStructures () override |
Public Member Functions inherited from MLBridge::BaseSerDes | |
| SerDesKind | getKind () const |
| virtual void | setFeature (const std::string &name, const google::protobuf::Message *value) |
| virtual void | setFeature (const std::string &name, const std::vector< google::protobuf::Message * > &value) |
| virtual void | setRequest (void *Request) |
| virtual void | setResponse (void *Response) |
| size_t | getMessageLength () |
| virtual void * | getRequest () |
| virtual void * | getResponse () |
Static Public Member Functions | |
| static bool | classof (const BaseSerDes *S) |
Private Member Functions | |
| void * | deserializeUntyped (void *data) override |
| void * | desJson (llvm::json::Value *V) |
Private Attributes | |
| llvm::json::Object | J |
Additional Inherited Members | |
Protected Member Functions inherited from MLBridge::BaseSerDes | |
| BaseSerDes (SerDesKind Type) | |
Protected Attributes inherited from MLBridge::BaseSerDes | |
| const SerDesKind | Type |
| void * | RequestVoid |
| void * | ResponseVoid |
| size_t | MessageLength |
JsonSerDes - Json Serialization/Deserialization using LLVM's json library.
Definition at line 24 of file jsonSerDes.h.
|
inline |
Definition at line 26 of file jsonSerDes.h.
|
inlinestatic |
Definition at line 28 of file jsonSerDes.h.
|
inlineoverridevirtual |
Implements MLBridge::BaseSerDes.
Definition at line 45 of file jsonSerDes.h.
|
overrideprivatevirtual |
Implements MLBridge::BaseSerDes.
Definition at line 39 of file jsonSerDes.cpp.
|
private |
Definition at line 58 of file jsonSerDes.cpp.
|
overridevirtual |
Implements MLBridge::BaseSerDes.
Definition at line 29 of file jsonSerDes.cpp.
|
private |
Definition at line 52 of file jsonSerDes.h.