Home
last modified time | relevance | path

Searched defs:OrderMap (Results 1 – 2 of 2) sorted by relevance

/minix3/external/bsd/llvm/dist/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp29 struct OrderMap { struct
30 DenseMap<const Value *, std::pair<unsigned, bool>> IDs;
31 unsigned LastGlobalConstantID;
32 unsigned LastGlobalValueID;
34 OrderMap() : LastGlobalConstantID(0), LastGlobalValueID(0) {} in OrderMap() argument
36 bool isGlobalConstant(unsigned ID) const { in isGlobalConstant()
39 bool isGlobalValue(unsigned ID) const { in isGlobalValue()
43 unsigned size() const { return IDs.size(); } in size()
44 std::pair<unsigned, bool> &operator[](const Value *V) { return IDs[V]; } in operator []()
45 std::pair<unsigned, bool> lookup(const Value *V) const { in lookup()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DAsmWriter.cpp53 struct OrderMap { struct
54 DenseMap<const Value *, std::pair<unsigned, bool>> IDs;
56 unsigned size() const { return IDs.size(); } in size()
57 std::pair<unsigned, bool> &operator[](const Value *V) { return IDs[V]; } in operator []()
58 std::pair<unsigned, bool> lookup(const Value *V) const { in lookup()
61 void index(const Value *V) { in index()