Home | History | Annotate | Download | only in Linker

Lines Matching defs:Elements

173   SmallVector<Type*, 16> Elements;
189 Elements.resize(SrcSTy->getNumElements());
190 for (unsigned i = 0, e = Elements.size(); i != e; ++i)
191 Elements[i] = getImpl(SrcSTy->getElementType(i));
193 DstSTy->setBody(Elements, SrcSTy->isPacked());
227 // If this is not a named struct type, then just map all of the elements and
235 // Remap all of the elements, keeping track of whether any of them change.
761 SmallVector<Constant*, 16> Elements;
764 Elements.push_back(I->getOperand(i));
769 Elements.append(DstAT->getNumElements(), Constant::getNullValue(EltTy));
775 Elements.push_back(I->getOperand(i));
780 Elements.append(SrcAT->getNumElements(), Constant::getNullValue(EltTy));
783 AVI.NewGV->setInitializer(ConstantArray::get(NewType, Elements));
865 // Add Src elements into Dest node.