Lines Matching refs:Layout
348 // Try to fill in Layout from Ty, returning true on success. Alignment is
351 VectorLayout &Layout, const DataLayout &DL) {
353 Layout.VecTy = dyn_cast<VectorType>(Ty);
354 if (!Layout.VecTy)
358 Layout.ElemTy = Layout.VecTy->getElementType();
359 if (DL.getTypeSizeInBits(Layout.ElemTy) !=
360 DL.getTypeStoreSizeInBits(Layout.ElemTy))
364 Layout.VecAlign = Alignment;
366 Layout.VecAlign = DL.getABITypeAlignment(Layout.VecTy);
367 Layout.ElemSize = DL.getTypeStoreSize(Layout.ElemTy);
597 VectorLayout Layout;
598 if (!getVectorLayout(LI.getType(), LI.getAlignment(), Layout,
602 unsigned NumElems = Layout.VecTy->getNumElements();
609 Res[I] = Builder.CreateAlignedLoad(Ptr[I], Layout.getElemAlign(I),
621 VectorLayout Layout;
623 if (!getVectorLayout(FullValue->getType(), SI.getAlignment(), Layout,
627 unsigned NumElems = Layout.VecTy->getNumElements();
635 unsigned Align = Layout.getElemAlign(I);