Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DReverseIterationTest.cpp63 template<> struct DenseMapInfo<PtrLikeInt *> { struct
64 static PtrLikeInt *getEmptyKey() { in getEmptyKey()
69 static PtrLikeInt *getTombstoneKey() { in getTombstoneKey()
74 static int getHashValue(const PtrLikeInt *P) { in getHashValue()
78 static bool isEqual(const PtrLikeInt *LHS, const PtrLikeInt *RHS) { in isEqual()
/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-7.0/llvm/unittests/ADT/
DDenseSetTest.cpp149 template <> struct DenseMapInfo<CountCopyAndMove> { struct
150 static inline CountCopyAndMove getEmptyKey() { return CountCopyAndMove(-1); }; in getEmptyKey()
151 static inline CountCopyAndMove getTombstoneKey() { in getTombstoneKey()
154 static unsigned getHashValue(const CountCopyAndMove &Val) { in getHashValue()
157 static bool isEqual(const CountCopyAndMove &LHS, in isEqual()
/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()
/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/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DDenseMapInfo.h26 struct DenseMapInfo { struct
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DDenseMapInfo.h23 struct DenseMapInfo { struct
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DDenseMapInfo.h29 struct DenseMapInfo { struct
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp116 template <> struct DenseMapInfo<MemOpKey> { struct
117 using PtrInfo = DenseMapInfo<const MachineOperand *>;
119 static inline MemOpKey getEmptyKey() { in getEmptyKey()
125 static inline MemOpKey getTombstoneKey() { in getTombstoneKey()
131 static unsigned getHashValue(const MemOpKey &Val) { in getHashValue()
174 static bool isEqual(const MemOpKey &LHS, const MemOpKey &RHS) { in isEqual()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCFLAndersAliasAnalysis.cpp273 template <> struct DenseMapInfo<OffsetValue> { struct
274 static OffsetValue getEmptyKey() { in getEmptyKey()
279 static OffsetValue getTombstoneKey() { in getTombstoneKey()
284 static unsigned getHashValue(const OffsetValue &OVal) { in getHashValue()
289 static bool isEqual(const OffsetValue &LHS, const OffsetValue &RHS) { in isEqual()
295 template <> struct DenseMapInfo<OffsetInstantiatedValue> { struct
296 static OffsetInstantiatedValue getEmptyKey() { in getEmptyKey()
302 static OffsetInstantiatedValue getTombstoneKey() { in getTombstoneKey()
308 static unsigned getHashValue(const OffsetInstantiatedValue &OVal) { in getHashValue()
313 static bool isEqual(const OffsetInstantiatedValue &LHS, 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()
/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/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp112 template <> struct DenseMapInfo<SimpleValue> { struct
113 static inline SimpleValue getEmptyKey() { in getEmptyKey()
117 static inline SimpleValue getTombstoneKey() { in getTombstoneKey()
284 template <> struct DenseMapInfo<CallValue> { struct
285 static inline CallValue getEmptyKey() { in getEmptyKey()
289 static inline CallValue getTombstoneKey() { in getTombstoneKey()
DGVNSink.cpp317 template <typename ModelledPHI> struct DenseMapInfo { struct
318 static inline ModelledPHI &getEmptyKey() { in getEmptyKey()
323 static inline ModelledPHI &getTombstoneKey() { in getTombstoneKey()
328 static unsigned getHashValue(const ModelledPHI &V) { return V.hash(); } in getHashValue()
330 static bool isEqual(const ModelledPHI &LHS, const ModelledPHI &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-7.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp922 struct DenseMapInfo<LoweredPHIRecord> { struct
923 static inline LoweredPHIRecord getEmptyKey() { in getEmptyKey()
926 static inline LoweredPHIRecord getTombstoneKey() { in getTombstoneKey()
929 static unsigned getHashValue(const LoweredPHIRecord &Val) { in getHashValue()
933 static bool isEqual(const LoweredPHIRecord &LHS, in isEqual()
/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()

12