Home | History | Annotate | Download | only in IR

Lines Matching defs:STy

437     StructType *STy = *I;
440 if (STy->isLiteral())
443 if (STy->getName().empty())
444 NumberedTypes[STy] = NextNumber++;
446 *NextToUse++ = STy;
490 StructType *STy = cast<StructType>(Ty);
492 if (STy->isLiteral())
493 return printStructBody(STy, OS);
495 if (!STy->getName().empty())
496 return PrintLLVMName(OS, STy->getName(), LocalPrefix);
498 DenseMap<StructType*, unsigned>::iterator I = NumberedTypes.find(STy);
502 OS << "%\"type " << STy << '\"';
531 void TypePrinting::printStructBody(StructType *STy, raw_ostream &OS) {
532 if (STy->isOpaque()) {
537 if (STy->isPacked())
540 if (STy->getNumElements() == 0) {
543 StructType::element_iterator I = STy->element_begin();
546 for (StructType::element_iterator E = STy->element_end(); I != E; ++I) {
553 if (STy->isPacked())
3267 if (StructType *STy = dyn_cast<StructType>(const_cast<Type*>(this)))
3268 if (!STy->isLiteral()) {
3270 TP.printStructBody(STy, OS);