Home | History | Annotate | Download | only in IR

Lines Matching refs:STy

173     StructType *STy = *I;
176 if (STy->isLiteral())
179 if (STy->getName().empty())
180 NumberedTypes[STy] = NextNumber++;
182 *NextToUse++ = STy;
225 StructType *STy = cast<StructType>(Ty);
227 if (STy->isLiteral())
228 return printStructBody(STy, OS);
230 if (!STy->getName().empty())
231 return PrintLLVMName(OS, STy->getName(), LocalPrefix);
233 DenseMap<StructType*, unsigned>::iterator I = NumberedTypes.find(STy);
237 OS << "%\"type " << STy << '\"';
268 void TypePrinting::printStructBody(StructType *STy, raw_ostream &OS) {
269 if (STy->isOpaque()) {
274 if (STy->isPacked())
277 if (STy->getNumElements() == 0) {
280 StructType::element_iterator I = STy->element_begin();
283 for (StructType::element_iterator E = STy->element_end(); I != E; ++I) {
290 if (STy->isPacked())
2152 if (StructType *STy = dyn_cast<StructType>(const_cast<Type*>(this)))
2153 if (!STy->isLiteral()) {
2155 TP.printStructBody(STy, OS);