Lines Matching refs:StructType
51 SmallVector<StructType*, 16> SrcDefinitionsToResolve;
55 SmallPtrSet<StructType*, 16> DstResolvedOpaqueTypes;
137 if (StructType *SSTy = dyn_cast<StructType>(SrcTy)) {
150 if (cast<StructType>(DstTy)->isOpaque()) {
152 if (!DstResolvedOpaqueTypes.insert(cast<StructType>(DstTy)))
174 } else if (StructType *DSTy = dyn_cast<StructType>(DstTy)) {
175 StructType *SSTy = cast<StructType>(SrcTy);
210 StructType *SrcSTy = SrcDefinitionsToResolve.pop_back_val();
211 StructType *DstSTy = cast<StructType>(MappedTypes[SrcSTy]);
261 if (!isa<StructType>(Ty) || cast<StructType>(Ty)->isLiteral()) {
303 return *Entry = StructType::get(Ty->getContext(), ElementTypes,
304 cast<StructType>(Ty)->isPacked());
331 StructType *STy = cast<StructType>(Ty);
340 StructType *DTy = StructType::create(STy->getContext());
594 SmallPtrSet<StructType*, 32> SrcStructTypesSet(SrcStructTypes.begin(),
599 SmallPtrSet<StructType*, 32> DstStructTypesSet(DstStructTypes.begin(),
603 StructType *ST = SrcStructTypes[i];
614 if (StructType *DST = DstM->getTypeByName(ST->getName().substr(0, DotPos)))