Lines Matching refs:TypeList

196   std::vector<Type*> TypeList;
403 std::vector<Type*>().swap(TypeList);
771 if (ID >= TypeList.size())
774 if (Type *Ty = TypeList[ID])
779 return TypeList[ID] = createIdentifiedStructType(Context);
798 if (ID >= TypeList.size())
799 TypeList.resize(ID+1);
801 return TypeList[ID];
894 if (!TypeList.empty())
911 if (NumRecords != TypeList.size())
930 TypeList.resize(Record[0]);
1025 if (NumRecords >= TypeList.size())
1029 StructType *Res = cast_or_null<StructType>(TypeList[NumRecords]);
1032 TypeList[NumRecords] = nullptr;
1054 if (NumRecords >= TypeList.size())
1058 StructType *Res = cast_or_null<StructType>(TypeList[NumRecords]);
1061 TypeList[NumRecords] = nullptr;
1086 if (NumRecords >= TypeList.size())
1089 assert(!TypeList[NumRecords] && "Already read type?");
1090 TypeList[NumRecords++] = ResultTy;
1099 if (!TypeList.empty())
1119 if (NextTypeID != TypeList.size())
1123 if (NumTypesRead != TypeList.size()) {
1161 TypeList.resize(Record[0]);
1196 if (NextTypeID < TypeList.size() && TypeList[NextTypeID] == 0)
1200 if (NextTypeID >= TypeList.size()) break;
1202 if (TypeList[NextTypeID] &&
1203 !cast<StructType>(TypeList[NextTypeID])->isOpaque())
1207 if (TypeList[NextTypeID] == 0)
1208 TypeList[NextTypeID] = StructType::create(Context, "");
1221 cast<StructType>(TypeList[NextTypeID])->setBody(EltTys, Record[0]);
1222 ResultTy = TypeList[NextTypeID];
1223 TypeList[NextTypeID] = 0;
1269 if (NextTypeID >= TypeList.size())
1272 if (ResultTy && TypeList[NextTypeID] == 0) {
1276 TypeList[NextTypeID] = ResultTy;
1322 if (TypeID >= TypeList.size())
1326 if (StructType *STy = dyn_cast<StructType>(TypeList[TypeID]))
1654 if (Record[0] >= TypeList.size())
1656 CurTy = TypeList[Record[0]];