Home
last modified time | relevance | path

Searched refs:MDIndex (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/
DValueEnumerator.h74 struct MDIndex { struct
78 MDIndex() = default; argument
79 explicit MDIndex(unsigned F) : F(F) {} in MDIndex() function
92 using MetadataMapType = DenseMap<const Metadata *, MDIndex>; argument
DValueEnumerator.cpp668 auto Insertion = MetadataMap.insert(std::make_pair(MD, MDIndex(F))); in enumerateMetadataImpl()
669 MDIndex &Entry = Insertion.first->second; in enumerateMetadataImpl()
699 MDIndex &Index = MetadataMap[Local]; in EnumerateFunctionLocalMetadata()
737 SmallVector<MDIndex, 64> Order; in organizeMetadata()
748 llvm::sort(Order.begin(), Order.end(), [this](MDIndex LHS, MDIndex RHS) { in organizeMetadata()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.h69 struct MDIndex { struct
73 MDIndex() = default; argument
74 explicit MDIndex(unsigned F) : F(F) {} in MDIndex() argument
87 typedef DenseMap<const Metadata *, MDIndex> MetadataMapType; argument
DValueEnumerator.cpp635 auto Insertion = MetadataMap.insert(std::make_pair(MD, MDIndex(F))); in enumerateMetadataImpl()
636 MDIndex &Entry = Insertion.first->second; in enumerateMetadataImpl()
666 MDIndex &Index = MetadataMap[Local]; in EnumerateFunctionLocalMetadata()
704 SmallVector<MDIndex, 64> Order; in organizeMetadata()
715 std::sort(Order.begin(), Order.end(), [this](MDIndex LHS, MDIndex RHS) { in organizeMetadata()