Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DLazyRandomTypeCollection.cpp88 return Records[Index.toArrayIndex()].Offset; in getOffsetOfType()
96 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()
154 uint32_t MinSize = Index.toArrayIndex() + 1; in ensureCapacityFor()
234 uint32_t Offset = Records[LargestTypeIndex.toArrayIndex()].Offset; in fullScanForType()
244 auto Idx = CurrentTI.toArrayIndex(); in fullScanForType()
265 auto Idx = Begin.toArrayIndex(); in visitRange()
DTypeTableCollection.cpp33 if (Prev.toArrayIndex() == size()) in getNext()
39 assert(Index.toArrayIndex() < Records.size()); in getType()
40 ArrayRef<uint8_t> Bytes = Records[Index.toArrayIndex()]; in getType()
51 uint32_t I = Index.toArrayIndex(); in getTypeName()
60 return Index.toArrayIndex() <= size(); in contains()
DMergingTypeTableBuilder.cpp57 Type.RecordData = SeenRecords[Index.toArrayIndex()]; in getType()
72 return Index.toArrayIndex() < SeenRecords.size(); in contains()
111 Record = SeenRecords[ActualTI.toArrayIndex()]; in insertRecordAs()
DTypeHashing.cpp58 if (TI.isSimple() || TI.isNoneType() || TI.toArrayIndex() >= Prev.size()) { in hashType()
62 BytesToHash = Prev[TI.toArrayIndex()].Hash; in hashType()
DAppendingTypeTableBuilder.cpp55 Type.RecordData = SeenRecords[Index.toArrayIndex()]; in getType()
70 return Index.toArrayIndex() < SeenRecords.size(); in contains()
DGlobalTypeTableBuilder.cpp57 Type.RecordData = SeenRecords[Index.toArrayIndex()]; in getType()
75 return Index.toArrayIndex() < SeenRecords.size(); in contains()
DTypeStreamMerger.cpp357 GloballyHashedType H = GlobalHashes[CurIndex.toArrayIndex()]; in remapType()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DTypeIndex.h118 uint32_t toArrayIndex() const { in toArrayIndex() function
252 return A.toArrayIndex() - B.toArrayIndex();
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/CodeView/
DTypeHashingTest.cpp49 return Hashes[TI.toArrayIndex()].Hash; in hash_of()
DRandomAccessVisitorTest.cpp147 if (GlobalState->TypeVector[TI.toArrayIndex()] != in ValidateVisitedRecord()
151 if (GlobalState->Records[TI.toArrayIndex()] != in ValidateVisitedRecord()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DMinimalTypeDumper.cpp206 if (Index.toArrayIndex() >= HashValues.size()) { in visitTypeBegin()
209 uint32_t Hash = HashValues[Index.toArrayIndex()]; in visitTypeBegin()
DBytesOutputStyle.cpp311 if (TI.toArrayIndex() >= Types.capacity()) { in dumpTypeIndex()