Lines Matching refs:STy
709 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
711 const StructLayout *SL = DL.getStructLayout(STy);
1377 } else if (StructType *STy = dyn_cast<StructType>(ElementTy)) {
1378 if (STy->element_begin() == STy->element_end())
1380 ElementTy = *STy->element_begin();
1442 StructType *STy = dyn_cast<StructType>(Ty);
1443 if (!STy)
1446 const StructLayout *SL = DL.getStructLayout(STy);
1452 Type *ElementTy = STy->getElementType(Index);
1777 Type *STy = SI->getValueOperand()->getType();
1779 assert(STy->isIntegerTy());
1780 STy = SplitIntTy;
1782 if (!canConvertValue(DL, STy, SliceTy))
3066 if (StructType *STy = dyn_cast<StructType>(Ty)) {
3069 for (unsigned Idx = 0, Size = STy->getNumElements(); Idx != Size;
3074 emitSplitOps(STy->getElementType(Idx), Agg, Name + "." + Twine(Idx));
3186 } else if (StructType *STy = dyn_cast<StructType>(Ty)) {
3187 const StructLayout *SL = DL.getStructLayout(STy);
3189 InnerTy = STy->getElementType(Index);
3258 StructType *STy = dyn_cast<StructType>(Ty);
3259 if (!STy)
3262 const StructLayout *SL = DL.getStructLayout(STy);
3272 Type *ElementTy = STy->getElementType(Index);
3288 StructType::element_iterator EI = STy->element_begin() + Index,
3289 EE = STy->element_end();
3303 EE = STy->element_begin() + EndIndex;
3308 StructType::get(STy->getContext(), makeArrayRef(EI, EE), STy->isPacked());