Home | History | Annotate | Download | only in TableGen

Lines Matching defs:Children

121   /// operates on the node or its children without potential side effects or a
185 /// ScopeMatcher - This attempts to match each of its children to find the first
187 /// If none of the children match then this check fails. It never has a 'next'.
189 SmallVector<Matcher*, 4> Children;
191 ScopeMatcher(Matcher *const *children, unsigned numchildren)
192 : Matcher(Scope), Children(children, children+numchildren) {
196 unsigned getNumChildren() const { return Children.size(); }
198 Matcher *getChild(unsigned i) { return Children[i]; }
199 const Matcher *getChild(unsigned i) const { return Children[i]; }
202 delete Children[i];
203 Children[i] = N;
207 Matcher *Res = Children[i];
208 Children[i] = 0;
213 if (NC < Children.size()) {
214 // delete any children we're about to lose pointers to.
215 for (unsigned i = NC, e = Children.size(); i != e; ++i)
216 delete Children[i];
218 Children.resize(NC);