Lines Matching refs:STy

737         if (StructType *STy = GTI.getStructTypeOrNull()) {  in visitGetElementPtrInst()  local
739 const StructLayout *SL = DL.getStructLayout(STy); in visitGetElementPtrInst()
1481 } else if (StructType *STy = dyn_cast<StructType>(ElementTy)) { in getNaturalGEPWithType() local
1482 if (STy->element_begin() == STy->element_end()) in getNaturalGEPWithType()
1484 ElementTy = *STy->element_begin(); in getNaturalGEPWithType()
1838 Type *STy = SI->getValueOperand()->getType(); in isVectorPromotionViableForSlice() local
1840 if (STy->isStructTy()) in isVectorPromotionViableForSlice()
1843 assert(STy->isIntegerTy()); in isVectorPromotionViableForSlice()
1844 STy = SplitIntTy; in isVectorPromotionViableForSlice()
1846 if (!canConvertValue(DL, STy, SliceTy)) in isVectorPromotionViableForSlice()
3343 if (StructType *STy = dyn_cast<StructType>(Ty)) { in emitSplitOps() local
3346 for (unsigned Idx = 0, Size = STy->getNumElements(); Idx != Size; in emitSplitOps()
3351 emitSplitOps(STy->getElementType(Idx), Agg, Name + "." + Twine(Idx)); in emitSplitOps()
3607 } else if (StructType *STy = dyn_cast<StructType>(Ty)) { in stripAggregateTypeWrapping() local
3608 const StructLayout *SL = DL.getStructLayout(STy); in stripAggregateTypeWrapping()
3610 InnerTy = STy->getElementType(Index); in stripAggregateTypeWrapping()
3681 StructType *STy = dyn_cast<StructType>(Ty); in getTypePartition() local
3682 if (!STy) in getTypePartition()
3685 const StructLayout *SL = DL.getStructLayout(STy); in getTypePartition()
3695 Type *ElementTy = STy->getElementType(Index); in getTypePartition()
3711 StructType::element_iterator EI = STy->element_begin() + Index, in getTypePartition()
3712 EE = STy->element_end(); in getTypePartition()
3726 EE = STy->element_begin() + EndIndex; in getTypePartition()
3731 StructType::get(STy->getContext(), makeArrayRef(EI, EE), STy->isPacked()); in getTypePartition()