Home | History | Annotate | Download | only in opt

Lines Matching refs:child

64   virtual inline void AddChild(SENode* child) {
67 assert(false && "Trying to add a child node to a constant!");
70 // Find the first point in the vector where |child| is greater than the node
72 auto find_first_less_than = [child](const SENode* node) {
73 return child->unique_id_ <= node->unique_id_;
80 children_.insert(position, child);
98 // Return the child node at |index|.
102 // Iterator to iterate over the child nodes.
106 // Iterate over immediate child nodes.
110 // Constant overloads for iterating over immediate child nodes.
124 for (auto child : GetChildren()) {
125 auto child_recurrent_nodes = child->CollectRecurrentNodes();
142 for (auto child : GetChildren()) {
143 auto child_value_unknown_nodes = child->CollectValueUnknownNodes();
158 // Iterate over all child nodes in the graph.
205 // the type (as a string), the literal value of any constants, and the child
226 assert(false && "Attempting to add a child to a constant node!");
246 inline void AddCoefficient(SENode* child) {
247 coefficient_ = child;
248 SENode::AddChild(child);
251 inline void AddOffset(SENode* child) {
252 offset_ = child;
253 SENode::AddChild(child);
274 // A node representing an addition operation between child nodes.
286 // A node representing a multiply operation between child nodes.