reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
235 Type **Entry = &MappedTypes[Ty]; 240 bool IsUniqued = !isa<StructType>(Ty) || cast<StructType>(Ty)->isLiteral(); 240 bool IsUniqued = !isa<StructType>(Ty) || cast<StructType>(Ty)->isLiteral(); 243 StructType *STy = cast<StructType>(Ty); 254 assert(!(Pair.first != Ty && Pair.second == Ty) && 254 assert(!(Pair.first != Ty && Pair.second == Ty) && 260 StructType *DTy = StructType::create(Ty->getContext()); 271 if (Ty->getNumContainedTypes() == 0 && IsUniqued) 272 return *Entry = Ty; 276 ElementTypes.resize(Ty->getNumContainedTypes()); 277 for (unsigned I = 0, E = Ty->getNumContainedTypes(); I != E; ++I) { 278 ElementTypes[I] = get(Ty->getContainedType(I), Visited); 279 AnyChange |= ElementTypes[I] != Ty->getContainedType(I); 283 Entry = &MappedTypes[Ty]; 287 auto *STy = cast<StructType>(Ty); 297 return *Entry = Ty; 300 switch (Ty->getTypeID()) { 305 cast<ArrayType>(Ty)->getNumElements()); 308 cast<VectorType>(Ty)->getNumElements()); 311 cast<PointerType>(Ty)->getAddressSpace()); 315 cast<FunctionType>(Ty)->isVarArg()); 317 auto *STy = cast<StructType>(Ty); 320 return *Entry = StructType::get(Ty->getContext(), ElementTypes, IsPacked); 325 return *Entry = Ty; 336 return *Entry = Ty; 339 StructType *DTy = StructType::create(Ty->getContext());