Lines Matching refs:STy
736 if (StructType *STy = GTI.getStructTypeOrNull()) {
738 const StructLayout *SL = DL.getStructLayout(STy);
1428 } else if (StructType *STy = dyn_cast<StructType>(ElementTy)) {
1429 if (STy->element_begin() == STy->element_end())
1431 ElementTy = *STy->element_begin();
1495 StructType *STy = dyn_cast<StructType>(Ty);
1496 if (!STy)
1499 const StructLayout *SL = DL.getStructLayout(STy);
1505 Type *ElementTy = STy->getElementType(Index);
1846 Type *STy = SI->getValueOperand()->getType();
1848 assert(STy->isIntegerTy());
1849 STy = SplitIntTy;
1851 if (!canConvertValue(DL, STy, SliceTy))
3327 if (StructType *STy = dyn_cast<StructType>(Ty)) {
3330 for (unsigned Idx = 0, Size = STy->getNumElements(); Idx != Size;
3335 emitSplitOps(STy->getElementType(Idx), Agg, Name + "." + Twine(Idx));
3582 } else if (StructType *STy = dyn_cast<StructType>(Ty)) {
3583 const StructLayout *SL = DL.getStructLayout(STy);
3585 InnerTy = STy->getElementType(Index);
3656 StructType *STy = dyn_cast<StructType>(Ty);
3657 if (!STy)
3660 const StructLayout *SL = DL.getStructLayout(STy);
3670 Type *ElementTy = STy->getElementType(Index);
3686 StructType::element_iterator EI = STy->element_begin() + Index,
3687 EE = STy->element_end();
3701 EE = STy->element_begin() + EndIndex;
3706 StructType::get(STy->getContext(), makeArrayRef(EI, EE), STy->isPacked());