Lines Matching defs:STy
120 if (auto *STy = dyn_cast<StructType>(Ty))
121 if (STy->hasName())
122 STy->setName("");
304 auto *STy = cast<StructType>(Ty);
305 bool IsPacked = STy->isPacked();
310 if (STy->isOpaque()) {
311 DstStructTypesSet.addOpaque(STy);
317 STy->setName("");
322 DstStructTypesSet.addNonOpaque(STy);
327 StructType::create(Ty->getContext(), ElementTypes, "", STy->isPacked());
329 // Steal STy's name.
330 if (STy->hasName()) {
331 SmallString<16> TmpName = STy->getName();
332 STy->setName("");