Home
last modified time | relevance | path

Searched refs:NodeType (Results 1 – 25 of 88) sorted by relevance

1234

/freebsd-src/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDirectedGraph.h28 template <class NodeType, class EdgeType> class DGEdge {
32 explicit DGEdge(NodeType &N) : TargetNode(N) {} in DGEdge()
33 explicit DGEdge(const DGEdge<NodeType, EdgeType> &E) in DGEdge() argument
35 DGEdge<NodeType, EdgeType> &operator=(const DGEdge<NodeType, EdgeType> &E) {
48 const NodeType &getTargetNode() const { return TargetNode; } in getTargetNode()
49 NodeType &getTargetNode() { in getTargetNode()
50 return const_cast<NodeType &>( in getTargetNode()
51 static_cast<const DGEdge<NodeType, EdgeType> &>(*this).getTargetNode()); in getTargetNode()
55 void setTargetNode(const NodeType &N) { TargetNode = N; } in setTargetNode()
68 NodeType &TargetNode;
[all …]
H A DSCCIterator.h254 using NodeType = typename GT::NodeType; variable
256 using NodesType = std::vector<NodeType *>;
296 std::unordered_map<NodeType *, NodeInfo> NodeInfoMap;
350 std::queue<NodeType *> Queue; in scc_member_iterator()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDependenceGraphBuilder.h36 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 DDDG.h255 template <typename NodeType> class DependenceGraphInfo {
271 NodeType &getRoot() const { in getRoot()
280 bool getDependencies(const NodeType &Src, const NodeType &Dst,
286 std::string getDependenceString(const NodeType &Src,
287 const NodeType &Dst) const;
300 NodeType *Root = nullptr;
311 using NodeType = DDGNode;
324 const PiBlockDDGNode *getPiBlock(const NodeType &N) const;
330 bool addNode(NodeType
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceGraphBuilder.cpp81 df_iterator_default_set<const NodeType *, 4> Visited; in createAndConnectRootNode()
125 llvm::sort(NL, [&](NodeType *LHS, NodeType *RHS) { in createPiBlocks()
129 NodeType &PiNode = createPiBlock(NL); in createPiBlocks()
134 SmallPtrSet<NodeType *, 4> NodesInSCC(NL.begin(), NL.end()); in createPiBlocks()
138 for (NodeType *N : Graph) { in createPiBlocks()
162 auto createEdgeOfKind = [this](NodeType &Src, NodeType &Dst, in createPiBlocks()
179 auto reconnectEdges = [&](NodeType *Src, NodeType *Dst, NodeType *New, in createPiBlocks()
211 for (NodeType *SCCNode : NL) { in createPiBlocks()
229 for (NodeType *N : Graph) { in createDefUseEdges()
236 SmallPtrSet<NodeType *, 4> VisitedTargets; in createDefUseEdges()
[all …]
/freebsd-src/contrib/llvm-project/clang/utils/TableGen/
H A DClangSyntaxEmitter.cpp50 for (NodeType &N : AllTypes) { in Hierarchy()
51 llvm::sort(N.Derived, [](const NodeType *L, const NodeType *R) { in Hierarchy()
61 struct NodeType { struct in __anon8677c2dd0111::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 …]
/freebsd-src/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DSyntax.td37 // 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.
/freebsd-src/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersMacros.h232 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 DASTMatchersInternal.h1247 /// Matches any instance of the given NodeType.
2015 template <typename NodeType>
2017 equivalentBinaryOperator(const NodeType &Node) {
2096 template <typename NodeType>
2098 equivalentUnaryOperator(const NodeType &Node) {
2140 template <typename NodeType> inline const Expr *getLHS(const NodeType &Node) {
2150 template <typename NodeType> inline const Expr *getRHS(const NodeType &Node) {
2160 template <typename NodeType>
[all...]
H A DASTMatchers.h5756 const Stmt *const Statement = internal::GetBodyMatcher<NodeType>::get(Node); in AST_MATCHER_P()
5800 const CompoundStmt *CS = CompoundStmtMatcher<NodeType>::get(Node);
5859 return internal::ValueEqualsMatcher<NodeType, ParamT>(Value)
5868 return internal::ValueEqualsMatcher<NodeType, ParamT>(Value)
5878 return internal::ValueEqualsMatcher<NodeType, ParamT>(Value) in AST_POLYMORPHIC_MATCHER_P()
6007 return internal::VariadicDynCastAllOfMatcher<Stmt, NodeType>()( in AST_POLYMORPHIC_MATCHER_P2()
6028 return internal::VariadicDynCastAllOfMatcher<Stmt, NodeType>()(
6070 internal::GetSourceExpressionMatcher<NodeType>::get(Node); in AST_MATCHER_P()
6095 const QualType NodeType = Node.getTypeAsWritten();
6096 return InnerMatcher.matches(NodeType, Finde
6071 const QualType NodeType = Node.getTypeAsWritten(); AST_MATCHER_P() local
[all...]
/freebsd-src/contrib/llvm-project/clang/include/clang/Analysis/
H A DCallGraph.h244 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 …]
/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugSuppression.cpp38 template <class NodeType> inline SourceRange getRange(const NodeType *Node) { in getRange()
101 template <class NodeType> bool VisitAttributedNode(NodeType *Node) { in VisitAttributedNode()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelDAGToDAG.cpp174 ISD::NodeType AluOperator = static_cast<ISD::NodeType>(Addr.getOpcode()); in selectAddrRiSpls()
219 static AluCode isdToLanaiAluCode(ISD::NodeType Node_type) { in isdToLanaiAluCode()
260 ISD::NodeType AluOperator = static_cast<ISD::NodeType>(Addr.getOpcode()); in selectAddrRr()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h218 using NodeType = ProfiledCallGraphNode;
220 using EdgeType = NodeType::edge;
221 using ChildIteratorType = NodeType::const_iterator;
/freebsd-src/contrib/kyua/model/
H A Dmetadata.cpp312 /// \tparam NodeType The type of the node.
319 template< class NodeType > in lookup_rw()
320 typename NodeType::value_type& in lookup_rw()
324 return tree.lookup_rw< NodeType >(key); in lookup_rw()
336 /// \tparam NodeType The type of the node.
342 template< class NodeType > in set()
345 const typename NodeType::value_type& value) in set()
348 tree.set< NodeType >(key, value); in set()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h26 /// ISD::NodeType enum - This enum defines the target-independent operators
40 enum NodeType { enum
1472 NodeType getVecReduceBaseOpcode(unsigned VecReduceOpcode); in isIndexTypeSigned()
1558 NodeType getExtForLoadExtType(bool IsFP, LoadExtType); in isFPEqualitySetCC()
H A DSelectionDAGNodes.h480 int32_t NodeType;
668 unsigned getOpcode() const { return (unsigned)NodeType; }
672 bool isTargetOpcode() const { return NodeType >= ISD::BUILTIN_OP_END; }
680 return NodeType >= ISD::FIRST_TARGET_STRICTFP_OPCODE;
687 return NodeType >= ISD::FIRST_TARGET_MEMORY_OPCODE;
691 bool isUndef() const { return NodeType == ISD::UNDEF; }
699 return (NodeType == ISD::INTRINSIC_W_CHAIN ||
700 NodeType == ISD::INTRINSIC_VOID) &&
706 switch (NodeType) {
725 bool isMachineOpcode() const { return NodeType <
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.h25 enum NodeType : unsigned { enum
219 ISD::NodeType getExtendForAtomicOps() const override {
223 ISD::NodeType getExtendForAtomicCmpSwapArg() const override;
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanDominatorTree.h27 using NodeType = VPBlockBase;
/freebsd-src/lib/libefivar/
H A Duefi-dputil.c429 IN UINT8 NodeType, in CreateDeviceNode() argument
445 DevicePath->Type = NodeType; in CreateDeviceNode()
/freebsd-src/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcher.cpp
/freebsd-src/sys/contrib/edk2/Include/Protocol/
H A DDevicePathUtilities.h150 IN UINT8 NodeType,
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SelectionDAGInfo.h22 SDValue EmitMOPS(AArch64ISD::NodeType SDOpcode, SelectionDAG &DAG,
/freebsd-src/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCISelLowering.h29 enum NodeType : unsigned { enum
/freebsd-src/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.h24 enum NodeType : unsigned { enum
211 ISD::NodeType getExtendForAtomicOps() const override { in getExtendForAtomicOps()

1234