Home | History | Annotate | Download | only in Scalar

Lines Matching refs:STy

1200     } else if (StructType *STy = dyn_cast<StructType>(ElementTy)) {
1201 if (STy->element_begin() == STy->element_end())
1203 ElementTy = *STy->element_begin();
1261 StructType *STy = dyn_cast<StructType>(Ty);
1262 if (!STy)
1265 const StructLayout *SL = DL.getStructLayout(STy);
1271 Type *ElementTy = STy->getElementType(Index);
1523 Type *STy = SI->getValueOperand()->getType();
1526 assert(STy->isIntegerTy());
1527 STy = SplitIntTy;
1529 if (!canConvertValue(DL, STy, SliceTy))
2726 if (StructType *STy = dyn_cast<StructType>(Ty)) {
2729 for (unsigned Idx = 0, Size = STy->getNumElements(); Idx != Size;
2734 emitSplitOps(STy->getElementType(Idx), Agg, Name + "." + Twine(Idx));
2845 } else if (StructType *STy = dyn_cast<StructType>(Ty)) {
2846 const StructLayout *SL = DL.getStructLayout(STy);
2848 InnerTy = STy->getElementType(Index);
2917 StructType *STy = dyn_cast<StructType>(Ty);
2918 if (!STy)
2921 const StructLayout *SL = DL.getStructLayout(STy);
2931 Type *ElementTy = STy->getElementType(Index);
2947 StructType::element_iterator EI = STy->element_begin() + Index,
2948 EE = STy->element_end();
2962 EE = STy->element_begin() + EndIndex;
2966 StructType *SubTy = StructType::get(STy->getContext(), makeArrayRef(EI, EE),
2967 STy->isPacked());