Lines Matching defs:STy
79 void finishType(StructType *DTy, StructType *STy, ArrayRef<Type *> ETypes);
116 if (auto *STy = dyn_cast<StructType>(Ty))
117 if (STy->hasName())
118 STy->setName("");
228 void TypeMapTy::finishType(StructType *DTy, StructType *STy,
230 DTy->setBody(ETypes, STy->isPacked());
232 // Steal STy's name.
233 if (STy->hasName()) {
234 SmallString<16> TmpName = STy->getName();
235 STy->setName("");
292 auto *STy = cast<StructType>(Ty);
293 finishType(DTy, STy, ElementTypes);
323 auto *STy = cast<StructType>(Ty);
324 bool IsPacked = STy->isPacked();
329 if (STy->isOpaque()) {
330 DstStructTypesSet.addOpaque(STy);
336 STy->setName("");
341 DstStructTypesSet.addNonOpaque(STy);
346 finishType(DTy, STy, ElementTypes);