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.cpp83 return Records[Index.toArrayIndex()].Offset; in getOffsetOfType()
93 return Records[Index.toArrayIndex()].Type; in getType()
106 return Records[Index.toArrayIndex()].Type; in tryGetType()
122 uint32_t I = Index.toArrayIndex(); in getTypeName()
135 if (Records.size() <= Index.toArrayIndex()) in contains()
137 if (!Records[Index.toArrayIndex()].Type.valid()) in contains()
155 uint32_t MinSize = Index.toArrayIndex() + 1; in ensureCapacityFor()
237 uint32_t Offset = Records[LargestTypeIndex.toArrayIndex()].Offset; in fullScanForType()
247 auto Idx = CurrentTI.toArrayIndex(); in fullScanForType()
268 auto Idx = Begin.toArrayIndex(); in visitRange()
H A DTypeTableCollection.cpp32 if (Prev.toArrayIndex() == size()) in getNext()
38 assert(Index.toArrayIndex() < Records.size()); in getType()
39 return CVType(Records[Index.toArrayIndex()]); in getType()
46 uint32_t I = Index.toArrayIndex(); in getTypeName()
55 return Index.toArrayIndex() <= size(); in contains()
H A DGlobalTypeTableBuilder.cpp47 CVType Type(SeenRecords[Index.toArrayIndex()]); in getType()
59 return Index.toArrayIndex() < SeenRecords.size(); in contains()
109 assert(Index.toArrayIndex() < SeenRecords.size() && in replaceType()
120 auto Result = HashedRecords.try_emplace(Hash, Index.toArrayIndex()); in replaceType()
129 SeenRecords[Index.toArrayIndex()] = Record; in replaceType()
130 SeenHashes[Index.toArrayIndex()] = Hash; in replaceType()
H A DMergingTypeTableBuilder.cpp48 CVType Type(SeenRecords[Index.toArrayIndex()]); in getType()
60 return Index.toArrayIndex() < SeenRecords.size(); in contains()
101 Record = SeenRecords[ActualTI.toArrayIndex()]; in insertRecordAs()
122 assert(Index.toArrayIndex() < SeenRecords.size() && in replaceType()
132 auto Result = HashedRecords.try_emplace(WeakHash, Index.toArrayIndex()); in replaceType()
143 SeenRecords[Index.toArrayIndex()] = Record; in replaceType()
H A DAppendingTypeTableBuilder.cpp45 return CVType(SeenRecords[Index.toArrayIndex()]); in getType()
56 return Index.toArrayIndex() < SeenRecords.size(); in contains()
96 assert(Index.toArrayIndex() < SeenRecords.size() && in replaceType()
102 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.h119 uint32_t toArrayIndex() const { in toArrayIndex() function
271 return A.toArrayIndex() - B.toArrayIndex();
/freebsd/contrib/llvm-project/lld/COFF/
H A DDebugTypes.cpp221 if (ti.toArrayIndex() >= tpiOrIpiMap.size()) in remapTypeIndex()
223 ti = tpiOrIpiMap[ti.toArrayIndex()]; in remapTypeIndex()
351 ++counts[dstIdx.toArrayIndex()]; in mergeDebugT()
407 ++m->tpiCounts[ti.toArrayIndex()]; in mergeDebugT()
410 ++m->ipiCounts[ti.toArrayIndex()]; in mergeDebugT()
1174 source->indexMapStorage[cell.getGHashIdx()].toArrayIndex(); in mergeTypesWithGHash()
1239 loadPdbTypeIndexFromCell(g, fakeCellIndex.toArrayIndex()); in fillMapFromGHashes()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DTpiStream.cpp154 uint32_t HV = HashValues[TIB.toArrayIndex()]; in buildHashMap()