Searched refs:toArrayIndex (Results 1 – 14 of 14) sorted by relevance
33 if (Prev.toArrayIndex() == size()) in getNext()39 assert(Index.toArrayIndex() < Records.size()); in getType()40 return CVType(Records[Index.toArrayIndex()]); in getType()47 uint32_t I = Index.toArrayIndex(); in getTypeName()56 return Index.toArrayIndex() <= size(); in contains()
86 return Records[Index.toArrayIndex()].Offset; in getOffsetOfType()96 return Records[Index.toArrayIndex()].Type; in getType()109 return Records[Index.toArrayIndex()].Type; in tryGetType()125 uint32_t I = Index.toArrayIndex(); in getTypeName()138 if (Records.size() <= Index.toArrayIndex()) in contains()140 if (!Records[Index.toArrayIndex()].Type.valid()) in contains()158 uint32_t MinSize = Index.toArrayIndex() + 1; in ensureCapacityFor()240 uint32_t Offset = Records[LargestTypeIndex.toArrayIndex()].Offset; in fullScanForType()250 auto Idx = CurrentTI.toArrayIndex(); in fullScanForType()271 auto Idx = Begin.toArrayIndex(); in visitRange()
48 CVType Type(SeenRecords[Index.toArrayIndex()]); in getType()60 return Index.toArrayIndex() < SeenRecords.size(); in contains()110 assert(Index.toArrayIndex() < SeenRecords.size() && in replaceType()121 auto Result = HashedRecords.try_emplace(Hash, Index.toArrayIndex()); in replaceType()130 SeenRecords[Index.toArrayIndex()] = Record; in replaceType()131 SeenHashes[Index.toArrayIndex()] = Hash; in replaceType()
49 CVType Type(SeenRecords[Index.toArrayIndex()]); in getType()61 return Index.toArrayIndex() < SeenRecords.size(); in contains()102 Record = SeenRecords[ActualTI.toArrayIndex()]; in insertRecordAs()123 assert(Index.toArrayIndex() < SeenRecords.size() && in replaceType()133 auto Result = HashedRecords.try_emplace(WeakHash, Index.toArrayIndex()); in replaceType()144 SeenRecords[Index.toArrayIndex()] = Record; in replaceType()
46 return CVType(SeenRecords[Index.toArrayIndex()]); in getType()57 return Index.toArrayIndex() < SeenRecords.size(); in contains()97 assert(Index.toArrayIndex() < SeenRecords.size() && in replaceType()103 SeenRecords[Index.toArrayIndex()] = Record; in replaceType()
61 if (TI.toArrayIndex() >= Prev.size() || in hashType()62 Prev[TI.toArrayIndex()].empty()) { in hashType()67 BytesToHash = Prev[TI.toArrayIndex()].Hash; in hashType()
367 GloballyHashedType H = GlobalHashes[CurIndex.toArrayIndex()]; in remapType()492 PCHInfo.emplace(PCHMergerInfo{EP.getSignature(), CurIndex.toArrayIndex()}); in shouldRemapType()
36 return TI.toArrayIndex() <= NumTypeRecords && in isTypeReferenced()37 TypeReferenced.test(TI.toArrayIndex()); in isTypeReferenced()
95 if (RefTI.isSimple() || TypeOrIdReferenced.test(RefTI.toArrayIndex())) in addOneTypeRef()99 TypeOrIdReferenced.set(RefTI.toArrayIndex()); in addOneTypeRef()
234 if (Index.toArrayIndex() >= HashValues.size()) { in visitTypeBegin()237 uint32_t Hash = HashValues[Index.toArrayIndex()]; in visitTypeBegin()
310 if (TI.toArrayIndex() >= Types.capacity()) { in dumpTypeIndex()
118 uint32_t toArrayIndex() const { in toArrayIndex() function270 return A.toArrayIndex() - B.toArrayIndex();
220 if (ti.toArrayIndex() >= tpiOrIpiMap.size()) in remapTypeIndex()222 ti = tpiOrIpiMap[ti.toArrayIndex()]; in remapTypeIndex()350 ++counts[dstIdx.toArrayIndex()]; in mergeDebugT()402 ++m->tpiCounts[ti.toArrayIndex()]; in mergeDebugT()405 ++m->ipiCounts[ti.toArrayIndex()]; in mergeDebugT()1163 source->indexMapStorage[cell.getGHashIdx()].toArrayIndex(); in mergeTypesWithGHash()1229 loadPdbTypeIndexFromCell(g, fakeCellIndex.toArrayIndex()); in fillMapFromGHashes()
155 uint32_t HV = HashValues[TIB.toArrayIndex()]; in buildHashMap()