| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Syntax/ |
| HD | Nodes.h | 37 enum class NodeKind : uint16_t { enum 74 llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, NodeKind K); 112 TranslationUnit() : Tree(NodeKind::TranslationUnit) {} in TranslationUnit() 114 return N->kind() == NodeKind::TranslationUnit; in classof() 122 Expression(NodeKind K) : Tree(K) {} in Expression() 124 return NodeKind::UnknownExpression <= N->kind() && in classof() 125 N->kind() <= NodeKind::UnknownExpression; in classof() 133 UnknownExpression() : Expression(NodeKind::UnknownExpression) {} in UnknownExpression() 135 return N->kind() == NodeKind::UnknownExpression; in classof() 143 Statement(NodeKind K) : Tree(K) {} in Statement() [all …]
|
| HD | Tree.h | 71 enum class NodeKind : uint16_t; 80 Node(NodeKind Kind); 82 NodeKind kind() const { return static_cast<NodeKind>(Kind); } in kind()
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
| HD | ASTTypeTraits.h | 252 return BaseConverter<T>::get(NodeKind, Storage.buffer); 260 return BaseConverter<T>::getUnchecked(NodeKind, Storage.buffer); 263 ASTNodeKind getNodeKind() const { return NodeKind; } 271 return NodeKind.hasPointerIdentity() 293 if (!NodeKind.isSame(Other.NodeKind)) 294 return NodeKind < Other.NodeKind; 296 if (ASTNodeKind::getFromNodeKind<QualType>().isSame(NodeKind)) 300 if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(NodeKind)) { 310 NodeKind)) { 325 if (!NodeKind.isSame(Other.NodeKind)) [all …]
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| HD | Nodes.cpp | 13 llvm::raw_ostream &syntax::operator<<(llvm::raw_ostream &OS, NodeKind K) { in operator <<() 15 case NodeKind::Leaf: in operator <<() 17 case NodeKind::TranslationUnit: in operator <<() 19 case NodeKind::UnknownExpression: in operator <<() 21 case NodeKind::UnknownStatement: in operator <<() 23 case NodeKind::DeclarationStatement: in operator <<() 25 case NodeKind::EmptyStatement: in operator <<() 27 case NodeKind::SwitchStatement: in operator <<() 29 case NodeKind::CaseStatement: in operator <<() 31 case NodeKind::DefaultStatement: in operator <<() [all …]
|
| HD | Tree.cpp | 51 syntax::Leaf::Leaf(const syntax::Token *Tok) : Node(NodeKind::Leaf), Tok(Tok) { in Leaf() 56 return N->kind() == NodeKind::Leaf; in classof() 59 syntax::Node::Node(NodeKind Kind) in Node() 66 bool syntax::Tree::classof(const Node *N) { return N->kind() > NodeKind::Leaf; } in classof()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Demangle/ |
| HD | MicrosoftDemangleNodes.h | 224 enum class NodeKind { enum 257 explicit Node(NodeKind K) : Kind(K) {} in Node() 260 NodeKind kind() const { return Kind; } in kind() 267 NodeKind Kind; 299 explicit TypeNode(NodeKind K) : Node(K) {} in TypeNode() 314 : TypeNode(NodeKind::PrimitiveType), PrimKind(K) {} in PrimitiveTypeNode() 323 explicit FunctionSignatureNode(NodeKind K) : TypeNode(K) {} in FunctionSignatureNode() 324 FunctionSignatureNode() : TypeNode(NodeKind::FunctionSignature) {} in FunctionSignatureNode() 355 explicit IdentifierNode(NodeKind K) : Node(K) {} in IdentifierNode() 364 VcallThunkIdentifierNode() : IdentifierNode(NodeKind::VcallThunkIdentifier) {} in VcallThunkIdentifierNode() [all …]
|
| HD | ItaniumDemangle.h | 116 #define ENUMERATOR(NodeKind) K ## NodeKind, argument 2160 template<typename NodeT> struct NodeKind; 2162 template<> struct NodeKind<X> { \
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| HD | DDG.cpp | 54 raw_ostream &llvm::operator<<(raw_ostream &OS, const DDGNode::NodeKind K) { in operator <<() 57 case DDGNode::NodeKind::SingleInstruction: in operator <<() 60 case DDGNode::NodeKind::MultiInstruction: in operator <<() 63 case DDGNode::NodeKind::PiBlock: in operator <<() 66 case DDGNode::NodeKind::Root: in operator <<() 69 case DDGNode::NodeKind::Unknown: in operator <<() 104 : DDGNode(NodeKind::SingleInstruction), InstList() { in SimpleDDGNode() 111 assert(((getKind() == NodeKind::SingleInstruction && InstList.size() == 1) || in SimpleDDGNode() 112 (getKind() == NodeKind::MultiInstruction && InstList.size() > 1)) && in SimpleDDGNode() 118 assert(((getKind() == NodeKind::SingleInstruction && InstList.size() == 1) || in SimpleDDGNode() [all …]
|
| HD | DependenceGraphBuilder.cpp | 385 using NodeKind = typename NodeType::NodeKind; in sortNodesTopologically() typedef 387 if (N->getKind() == NodeKind::PiBlock) { in sortNodesTopologically()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
| HD | Twine.h | 82 enum NodeKind : unsigned char { enum 163 NodeKind LHSKind = EmptyKind; 166 NodeKind RHSKind = EmptyKind; 169 explicit Twine(NodeKind Kind) : LHSKind(Kind) { in Twine() 182 explicit Twine(Child LHS, NodeKind LHSKind, Child RHS, NodeKind RHSKind) in Twine() 239 NodeKind getLHSKind() const { return LHSKind; } in getLHSKind() 242 NodeKind getRHSKind() const { return RHSKind; } in getRHSKind() 245 void printOneChild(raw_ostream &OS, Child Ptr, NodeKind Kind) const; 249 NodeKind Kind) const; 504 NodeKind NewLHSKind = TwineKind, NewRHSKind = TwineKind; in concat()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| HD | DDG.h | 46 enum class NodeKind { enum 55 DDGNode(const NodeKind K) : DDGNodeBase(), Kind(K) {} in DDGNode() 73 NodeKind getKind() const { return Kind; } in getKind() 83 void setKind(NodeKind K) { Kind = K; } in setKind() 86 NodeKind Kind; 93 RootDDGNode() : DDGNode(NodeKind::Root) {} in RootDDGNode() 100 return N->getKind() == NodeKind::Root; in classof() 142 return N->getKind() == NodeKind::SingleInstruction || in classof() 143 N->getKind() == NodeKind::MultiInstruction; in classof() 151 ? NodeKind::SingleInstruction in appendInstructions() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/ |
| HD | VariantValue.h | 96 MatcherOps(ast_type_traits::ASTNodeKind NodeKind) : NodeKind(NodeKind) {} in MatcherOps() argument 117 ast_type_traits::ASTNodeKind NodeKind;
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/BinaryFormat/ |
| HD | MsgPackDocumentYAML.cpp | 149 static NodeKind getKind(const DocNode &N) { in getKind() 152 return NodeKind::Map; in getKind() 154 return NodeKind::Sequence; in getKind() 156 return NodeKind::Scalar; in getKind()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Demangle/ |
| HD | MicrosoftDemangleNodes.cpp | 473 if (Pointee->kind() == NodeKind::FunctionSignature) { in outputPre() 487 if (Pointee->kind() == NodeKind::ArrayType) { in outputPre() 489 } else if (Pointee->kind() == NodeKind::FunctionSignature) { in outputPre() 519 if (Pointee->kind() == NodeKind::ArrayType || in outputPost() 520 Pointee->kind() == NodeKind::FunctionSignature) in outputPost() 549 assert(N->kind() == NodeKind::IntegerLiteral); in outputOneDimension()
|
| HD | MicrosoftDemangle.cpp | 397 if (Symbol->kind() == NodeKind::VariableSymbol) { in demangleInitFiniStub() 721 if (UQN->kind() == NodeKind::ConversionOperatorIdentifier) { in demangleEncodedSymbol() 743 if (UQN->kind() == NodeKind::ConversionOperatorIdentifier) { in demangleDeclarator() 780 SymbolNode *S = Arena.alloc<SymbolNode>(NodeKind::Md5Symbol); in demangleMD5Name() 855 case NodeKind::PointerType: { in demangleVariableEncoding() 1003 if (Identifier->kind() == NodeKind::ConversionOperatorIdentifier || in demangleTemplateInstantiationName() 1004 Identifier->kind() == NodeKind::StructorIdentifier) { in demangleTemplateInstantiationName() 1500 if (Identifier->kind() == NodeKind::StructorIdentifier) { in demangleFullyQualifiedSymbolName()
|
| HD | ItaniumDemangle.cpp | 218 fprintf(stderr, "%s(", itanium_demangle::NodeKind<NodeT>::name()); in operator ()()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
| HD | ItaniumManglingCanonicalizer.cpp | 23 using llvm::itanium_demangle::NodeKind; 61 profileCtor(ID, NodeKind<NodeT>::Kind, V...); in operator ()() 110 profileCtor(ID, NodeKind<T>::Kind, As...); in getOrCreateNode()
|
| HD | Twine.cpp | 58 NodeKind Kind) const { in printOneChild() 108 NodeKind Kind) const { in printOneChildRepr()
|
| HD | YAMLTraits.cpp | 356 NodeKind Input::getNodeKind() { in getNodeKind() 358 return NodeKind::Scalar; in getNodeKind() 360 return NodeKind::Map; in getNodeKind() 362 return NodeKind::Sequence; in getNodeKind() 830 NodeKind Output::getNodeKind() { report_fatal_error("invalid call"); } in getNodeKind()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
| HD | ASTTypeTraits.cpp | 152 OS << "Unable to print values of type " << NodeKind.asStringRef() << "\n"; in print() 163 OS << "Unable to dump values of type " << NodeKind.asStringRef() << "\n"; in dump()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| HD | VariantValue.cpp | 58 IsExactMatch = Matcher.getSupportedKind().isSame(NodeKind); in canConstructFrom() 59 return Matcher.canConvertTo(NodeKind); in canConstructFrom() 78 return DynTypedMatcher::constructVariadic(Op, NodeKind, DynMatchers); in constructVariadicOperator()
|
| HD | Marshallers.h | 237 for (const ast_type_traits::ASTNodeKind &NodeKind : RetKinds) { 238 if (ArgKind(NodeKind).isConvertibleTo(Kind, Specificity)) { 240 *LeastDerivedKind = NodeKind;
|
| /freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
| HD | YAMLTraits.h | 41 enum class NodeKind : uint8_t { enum 528 using Signature_getKind = NodeKind (*)(const T &); 1580 NodeKind getNodeKind() override; 1859 …assert(PolymorphicTraits<T>::getKind(Val) != NodeKind::Scalar && "plain scalar documents are not s…
|
| HD | YAMLParser.h | 117 enum NodeKind { enum
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/ |
| HD | ASTMatchersInternal.cpp | 216 ast_type_traits::ASTNodeKind NodeKind) { in trueMatcher() argument 217 return DynTypedMatcher(NodeKind, NodeKind, &*TrueMatcherInstance); in trueMatcher()
|