/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
H A D | DirectedGraph.h | 27 template <class NodeType, class EdgeType> class DGEdge { 31 explicit DGEdge(NodeType &N) : TargetNode(N) {} in DGEdge() 32 explicit DGEdge(const DGEdge<NodeType, EdgeType> &E) in DGEdge() argument 34 DGEdge<NodeType, EdgeType> &operator=(const DGEdge<NodeType, EdgeType> &E) { 47 const NodeType &getTargetNode() const { return TargetNode; } in getTargetNode() 48 NodeType &getTargetNode() { in getTargetNode() 49 return const_cast<NodeType &>( in getTargetNode() 50 static_cast<const DGEdge<NodeType, EdgeType> &>(*this).getTargetNode()); in getTargetNode() 54 void setTargetNode(const NodeType &N) { TargetNode = N; } in setTargetNode() 67 NodeType &TargetNode; [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | DependenceGraphBuilder.h | 36 using NodeType = typename GraphType::NodeType; 41 using NodeListType = SmallVector<NodeType *, 4>; 113 virtual NodeType &createRootNode() = 0; 116 virtual NodeType &createFineGrainedNode(Instruction &I) = 0; 120 virtual NodeType &createPiBlock(const NodeListType &L) = 0; 123 virtual EdgeType &createDefUseEdge(NodeType &Src, NodeType &Tgt) = 0; 126 virtual EdgeType &createMemoryEdge(NodeType &Src, NodeType &Tgt) = 0; 129 virtual EdgeType &createRootedEdge(NodeType &Src, NodeType &Tgt) = 0; 133 virtual const NodeListType &getNodesInPiBlock(const NodeType &N) = 0; 139 virtual void destroyNode(NodeType &N) { delete &N; } in destroyNode() [all …]
|
H A D | DDG.h | 265 template <typename NodeType> class DependenceGraphInfo { 281 NodeType &getRoot() const { in getRoot() 290 bool getDependencies(const NodeType &Src, const NodeType &Dst, 296 std::string getDependenceString(const NodeType &Src, 297 const NodeType &Dst) const; 310 NodeType *Root = nullptr; 321 using NodeType = DDGNode; 334 const PiBlockDDGNode *getPiBlock(const NodeType &N) const; 340 bool addNode(NodeType &N); 343 using PiBlockMapType = DenseMap<const NodeType *, const PiBlockDDGNode *>; [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | DependenceGraphBuilder.cpp | 80 df_iterator_default_set<const NodeType *, 4> Visited; in createAndConnectRootNode() 124 llvm::sort(NL, [&](NodeType *LHS, NodeType *RHS) { in createPiBlocks() 128 NodeType &PiNode = createPiBlock(NL); in createPiBlocks() 133 SmallPtrSet<NodeType *, 4> NodesInSCC(NL.begin(), NL.end()); in createPiBlocks() 137 for (NodeType *N : Graph) { in createPiBlocks() 161 auto createEdgeOfKind = [this](NodeType &Src, NodeType &Dst, in createPiBlocks() 178 auto reconnectEdges = [&](NodeType *Src, NodeType *Dst, NodeType *New, in createPiBlocks() 210 for (NodeType *SCCNode : NL) { in createPiBlocks() 228 for (NodeType *N : Graph) { in createDefUseEdges() 235 SmallPtrSet<NodeType *, 4> VisitedTargets; in createDefUseEdges() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/ |
H A D | ClangSyntaxEmitter.cpp | 50 for (NodeType &N : AllTypes) { in Hierarchy() 51 llvm::sort(N.Derived, [](const NodeType *L, const NodeType *R) { in Hierarchy() 61 struct NodeType { struct in __anon918f59160111::Hierarchy 63 const NodeType *Base = nullptr; argument 64 std::vector<const NodeType *> Derived; argument 68 NodeType &get(llvm::StringRef Name = "Node") { in get() 75 void visit(llvm::function_ref<void(const NodeType &)> CB, in visit() 76 const NodeType *Start = nullptr) { in visit() 80 for (const NodeType *D : Start->Derived) in visit() 100 std::deque<NodeType> AllTypes; [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Syntax/ |
H A D | Syntax.td | 37 // Defs derived from NodeType correspond to syntax tree node types. 38 // NodeType is also a syntax constraint: one node of this type. 39 class NodeType : Syntax { 40 // The NodeType that this node is derived from in the Node class hierarchy. 41 NodeType base = ?; 48 class External<NodeType base_> : NodeType { let base = base_; } 60 class Alternatives<NodeType base_ = Tree> : NodeType { let base = base_; } 64 class Unconstrained<NodeType base_ = Tree> : NodeType { let base = base_; } 79 class Sequence<NodeType base_ = Tree> : NodeType { 81 // Children must be Role or have a default role derived from the NodeType.
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchersMacros.h | 232 template <typename NodeType> \ 234 : public ::clang::ast_matchers::internal::MatcherInterface<NodeType> { \ 236 bool matches(const NodeType &Node, \ 248 template <typename NodeType> \ 249 bool internal::matcher_##DefineMatcher##Matcher<NodeType>::matches( \ 250 const NodeType &Node, \ 271 template <typename NodeType, typename ParamT> \ 273 : public ::clang::ast_matchers::internal::MatcherInterface<NodeType> { \ 278 bool matches(const NodeType &Node, \ 298 template <typename NodeType, typename ParamT> \ [all …]
|
H A D | ASTMatchersInternal.h | 2003 template <typename NodeType> 2005 equivalentBinaryOperator(const NodeType &Node) { 2084 template <typename NodeType> 2086 equivalentUnaryOperator(const NodeType &Node) { 2126 template <typename NodeType> inline const Expr *getLHS(const NodeType &Node) { 2136 template <typename NodeType> inline const Expr *getRHS(const NodeType &Node) { 2146 template <typename NodeType> 2147 inline const Expr *getSubExpr(const NodeType &Node) {
|
H A D | ASTMatchers.h | 5290 const Stmt *const Statement = internal::GetBodyMatcher<NodeType>::get(Node); in AST_POLYMORPHIC_MATCHER_P() 5334 const CompoundStmt *CS = CompoundStmtMatcher<NodeType>::get(Node); in AST_POLYMORPHIC_MATCHER_P() 5393 return internal::ValueEqualsMatcher<NodeType, ParamT>(Value) 5402 return internal::ValueEqualsMatcher<NodeType, ParamT>(Value) 5412 return internal::ValueEqualsMatcher<NodeType, ParamT>(Value) 5529 return internal::VariadicDynCastAllOfMatcher<Stmt, NodeType>()( in AST_POLYMORPHIC_MATCHER_P() 5549 return internal::VariadicDynCastAllOfMatcher<Stmt, NodeType>()( in AST_POLYMORPHIC_MATCHER_P2() 5591 internal::GetSourceExpressionMatcher<NodeType>::get(Node); in AST_POLYMORPHIC_MATCHER_P() 5616 const QualType NodeType = Node.getTypeAsWritten(); in AST_MATCHER_P() local 5617 return InnerMatcher.matches(NodeType, Finder, Builder); in AST_MATCHER_P() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/ |
H A D | CallGraph.h | 244 using NodeType = clang::CallGraphNode; 246 using ChildIteratorType = NodeType::iterator; 248 static NodeType *getEntryNode(clang::CallGraphNode *CGN) { return CGN; } 249 static ChildIteratorType child_begin(NodeType *N) { return N->begin(); } 250 static ChildIteratorType child_end(NodeType *N) { return N->end(); } 254 using NodeType = const clang::CallGraphNode; 256 using ChildIteratorType = NodeType::const_iterator; 258 static NodeType *getEntryNode(const clang::CallGraphNode *CGN) { return CGN; } 259 static ChildIteratorType child_begin(NodeType *N) { return N->begin();} 260 static ChildIteratorType child_end(NodeType *N) { return N->end(); } [all …]
|
/netbsd-src/external/bsd/kyua-cli/dist/engine/ |
H A D | metadata.cpp | 301 template< class NodeType > 302 typename NodeType::value_type& 306 return tree.lookup_rw< NodeType >(key); in lookup_rw() 324 template< class NodeType > 327 const typename NodeType::value_type& value) in set() 330 tree.set< NodeType >(key, value); in set()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/ |
H A D | LanaiISelDAGToDAG.cpp | 168 ISD::NodeType AluOperator = static_cast<ISD::NodeType>(Addr.getOpcode()); in selectAddrRiSpls() 223 ISD::NodeType AluOperator = static_cast<ISD::NodeType>(Addr.getOpcode()); in selectAddrRr()
|
H A D | LanaiAluCode.h | 118 inline static AluCode isdToLanaiAluCode(ISD::NodeType Node_type) { in isdToLanaiAluCode()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | ISDOpcodes.h | 40 enum NodeType { enum 1251 NodeType getVecReduceBaseOpcode(unsigned VecReduceOpcode); 1325 NodeType getExtForLoadExtType(bool IsFP, LoadExtType);
|
H A D | SelectionDAGNodes.h | 458 int16_t NodeType; 621 unsigned getOpcode() const { return (unsigned short)NodeType; } 625 bool isTargetOpcode() const { return NodeType >= ISD::BUILTIN_OP_END; } 633 return NodeType >= ISD::FIRST_TARGET_STRICTFP_OPCODE; 640 return NodeType >= ISD::FIRST_TARGET_MEMORY_OPCODE; 644 bool isUndef() const { return NodeType == ISD::UNDEF; } 652 return (NodeType == ISD::INTRINSIC_W_CHAIN || 653 NodeType == ISD::INTRINSIC_VOID) && 659 switch (NodeType) { 673 bool isMachineOpcode() const { return NodeType < 0; } [all …]
|
H A D | FunctionLoweringInfo.h | 165 DenseMap<const Value *, ISD::NodeType> PreferredExtendType;
|
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
H A D | DAGISelMatcher.cpp | 365 MVT::SimpleValueType NodeType = getOpcode().getKnownType(CT->getResNo()); in isContradictoryImpl() local 366 if (NodeType != MVT::Other) in isContradictoryImpl() 367 return TypesAreContradictory(NodeType, CT->getType()); in isContradictoryImpl()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.h | 25 enum NodeType : unsigned { enum 376 ISD::NodeType getExtendForAtomicOps() const override { in getExtendForAtomicOps() 380 ISD::NodeType getExtendForAtomicCmpSwapArg() const override { in getExtendForAtomicCmpSwapArg()
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/windows/ |
H A D | iptypes.d | 91 UINT NodeType; member
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelLowering.h | 25 enum NodeType : unsigned { enum 552 ISD::NodeType getExtendForAtomicOps() const override { in getExtendForAtomicOps() 555 ISD::NodeType getExtendForAtomicCmpSwapArg() const override { in getExtendForAtomicCmpSwapArg()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARC/ |
H A D | ARCISelLowering.h | 29 enum NodeType : unsigned { enum
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
H A D | MipsISelLowering.h | 57 enum NodeType : unsigned { enum 281 ISD::NodeType) const override; 313 ISD::NodeType getExtendForAtomicOps() const override { in getExtendForAtomicOps()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/ |
H A D | BPFISelLowering.h | 24 enum NodeType : unsigned { enum
|
/netbsd-src/external/bsd/kyua-cli/dist/utils/config/ |
H A D | nodes.ipp | 58 /// \tparam NodeType The type of the leaf node to create. 61 template< class NodeType > 65 return new NodeType();
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelLowering.h | 170 ISD::NodeType ExtendKind) const override; 334 enum NodeType : unsigned { enum
|