|
LLVM 22.0.0git
|
A DocNode that is a map. More...
#include "llvm/BinaryFormat/MsgPackDocument.h"
Additional Inherited Members | |
| Public Types inherited from llvm::msgpack::DocNode | |
| typedef std::map< DocNode, DocNode > | MapTy |
| typedef std::vector< DocNode > | ArrayTy |
| Protected Attributes inherited from llvm::msgpack::DocNode | |
| union { | |
| int64_t Int | |
| uint64_t UInt | |
| bool Bool | |
| double Float | |
| StringRef Raw | |
| ArrayTy * Array | |
| MapTy * Map | |
| }; | |
A DocNode that is a map.
Definition at line 227 of file MsgPackDocument.h.
|
default |
|
inline |
Definition at line 230 of file MsgPackDocument.h.
References assert(), llvm::msgpack::DocNode::DocNode(), llvm::msgpack::DocNode::getKind(), llvm::msgpack::Map, and N.
|
inline |
Definition at line 235 of file MsgPackDocument.h.
References llvm::msgpack::DocNode::Map.
|
inline |
Definition at line 234 of file MsgPackDocument.h.
References size().
|
inline |
Definition at line 236 of file MsgPackDocument.h.
References llvm::msgpack::DocNode::Map.
|
inline |
Definition at line 240 of file MsgPackDocument.h.
References llvm::msgpack::DocNode::DocNode(), llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key, and llvm::msgpack::DocNode::Map.
|
inline |
Definition at line 241 of file MsgPackDocument.h.
References llvm::First, and llvm::msgpack::DocNode::Map.
|
inline |
Definition at line 239 of file MsgPackDocument.h.
References I, and llvm::msgpack::DocNode::Map.
|
inline |
Definition at line 237 of file MsgPackDocument.h.
References llvm::msgpack::DocNode::DocNode(), llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key, and llvm::msgpack::DocNode::Map.
Referenced by find().
| DocNode::MapTy::iterator MapDocNode::find | ( | StringRef | Key | ) |
Find the key in the MapDocNode.
Definition at line 30 of file MsgPackDocument.cpp.
References find(), llvm::msgpack::DocNode::getDocument(), and getNode().
Member access, with convenience versions for an integer key.
Member access for MapDocNode.
Definition at line 41 of file MsgPackDocument.cpp.
References assert(), llvm::msgpack::DocNode::DocNode(), llvm::msgpack::DocNode::getDocument(), llvm::msgpack::Document::getEmptyNode(), llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key, and N.
| DocNode & MapDocNode::operator[] | ( | int | Key | ) |
Member access for MapDocNode for integer key.
Definition at line 52 of file MsgPackDocument.cpp.
References llvm::msgpack::DocNode::DocNode(), llvm::msgpack::DocNode::getDocument(), llvm::msgpack::Document::getNode(), and llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key.
| DocNode & MapDocNode::operator[] | ( | int64_t | Key | ) |
Definition at line 58 of file MsgPackDocument.cpp.
References llvm::msgpack::DocNode::DocNode(), llvm::msgpack::DocNode::getDocument(), llvm::msgpack::Document::getNode(), and llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key.
Member access.
Member access for MapDocNode.
The string data must remain valid for the lifetime of the Document.
Definition at line 36 of file MsgPackDocument.cpp.
References llvm::msgpack::DocNode::DocNode(), llvm::msgpack::DocNode::getDocument(), and llvm::msgpack::Document::getNode().
Definition at line 61 of file MsgPackDocument.cpp.
References llvm::msgpack::DocNode::DocNode(), llvm::msgpack::DocNode::getDocument(), llvm::msgpack::Document::getNode(), and llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key.
Definition at line 55 of file MsgPackDocument.cpp.
References llvm::msgpack::DocNode::DocNode(), llvm::msgpack::DocNode::getDocument(), llvm::msgpack::Document::getNode(), and llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key.
|
inline |
Definition at line 233 of file MsgPackDocument.h.
References llvm::msgpack::DocNode::Map.
Referenced by empty().