Lines Matching defs:STy
1058 llvm::StructType *STy,
1061 const llvm::StructLayout *Layout = DL.getStructLayout(STy);
1066 for (unsigned i = 0, e = STy->getNumElements(); i != e; i++) {
1069 assert(!STy->isPacked());
1075 CurOp = llvm::Constant::getNullValue(STy->getElementType(i));
1089 if (NestedIntact && Values.size() == STy->getNumElements())
1091 return llvm::ConstantStruct::getAnon(Values, STy->isPacked());
1099 if (const auto STy = dyn_cast<llvm::StructType>(OrigTy))
1100 return constStructWithPadding(CGM, isPattern, STy, constant);
1252 if (auto *STy = dyn_cast<llvm::StructType>(Ty)) {
1253 if (STy == Loc.getElementType() ||
1254 (STy != Loc.getElementType() && IsTrivialAutoVarInitPattern)) {
1256 CGM.getDataLayout().getStructLayout(STy);