Home
last modified time | relevance | path

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

/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp30 struct OrderMap { struct
31 DenseMap<const Value *, std::pair<unsigned, bool>> IDs;
32 unsigned LastGlobalConstantID;
33 unsigned LastGlobalValueID;
35 OrderMap() : LastGlobalConstantID(0), LastGlobalValueID(0) {} in OrderMap() function
37 bool isGlobalConstant(unsigned ID) const { in isGlobalConstant()
40 bool isGlobalValue(unsigned ID) const { in isGlobalValue()
44 unsigned size() const { return IDs.size(); } in size()
45 std::pair<unsigned, bool> &operator[](const Value *V) { return IDs[V]; } in operator []()
46 std::pair<unsigned, bool> lookup(const Value *V) const { in lookup()
[all …]
/external/llvm/lib/IR/
DAsmWriter.cpp58 struct OrderMap { struct
59 DenseMap<const Value *, std::pair<unsigned, bool>> IDs;
61 unsigned size() const { return IDs.size(); } in size()
62 std::pair<unsigned, bool> &operator[](const Value *V) { return IDs[V]; } in operator []()
63 std::pair<unsigned, bool> lookup(const Value *V) const { in lookup()
66 void index(const Value *V) { in index()
/external/llvm/include/llvm/Analysis/
DLoopAccessAnalysis.h255 DenseMap<Instruction *, unsigned> OrderMap; in generateInstructionOrderMap() local