Home
last modified time | relevance | path

Searched defs:DenseMapInfo (Results 1 – 25 of 26) sorted by relevance

12

/external/clang/include/clang/AST/
DASTTypeTraits.h97 struct DenseMapInfo { struct
99 static inline ASTNodeKind getEmptyKey() { return ASTNodeKind(); } in getEmptyKey()
102 static inline ASTNodeKind getTombstoneKey() { in getTombstoneKey()
105 static unsigned getHashValue(const ASTNodeKind &Val) { return Val.KindId; } in getHashValue()
106 static bool isEqual(const ASTNodeKind &LHS, const ASTNodeKind &RHS) { in isEqual()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DLazyValueInfo.cpp310 struct DenseMapInfo<LVIValueHandle> { struct
311 typedef DenseMapInfo<Value*> PointerInfo;
312 static inline LVIValueHandle getEmptyKey() { in getEmptyKey()
316 static inline LVIValueHandle getTombstoneKey() { in getTombstoneKey()
320 static unsigned getHashValue(const LVIValueHandle &Val) { in getHashValue()
323 static bool isEqual(const LVIValueHandle &LHS, const LVIValueHandle &RHS) { in isEqual()
329 struct DenseMapInfo<std::pair<AssertingVH<BasicBlock>, Value*> > { struct
330 typedef std::pair<AssertingVH<BasicBlock>, Value*> PairTy;
331 typedef DenseMapInfo<AssertingVH<BasicBlock> > APointerInfo;
332 typedef DenseMapInfo<Value*> BPointerInfo;
[all …]
/external/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp49 struct DenseMapInfo<DivOpInfo> { struct
50 static bool isEqual(const DivOpInfo &Val1, const DivOpInfo &Val2) { in isEqual()
56 static DivOpInfo getEmptyKey() { in getEmptyKey()
60 static DivOpInfo getTombstoneKey() { in getTombstoneKey()
64 static unsigned getHashValue(const DivOpInfo &Val) { in getHashValue()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DEarlyCSE.cpp77 template<> struct DenseMapInfo<SimpleValue> { struct
78 static inline SimpleValue getEmptyKey() { in getEmptyKey()
81 static inline SimpleValue getTombstoneKey() { in getTombstoneKey()
170 template<> struct DenseMapInfo<CallValue> { struct
171 static inline CallValue getEmptyKey() { in getEmptyKey()
174 static inline CallValue getTombstoneKey() { in getTombstoneKey()
DGVN.cpp117 template <> struct DenseMapInfo<Expression> { struct
118 static inline Expression getEmptyKey() { in getEmptyKey()
122 static inline Expression getTombstoneKey() { in getTombstoneKey()
126 static unsigned getHashValue(const Expression e) { in getHashValue()
138 static bool isEqual(const Expression &LHS, const Expression &RHS) { in isEqual()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DDenseMapInfo.h23 struct DenseMapInfo { struct
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DDenseMapInfo.h26 struct DenseMapInfo { struct
/external/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp101 template <> struct DenseMapInfo<MemOpKey> { struct
102 typedef DenseMapInfo<const MachineOperand *> PtrInfo;
104 static inline MemOpKey getEmptyKey() { in getEmptyKey()
110 static inline MemOpKey getTombstoneKey() { in getTombstoneKey()
116 static unsigned getHashValue(const MemOpKey &Val) { in getHashValue()
159 static bool isEqual(const MemOpKey &LHS, const MemOpKey &RHS) { in isEqual()
/external/llvm/include/llvm/ADT/
DDenseMapInfo.h26 struct DenseMapInfo { struct
/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp80 template <> struct DenseMapInfo<SimpleValue> { struct
81 static inline SimpleValue getEmptyKey() { in getEmptyKey()
84 static inline SimpleValue getTombstoneKey() { in getTombstoneKey()
209 template <> struct DenseMapInfo<CallValue> { struct
210 static inline CallValue getEmptyKey() { in getEmptyKey()
213 static inline CallValue getTombstoneKey() { in getTombstoneKey()
DGVN.cpp104 template <> struct DenseMapInfo<GVN::Expression> { struct
105 static inline GVN::Expression getEmptyKey() { return ~0U; } in getEmptyKey()
107 static inline GVN::Expression getTombstoneKey() { return ~1U; } in getTombstoneKey()
109 static unsigned getHashValue(const GVN::Expression &e) { in getHashValue()
113 static bool isEqual(const GVN::Expression &LHS, const GVN::Expression &RHS) { in isEqual()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp666 struct DenseMapInfo<LoweredPHIRecord> { struct
667 static inline LoweredPHIRecord getEmptyKey() { in getEmptyKey()
670 static inline LoweredPHIRecord getTombstoneKey() { in getTombstoneKey()
673 static unsigned getHashValue(const LoweredPHIRecord &Val) { in getHashValue()
677 static bool isEqual(const LoweredPHIRecord &LHS, in isEqual()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombinePHI.cpp590 struct DenseMapInfo<LoweredPHIRecord> { struct
591 static inline LoweredPHIRecord getEmptyKey() { in getEmptyKey()
594 static inline LoweredPHIRecord getTombstoneKey() { in getTombstoneKey()
597 static unsigned getHashValue(const LoweredPHIRecord &Val) { in getHashValue()
601 static bool isEqual(const LoweredPHIRecord &LHS, in isEqual()
/external/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp185 template <> struct DenseMapInfo<VTableSlot> { struct
186 static VTableSlot getEmptyKey() { in getEmptyKey()
190 static VTableSlot getTombstoneKey() { in getTombstoneKey()
194 static unsigned getHashValue(const VTableSlot &I) { in getHashValue()
198 static bool isEqual(const VTableSlot &LHS, in isEqual()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp60 struct DenseMapInfo<std::pair<BasicBlock*, unsigned> > { struct
61 typedef std::pair<BasicBlock*, unsigned> EltTy;
62 static inline EltTy getEmptyKey() { in getEmptyKey()
65 static inline EltTy getTombstoneKey() { in getTombstoneKey()
68 static unsigned getHashValue(const std::pair<BasicBlock*, unsigned> &Val) { in getHashValue()
71 static bool isEqual(const EltTy &LHS, const EltTy &RHS) { in isEqual()
/external/llvm/unittests/ADT/
DDenseMapTest.cpp508 template <> struct DenseMapInfo<CachedHashTest> { struct
509 static CachedHashTest getEmptyKey() { return ~0; } in getEmptyKey()
510 static CachedHashTest getTombstoneKey() { return ~0U - 1; } in getTombstoneKey()
511 static unsigned getHashValue(const CachedHashTest &X) { in getHashValue()
515 static bool isEqual(const CachedHashTest &LHS, const CachedHashTest &RHS) { in isEqual()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DMergeFunctions.cpp135 struct DenseMapInfo<ComparableFunction> { struct
136 static ComparableFunction getEmptyKey() { in getEmptyKey()
139 static ComparableFunction getTombstoneKey() { in getTombstoneKey()
142 static unsigned getHashValue(const ComparableFunction &CF) { in getHashValue()
/external/swiftshader/third_party/LLVM/lib/MC/
DMCDwarf.cpp986 struct DenseMapInfo<CIEKey> { struct
987 static CIEKey getEmptyKey() { in getEmptyKey()
990 static CIEKey getTombstoneKey() { in getTombstoneKey()
993 static unsigned getHashValue(const CIEKey &Key) { in getHashValue()
1000 static bool isEqual(const CIEKey &LHS, in isEqual()
/external/clang/tools/libclang/
DIndexing.cpp102 struct DenseMapInfo<PPRegion> { struct
103 static inline PPRegion getEmptyKey() { in getEmptyKey()
106 static inline PPRegion getTombstoneKey() { in getTombstoneKey()
110 static unsigned getHashValue(const PPRegion &S) { in getHashValue()
120 static bool isEqual(const PPRegion &LHS, const PPRegion &RHS) { in isEqual()
DCXCursor.cpp1292 template<> struct DenseMapInfo<CXCursor> { struct
1301 return llvm::DenseMapInfo<std::pair<const void *, const void *> > in getHashValue()
1304 static inline bool isEqual(const CXCursor &x, const CXCursor &y) { in isEqual()
/external/llvm/lib/MC/
DMCDwarf.cpp1468 template <> struct DenseMapInfo<CIEKey> { struct
1469 static CIEKey getEmptyKey() { return CIEKey::getEmptyKey(); } in getEmptyKey()
1470 static CIEKey getTombstoneKey() { return CIEKey::getTombstoneKey(); } in getTombstoneKey()
1471 static unsigned getHashValue(const CIEKey &Key) { in getHashValue()
1476 static bool isEqual(const CIEKey &LHS, const CIEKey &RHS) { in isEqual()
/external/llvm/lib/TableGen/
DRecord.cpp59 template<> struct DenseMapInfo<TableGenStringKey> { struct
60 static inline TableGenStringKey getEmptyKey() { in getEmptyKey()
64 static inline TableGenStringKey getTombstoneKey() { in getTombstoneKey()
68 static unsigned getHashValue(const TableGenStringKey& Val) { in getHashValue()
72 static bool isEqual(const TableGenStringKey& LHS, in isEqual()
/external/swiftshader/third_party/LLVM/lib/TableGen/
DRecord.cpp54 template<> struct DenseMapInfo<TableGenStringKey> { struct
55 static inline TableGenStringKey getEmptyKey() { in getEmptyKey()
59 static inline TableGenStringKey getTombstoneKey() { in getTombstoneKey()
63 static unsigned getHashValue(const TableGenStringKey& Val) { in getHashValue()
66 static bool isEqual(const TableGenStringKey& LHS, in isEqual()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp2046 template<> struct DenseMapInfo<EditEntry> { struct
2047 static inline EditEntry getEmptyKey() { in getEmptyKey()
2052 static inline EditEntry getTombstoneKey() { in getTombstoneKey()
2057 static unsigned getHashValue(const EditEntry& Val) { in getHashValue()
2065 static bool isEqual(const EditEntry &LHS, const EditEntry &RHS) { in isEqual()
/external/clang/lib/StaticAnalyzer/Checkers/
DRetainCountChecker.cpp492 template <> struct DenseMapInfo<ObjCSummaryKey> { struct
493 static inline ObjCSummaryKey getEmptyKey() { in getEmptyKey()
498 static inline ObjCSummaryKey getTombstoneKey() { in getTombstoneKey()
503 static unsigned getHashValue(const ObjCSummaryKey &V) { in getHashValue()
509 static bool isEqual(const ObjCSummaryKey& LHS, const ObjCSummaryKey& RHS) { in isEqual()

12