Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/DebugInfo/CodeView/
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()
DLazyRandomTypeCollection.cpp86 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()
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()
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()
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()
DTypeHashing.cpp61 if (TI.toArrayIndex() >= Prev.size() || in hashType()
62 Prev[TI.toArrayIndex()].empty()) { in hashType()
67 BytesToHash = Prev[TI.toArrayIndex()].Hash; in hashType()
DTypeStreamMerger.cpp367 GloballyHashedType H = GlobalHashes[CurIndex.toArrayIndex()]; in remapType()
492 PCHInfo.emplace(PCHMergerInfo{EP.getSignature(), CurIndex.toArrayIndex()}); in shouldRemapType()
/openbsd/src/gnu/llvm/llvm/tools/llvm-pdbutil/
DTypeReferenceTracker.h36 return TI.toArrayIndex() <= NumTypeRecords && in isTypeReferenced()
37 TypeReferenced.test(TI.toArrayIndex()); in isTypeReferenced()
DTypeReferenceTracker.cpp95 if (RefTI.isSimple() || TypeOrIdReferenced.test(RefTI.toArrayIndex())) in addOneTypeRef()
99 TypeOrIdReferenced.set(RefTI.toArrayIndex()); in addOneTypeRef()
DMinimalTypeDumper.cpp234 if (Index.toArrayIndex() >= HashValues.size()) { in visitTypeBegin()
237 uint32_t Hash = HashValues[Index.toArrayIndex()]; in visitTypeBegin()
DBytesOutputStyle.cpp310 if (TI.toArrayIndex() >= Types.capacity()) { in dumpTypeIndex()
/openbsd/src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
DTypeIndex.h118 uint32_t toArrayIndex() const { in toArrayIndex() function
270 return A.toArrayIndex() - B.toArrayIndex();
/openbsd/src/gnu/llvm/lld/COFF/
DDebugTypes.cpp220 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()
/openbsd/src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
DTpiStream.cpp155 uint32_t HV = HashValues[TIB.toArrayIndex()]; in buildHashMap()