Lines Matching defs:ST
168 std::string getStructName(StructType *ST);
365 std::string CWriter::getStructName(StructType *ST) {
366 if (!ST->isLiteral() && !ST->getName().empty())
367 return CBEMangle("l_"+ST->getName().str());
369 return "l_unnamed_" + utostr(UnnamedStructIDs[ST]);
1079 StructType *ST = cast<StructType>(CPV->getType());
1081 if (ST->getNumElements()) {
1083 printConstant(Constant::getNullValue(ST->getElementType(0)), Static);
1084 for (unsigned i = 1, e = ST->getNumElements(); i != e; ++i) {
1086 printConstant(Constant::getNullValue(ST->getElementType(i)), Static);
2053 StructType *ST = StructTypes[i];
2055 if (ST->isLiteral() || ST->getName().empty())
2056 UnnamedStructIDs[ST] = NextTypeID++;
2058 std::string Name = getStructName(ST);
2094 if (StructType *ST = dyn_cast<StructType>(Ty)) {
2099 printType(Out, ST, false, getStructName(ST), true);
3226 else if (StructType *ST = dyn_cast<StructType>(CI.getType())) {
3227 for (unsigned i = 0, e = ST->getNumElements(); i != e; ++i)