Lines Matching refs:TypeList

438   std::vector<Type*> TypeList;
640 std::vector<Type*>().swap(TypeList);
1046 if (ID >= TypeList.size())
1049 if (Type *Ty = TypeList[ID])
1054 return TypeList[ID] = createIdentifiedStructType(Context);
1073 if (ID >= TypeList.size())
1074 TypeList.resize(ID+1);
1076 return TypeList[ID];
1170 if (!TypeList.empty())
1187 if (NumRecords != TypeList.size())
1206 TypeList.resize(Record[0]);
1320 if (NumRecords >= TypeList.size())
1324 StructType *Res = cast_or_null<StructType>(TypeList[NumRecords]);
1327 TypeList[NumRecords] = nullptr;
1349 if (NumRecords >= TypeList.size())
1353 StructType *Res = cast_or_null<StructType>(TypeList[NumRecords]);
1356 TypeList[NumRecords] = nullptr;
1381 if (NumRecords >= TypeList.size())
1384 assert(!TypeList[NumRecords] && "Already read type?");
1385 TypeList[NumRecords++] = ResultTy;
1394 if (!TypeList.empty())
1414 if (NextTypeID != TypeList.size())
1418 if (NumTypesRead != TypeList.size()) {
1456 TypeList.resize(Record[0]);
1491 if (NextTypeID < TypeList.size() && TypeList[NextTypeID] == 0)
1495 if (NextTypeID >= TypeList.size()) break;
1497 if (TypeList[NextTypeID] &&
1498 !cast<StructType>(TypeList[NextTypeID])->isOpaque())
1502 if (TypeList[NextTypeID] == 0)
1503 TypeList[NextTypeID] = StructType::create(Context, "");
1516 cast<StructType>(TypeList[NextTypeID])->setBody(EltTys, Record[0]);
1517 ResultTy = TypeList[NextTypeID];
1518 TypeList[NextTypeID] = 0;
1581 if (NextTypeID >= TypeList.size())
1584 if (ResultTy && TypeList[NextTypeID] == 0) {
1588 TypeList[NextTypeID] = ResultTy;
1634 if (TypeID >= TypeList.size())
1638 if (StructType *STy = dyn_cast<StructType>(TypeList[TypeID]))
1947 if (Record[0] >= TypeList.size())
1949 CurTy = TypeList[Record[0]];