Home
last modified time | relevance | path

Searched refs:toArrayIndex (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DLazyRandomTypeCollection.cpp85 return Records[Index.toArrayIndex()].Offset; in getOffsetOfType()
95 return Records[Index.toArrayIndex()].Type; in getType()
108 return Records[Index.toArrayIndex()].Type; in tryGetType()
124 uint32_t I = Index.toArrayIndex(); in getTypeName()
137 if (Records.size() <= Index.toArrayIndex()) in contains()
139 if (!Records[Index.toArrayIndex()].Type.valid()) in contains()
157 uint32_t MinSize = Index.toArrayIndex() + 1; in ensureCapacityFor()
239 uint32_t Offset = Records[LargestTypeIndex.toArrayIndex()].Offset; in fullScanForType()
249 auto Idx = CurrentTI.toArrayIndex(); in fullScanForType()
270 auto Idx = Begin.toArrayIndex(); in visitRange()
[all...]
H A DTypeTableCollection.cpp33 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()
H A DGlobalTypeTableBuilder.cpp48 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()
H A DMergingTypeTableBuilder.cpp49 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()
H A DAppendingTypeTableBuilder.cpp46 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()
H A DTypeHashing.cpp61 if (TI.toArrayIndex() >= Prev.size() || in hashType()
62 Prev[TI.toArrayIndex()].empty()) { in hashType()
67 BytesToHash = Prev[TI.toArrayIndex()].Hash; in hashType()
H A DTypeStreamMerger.cpp367 GloballyHashedType H = GlobalHashes[CurIndex.toArrayIndex()]; in remapType()
492 PCHInfo.emplace(PCHMergerInfo{EP.getSignature(), CurIndex.toArrayIndex()}); in shouldRemapType()
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DTypeReferenceTracker.h36 return TI.toArrayIndex() <= NumTypeRecords && in isTypeReferenced()
37 TypeReferenced.test(TI.toArrayIndex()); in isTypeReferenced()
H A DTypeReferenceTracker.cpp95 if (RefTI.isSimple() || TypeOrIdReferenced.test(RefTI.toArrayIndex())) in addOneTypeRef()
99 TypeOrIdReferenced.set(RefTI.toArrayIndex()); in addOneTypeRef()
H A DMinimalTypeDumper.cpp236 if (Index.toArrayIndex() >= HashValues.size()) { in visitTypeBegin()
239 uint32_t Hash = HashValues[Index.toArrayIndex()]; in visitTypeBegin()
H A DBytesOutputStyle.cpp310 if (TI.toArrayIndex() >= Types.capacity()) { in dumpTypeIndex()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeIndex.h118 uint32_t toArrayIndex() const { in toArrayIndex() function
270 return A.toArrayIndex() - B.toArrayIndex();
/freebsd/contrib/llvm-project/lld/COFF/
H A DDebugTypes.cpp222 if (ti.toArrayIndex() >= tpiOrIpiMap.size()) in remapTypeIndex()
224 ti = tpiOrIpiMap[ti.toArrayIndex()]; in remapTypeIndex()
352 ++counts[dstIdx.toArrayIndex()]; in mergeDebugT()
404 ++m->tpiCounts[ti.toArrayIndex()]; in mergeDebugT()
407 ++m->ipiCounts[ti.toArrayIndex()]; in mergeDebugT()
1168 source->indexMapStorage[cell.getGHashIdx()].toArrayIndex(); in mergeTypesWithGHash()
1234 loadPdbTypeIndexFromCell(g, fakeCellIndex.toArrayIndex()); in fillMapFromGHashes()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DTpiStream.cpp155 uint32_t HV = HashValues[TIB.toArrayIndex()]; in buildHashMap()