Lines Matching defs:Elements
520 std::vector<Init*> Elements;
522 // Verify that all of the elements of the list are subclasses of the
526 Elements.push_back(CI);
531 return ListInit::get(Elements, Ty);
538 ListInit::convertInitListSlice(const std::vector<unsigned> &Elements) const {
540 for (unsigned i = 0, e = Elements.size(); i != e; ++i) {
541 if (Elements[i] >= size())
543 Vals.push_back(getElement(Elements[i]));
1257 TypedInit::convertInitListSlice(const std::vector<unsigned> &Elements) const {
1261 if (Elements.size() == 1)
1262 return VarListElementInit::get(const_cast<TypedInit *>(this), Elements[0]);
1265 ListInits.reserve(Elements.size());
1266 for (unsigned i = 0, e = Elements.size(); i != e; ++i)
1268 Elements[i]));