Lines Matching refs:STy
175 StructType *STy = *I;
178 if (STy->isLiteral())
181 if (STy->getName().empty())
182 NumberedTypes[STy] = NextNumber++;
184 *NextToUse++ = STy;
227 StructType *STy = cast<StructType>(Ty);
229 if (STy->isLiteral())
230 return printStructBody(STy, OS);
232 if (!STy->getName().empty())
233 return PrintLLVMName(OS, STy->getName(), LocalPrefix);
235 DenseMap<StructType*, unsigned>::iterator I = NumberedTypes.find(STy);
239 OS << "%\"type " << STy << '\"';
270 void TypePrinting::printStructBody(StructType *STy, raw_ostream &OS) {
271 if (STy->isOpaque()) {
276 if (STy->isPacked())
279 if (STy->getNumElements() == 0) {
282 StructType::element_iterator I = STy->element_begin();
285 for (StructType::element_iterator E = STy->element_end(); I != E; ++I) {
292 if (STy->isPacked())
2155 if (StructType *STy = dyn_cast<StructType>(const_cast<Type*>(this)))
2156 if (!STy->isLiteral()) {
2158 TP.printStructBody(STy, OS);