Home
last modified time | relevance | path

Searched refs:msgpack (Results 1 – 25 of 58) sorted by relevance

123

/external/llvm-project/llvm/lib/BinaryFormat/
DAMDGPUMetadataVerifier.cpp24 msgpack::DocNode &Node, msgpack::Type SKind, in verifyScalar()
25 function_ref<bool(msgpack::DocNode &)> verifyValue) { in verifyScalar()
33 if (Node.getKind() != msgpack::Type::String) in verifyScalar()
45 bool MetadataVerifier::verifyInteger(msgpack::DocNode &Node) { in verifyInteger()
46 if (!verifyScalar(Node, msgpack::Type::UInt)) in verifyInteger()
47 if (!verifyScalar(Node, msgpack::Type::Int)) in verifyInteger()
53 msgpack::DocNode &Node, function_ref<bool(msgpack::DocNode &)> verifyNode, in verifyArray()
68 msgpack::MapDocNode &MapNode, StringRef Key, bool Required, in verifyEntry()
69 function_ref<bool(msgpack::DocNode &)> verifyNode) { in verifyEntry()
77 msgpack::MapDocNode &MapNode, StringRef Key, bool Required, in verifyScalarEntry()
[all …]
DMsgPackDocumentYAML.cpp18 using namespace msgpack;
40 case msgpack::Type::String: in toString()
43 case msgpack::Type::Nil: in toString()
45 case msgpack::Type::Boolean: in toString()
48 case msgpack::Type::Int: in toString()
51 case msgpack::Type::UInt: in toString()
57 case msgpack::Type::Float: in toString()
112 if (getKind() == msgpack::Type::Nil) in getYAMLTag()
122 if (N.getKind() == msgpack::Type::UInt && getKind() == msgpack::Type::Int) in getYAMLTag()
124 if (N.getKind() == msgpack::Type::Int && getKind() == msgpack::Type::UInt) in getYAMLTag()
[all …]
DMsgPackDocument.cpp21 using namespace msgpack;
131 msgpack::Reader MPReader(Blob); in readFromBlob()
219 case msgpack::Type::Array: in readFromBlob()
220 case msgpack::Type::Map: in readFromBlob()
250 msgpack::Writer MPWriter(OS); in writeToBlob()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DAMDGPUMetadataVerifier.cpp23 msgpack::DocNode &Node, msgpack::Type SKind, in verifyScalar()
24 function_ref<bool(msgpack::DocNode &)> verifyValue) { in verifyScalar()
32 if (Node.getKind() != msgpack::Type::String) in verifyScalar()
44 bool MetadataVerifier::verifyInteger(msgpack::DocNode &Node) { in verifyInteger()
45 if (!verifyScalar(Node, msgpack::Type::UInt)) in verifyInteger()
46 if (!verifyScalar(Node, msgpack::Type::Int)) in verifyInteger()
52 msgpack::DocNode &Node, function_ref<bool(msgpack::DocNode &)> verifyNode, in verifyArray()
67 msgpack::MapDocNode &MapNode, StringRef Key, bool Required, in verifyEntry()
68 function_ref<bool(msgpack::DocNode &)> verifyNode) { in verifyEntry()
76 msgpack::MapDocNode &MapNode, StringRef Key, bool Required, in verifyScalarEntry()
[all …]
DMsgPackDocumentYAML.cpp18 using namespace msgpack;
40 case msgpack::Type::String: in toString()
43 case msgpack::Type::Nil: in toString()
45 case msgpack::Type::Boolean: in toString()
48 case msgpack::Type::Int: in toString()
51 case msgpack::Type::UInt: in toString()
57 case msgpack::Type::Float: in toString()
112 if (getKind() == msgpack::Type::Nil) in getYAMLTag()
122 if (N.getKind() == msgpack::Type::UInt && getKind() == msgpack::Type::Int) in getYAMLTag()
124 if (N.getKind() == msgpack::Type::Int && getKind() == msgpack::Type::UInt) in getYAMLTag()
[all …]
DMsgPackDocument.cpp21 using namespace msgpack;
77 msgpack::Reader MPReader(Blob); in readFromBlob()
147 case msgpack::Type::Array: in readFromBlob()
148 case msgpack::Type::Map: in readFromBlob()
157 if (Stack.back().Node.getKind() == msgpack::Type::Array) { in readFromBlob()
182 msgpack::Writer MPWriter(OS); in writeToBlob()
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/impl/
Dmsgpack.h6 namespace msgpack {
114 payload_info_t payload_info(msgpack::type ty);
118 template <typename F, msgpack::type ty>
136 case msgpack::t: in handle_msgpack_given_type()
137 case msgpack::f: { in handle_msgpack_given_type()
143 case msgpack::posfixint: in handle_msgpack_given_type()
144 case msgpack::uint8: in handle_msgpack_given_type()
145 case msgpack::uint16: in handle_msgpack_given_type()
146 case msgpack::uint32: in handle_msgpack_given_type()
147 case msgpack::uint64: { in handle_msgpack_given_type()
[all …]
Dmsgpack.cpp9 namespace msgpack { namespace
27 unsigned bytes_used_fixed(msgpack::type ty) { in bytes_used_fixed()
28 using namespace msgpack; in bytes_used_fixed()
39 msgpack::type parse_type(unsigned char x) { in parse_type()
71 int64_t res = msgpack::bitcast<uint8_t, int8_t>(start[0]); in read_embedded_s8()
72 return msgpack::bitcast<int64_t, uint64_t>(res); in read_embedded_s8()
130 int64_t res = msgpack::bitcast<uint8_t, int8_t>(u); in read_size_field_s8()
131 return msgpack::bitcast<int64_t, uint64_t>(res); in read_size_field_s8()
135 int64_t res = msgpack::bitcast<uint16_t, int16_t>(u); in read_size_field_s16()
136 return msgpack::bitcast<int64_t, uint64_t>(res); in read_size_field_s16()
[all …]
Dsystem.cpp695 int map_lookup_array(msgpack::byte_range message, const char *needle, in callbackEvent()
696 msgpack::byte_range *res, uint64_t *size) { in callbackEvent()
698 struct s : msgpack::functors_defaults<s> { in callbackEvent()
702 const unsigned char *handle_array(uint64_t N, msgpack::byte_range bytes) { in callbackEvent()
709 msgpack::foreach_map(message, in callbackEvent()
710 [&](msgpack::byte_range key, msgpack::byte_range value) { in callbackEvent()
711 if (msgpack::message_is_string(key, needle)) { in callbackEvent()
714 msgpack::handle_msgpack<s>(value, {count, size}); in callbackEvent()
723 int map_lookup_string(msgpack::byte_range message, const char *needle, in callbackEvent()
726 struct s : public msgpack::functors_defaults<s> { in callbackEvent()
[all …]
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DAMDGPUMetadataVerifier.h36 bool verifyScalar(msgpack::DocNode &Node, msgpack::Type SKind,
37 function_ref<bool(msgpack::DocNode &)> verifyValue = {});
38 bool verifyInteger(msgpack::DocNode &Node);
39 bool verifyArray(msgpack::DocNode &Node,
40 function_ref<bool(msgpack::DocNode &)> verifyNode,
42 bool verifyEntry(msgpack::MapDocNode &MapNode, StringRef Key, bool Required,
43 function_ref<bool(msgpack::DocNode &)> verifyNode);
45 verifyScalarEntry(msgpack::MapDocNode &MapNode, StringRef Key, bool Required,
46 msgpack::Type SKind,
47 function_ref<bool(msgpack::DocNode &)> verifyValue = {});
[all …]
DMsgPackWriter.h37 namespace msgpack {
/external/llvm-project/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUPALMetadata.h27 msgpack::Document MsgPackDoc;
28 msgpack::DocNode Registers;
29 msgpack::DocNode HwStages;
30 msgpack::DocNode ShaderFunctions;
109 msgpack::Document *getMsgPackDoc() { return &MsgPackDoc; } in getMsgPackDoc()
122 msgpack::DocNode &refRegisters();
125 msgpack::MapDocNode getRegisters();
128 msgpack::DocNode &refShaderFunctions();
131 msgpack::MapDocNode getShaderFunctions();
135 msgpack::MapDocNode getHwStage(unsigned CC);
DAMDGPUPALMetadata.cpp89 msgpack::Reader Reader(Blob); in setFromMsgPackBlob()
169 if (N.getKind() != msgpack::Type::UInt) in getRegister()
184 if (N.getKind() == msgpack::Type::UInt) in setRegister()
612 if (MsgPackDoc.getRoot().getKind() == msgpack::Type::Nil) in toString()
699 if (Key.getKind() == msgpack::Type::String) { in setFromString()
715 msgpack::DocNode &AMDGPUPALMetadata::refRegisters() { in refRegisters()
726 msgpack::MapDocNode AMDGPUPALMetadata::getRegisters() { in getRegisters()
733 msgpack::DocNode &AMDGPUPALMetadata::refShaderFunctions() { in refShaderFunctions()
744 msgpack::MapDocNode AMDGPUPALMetadata::getShaderFunctions() { in getShaderFunctions()
774 msgpack::MapDocNode AMDGPUPALMetadata::getHwStage(unsigned CC) { in getHwStage()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.h54 std::unique_ptr<msgpack::Document> HSAMetadataDoc =
55 std::make_unique<msgpack::Document>();
72 msgpack::ArrayDocNode getWorkGroupDimensions(MDNode *Node) const;
74 msgpack::MapDocNode getHSAKernelProps(const MachineFunction &MF,
81 void emitKernelLanguage(const Function &Func, msgpack::MapDocNode Kern);
83 void emitKernelAttrs(const Function &Func, msgpack::MapDocNode Kern);
85 void emitKernelArgs(const Function &Func, msgpack::MapDocNode Kern);
88 msgpack::ArrayDocNode Args);
91 unsigned &Offset, msgpack::ArrayDocNode Args,
97 msgpack::ArrayDocNode Args);
[all …]
DAMDGPUHSAMetadataStreamer.cpp502 msgpack::Document FromHSAMetadataString; in verify()
645 msgpack::ArrayDocNode
678 msgpack::MapDocNode Kern) { in emitKernelLanguage()
697 msgpack::MapDocNode Kern) { in emitKernelAttrs()
718 msgpack::MapDocNode Kern) { in emitKernelArgs()
730 msgpack::ArrayDocNode Args) { in emitKernelArg()
787 msgpack::ArrayDocNode Args, in emitKernelArg()
837 msgpack::ArrayDocNode Args) { in emitHiddenKernelArgs()
888 msgpack::MapDocNode
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.h56 std::unique_ptr<msgpack::Document> HSAMetadataDoc =
57 std::make_unique<msgpack::Document>();
72 msgpack::ArrayDocNode getWorkGroupDimensions(MDNode *Node) const;
74 msgpack::MapDocNode getHSAKernelProps(const MachineFunction &MF,
81 void emitKernelLanguage(const Function &Func, msgpack::MapDocNode Kern);
83 void emitKernelAttrs(const Function &Func, msgpack::MapDocNode Kern);
85 void emitKernelArgs(const Function &Func, msgpack::MapDocNode Kern);
88 msgpack::ArrayDocNode Args);
92 msgpack::ArrayDocNode Args, MaybeAlign PointeeAlign = None,
98 msgpack::ArrayDocNode Args);
[all …]
DAMDGPUHSAMetadataStreamer.cpp491 msgpack::Document FromHSAMetadataString; in verify()
602 msgpack::ArrayDocNode
635 msgpack::MapDocNode Kern) { in emitKernelLanguage()
654 msgpack::MapDocNode Kern) { in emitKernelAttrs()
675 msgpack::MapDocNode Kern) { in emitKernelArgs()
687 msgpack::ArrayDocNode Args) { in emitKernelArg()
749 unsigned &Offset, msgpack::ArrayDocNode Args, MaybeAlign PointeeAlign, in emitKernelArg()
794 msgpack::ArrayDocNode Args) { in emitHiddenKernelArgs()
853 msgpack::MapDocNode
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUPALMetadata.h30 msgpack::Document MsgPackDoc;
31 msgpack::DocNode Registers;
32 msgpack::DocNode HwStages;
108 msgpack::Document *getMsgPackDoc() { return &MsgPackDoc; } in getMsgPackDoc()
118 msgpack::DocNode &refRegisters();
121 msgpack::MapDocNode getRegisters();
125 msgpack::MapDocNode getHwStage(unsigned CC);
DAMDGPUPALMetadata.cpp86 msgpack::Reader Reader(Blob); in setFromMsgPackBlob()
166 if (N.getKind() != msgpack::Type::UInt) in getRegister()
181 if (N.getKind() == msgpack::Type::UInt) in setRegister()
551 if (MsgPackDoc.getRoot().getKind() == msgpack::Type::Nil) in toString()
638 if (Key.getKind() == msgpack::Type::String) { in setFromString()
654 msgpack::DocNode &AMDGPUPALMetadata::refRegisters() { in refRegisters()
665 msgpack::MapDocNode AMDGPUPALMetadata::getRegisters() { in getRegisters()
693 msgpack::MapDocNode AMDGPUPALMetadata::getHwStage(unsigned CC) { in getHwStage()
/external/oss-fuzz/projects/msgpack-c/
DDockerfile19 …ne --depth 1 --single-branch --branch cpp_master https://github.com/msgpack/msgpack-c.git msgpack-c
27 WORKDIR msgpack-c
Dbuild.sh18 for f in $SRC/msgpack-c/fuzz/*_fuzzer.cpp; do
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUTargetStreamer.h75 virtual bool EmitHSAMetadata(msgpack::Document &HSAMetadata, bool Strict) = 0;
119 bool EmitHSAMetadata(msgpack::Document &HSAMetadata, bool Strict) override;
166 bool EmitHSAMetadata(msgpack::Document &HSAMetadata, bool Strict) override;
/external/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUTargetStreamer.h75 virtual bool EmitHSAMetadata(msgpack::Document &HSAMetadata, bool Strict) = 0;
119 bool EmitHSAMetadata(msgpack::Document &HSAMetadata, bool Strict) override;
167 bool EmitHSAMetadata(msgpack::Document &HSAMetadata, bool Strict) override;
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Damdpal-msgpack-ps.ll22 ; amdgpu.pal.metadata.msgpack represents this:
35 !amdgpu.pal.metadata.msgpack = !{!0}
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DMsgPackWriter.h37 namespace msgpack {

123