Home | History | Annotate | Download | only in VMCore

Lines Matching refs:STy

176     StructType *STy = *I;
179 if (STy->isLiteral())
182 if (STy->getName().empty())
183 NumberedTypes[STy] = NextNumber++;
185 *NextToUse++ = STy;
228 StructType *STy = cast<StructType>(Ty);
230 if (STy->isLiteral())
231 return printStructBody(STy, OS);
233 if (!STy->getName().empty())
234 return PrintLLVMName(OS, STy->getName(), LocalPrefix);
236 DenseMap<StructType*, unsigned>::iterator I = NumberedTypes.find(STy);
240 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())
2108 if (StructType *STy = dyn_cast<StructType>(const_cast<Type*>(this)))
2109 if (!STy->isLiteral()) {
2111 TP.printStructBody(STy, OS);