Lines Matching defs:STy
178 StructType *STy = *I;
181 if (STy->isLiteral())
184 if (STy->getName().empty())
185 NumberedTypes[STy] = NextNumber++;
187 *NextToUse++ = STy;
230 StructType *STy = cast<StructType>(Ty);
232 if (STy->isLiteral())
233 return printStructBody(STy, OS);
235 if (!STy->getName().empty())
236 return PrintLLVMName(OS, STy->getName(), LocalPrefix);
238 DenseMap<StructType*, unsigned>::iterator I = NumberedTypes.find(STy);
242 OS << "%\"type " << STy << '\"';
271 void TypePrinting::printStructBody(StructType *STy, raw_ostream &OS) {
272 if (STy->isOpaque()) {
277 if (STy->isPacked())
280 if (STy->getNumElements() == 0) {
283 StructType::element_iterator I = STy->element_begin();
286 for (StructType::element_iterator E = STy->element_end(); I != E; ++I) {
293 if (STy->isPacked())
2221 if (StructType *STy = dyn_cast<StructType>(const_cast<Type*>(this)))
2222 if (!STy->isLiteral()) {
2224 TP.printStructBody(STy, OS);