Lines Matching defs:nodes
38 /// Walk all of the used symbol callgraph nodes referenced with the given op.
70 /// This struct tracks the uses of callgraph nodes that can be dropped when
72 /// call-graph nodes. This is necessary because many callgraph nodes are
76 /// This struct tracks the uses of callgraph nodes within a specific
79 /// Any nodes referenced in the top-level attribute list of this user. We
83 /// Uses of nodes referenced by nested operations.
89 /// Drop uses of nodes referred to by the given call operation that resides
111 /// Decrement the uses of discardable nodes referenced by the given user.
118 /// A mapping between a callgraph node and the symbol callgraph nodes that it
130 /// A set of callgraph nodes that are always known to be live during inlining.
133 // Walk each of the symbol tables looking for discardable callgraph nodes.
147 // Otherwise, check for any referenced nodes. These will be always-live.
155 // Drop the use information for any discardable nodes that are always live.
159 // Compute the uses for each of the callable nodes in the graph.
179 // Drop all child nodes.
261 /// Return a range over the nodes within this SCC.
262 std::vector<CallGraphNode *>::iterator begin() { return nodes.begin(); }
263 std::vector<CallGraphNode *>::iterator end() { return nodes.end(); }
265 /// Reset the nodes of this SCC with those provided.
266 void reset(const std::vector<CallGraphNode *> &newNodes) { nodes = newNodes; }
270 auto it = llvm::find(nodes, node);
271 if (it != nodes.end()) {
272 nodes.erase(it);
278 std::vector<CallGraphNode *> nodes;
303 /// inside of nested callgraph nodes.
438 /// Optimize the nodes within the given SCC with one of the held optimization
444 /// Optimize the nodes within the given SCC in parallel. Returns failure if an
489 // Collect the sets of nodes to simplify.
495 // Don't simplify nodes with children. Nodes with children require special
501 // We also won't apply simplifications to nodes that can't have passes
511 // Optimize each of the nodes within the SCC in parallel.
515 // Recompute the uses held by each of the nodes.
536 // Ensure an analysis manager has been constructed for each of the nodes.
590 // A set of dead nodes to remove after inlining.
593 // Collect all of the direct calls within the nodes of the current SCC. We
594 // don't traverse nested callgraph nodes, because they are handled separately