Lines Matching defs:Elements
503 std::vector<Init*> Elements;
505 // Verify that all of the elements of the list are subclasses of the
509 Elements.push_back(CI);
514 return ListInit::get(Elements, Ty);
521 ListInit::convertInitListSlice(const std::vector<unsigned> &Elements) const {
523 for (unsigned i = 0, e = Elements.size(); i != e; ++i) {
524 if (Elements[i] >= size())
526 Vals.push_back(getElement(Elements[i]));
1194 TypedInit::convertInitListSlice(const std::vector<unsigned> &Elements) const {
1198 if (Elements.size() == 1)
1199 return VarListElementInit::get(const_cast<TypedInit *>(this), Elements[0]);
1202 ListInits.reserve(Elements.size());
1203 for (unsigned i = 0, e = Elements.size(); i != e; ++i)
1205 Elements[i]));