Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/include/mlir-hlo/Analysis/
Dshape_component_analysis.h53 struct DenseMapInfo { struct
54 using PairInfo = llvm::DenseMapInfo<decltype(p)>; argument
55 static inline ShapeOrValueInfo getEmptyKey() { in getEmptyKey()
58 static inline ShapeOrValueInfo getTombstoneKey() { in getTombstoneKey()
61 static unsigned getHashValue(ShapeOrValueInfo val) { in getHashValue()
64 static bool isEqual(ShapeOrValueInfo lhs, ShapeOrValueInfo 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/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/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-10.0/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp118 template <> struct DenseMapInfo<MemOpKey> { struct
119 using PtrInfo = DenseMapInfo<const MachineOperand *>;
121 static inline MemOpKey getEmptyKey() { in getEmptyKey()
127 static inline MemOpKey getTombstoneKey() { in getTombstoneKey()
133 static unsigned getHashValue(const MemOpKey &Val) { in getHashValue()
176 static bool isEqual(const MemOpKey &LHS, const MemOpKey &RHS) { in isEqual()
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/mhlo/transforms/
Dbroadcast_propagation.cc66 struct DenseMapInfo<mlir::mhlo::BroadcastIntent> { struct
67 static mlir::mhlo::BroadcastIntent getEmptyKey() { in getEmptyKey()
73 static mlir::mhlo::BroadcastIntent getTombstoneKey() { in getTombstoneKey()
79 static unsigned getHashValue(const mlir::mhlo::BroadcastIntent &intent) { in getHashValue()
87 static bool isEqual(const mlir::mhlo::BroadcastIntent &lhs, in isEqual()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dsame_shape_propagation.cc170 struct DenseMapInfo<ShapeValue> { struct
171 static ShapeValue getEmptyKey() { in getEmptyKey()
174 static ShapeValue getTombstoneKey() { in getTombstoneKey()
177 static unsigned getHashValue(ShapeValue shape) { return hash_value(shape); } in getHashValue()
178 static bool isEqual(ShapeValue LHS, ShapeValue RHS) { return LHS == RHS; } in isEqual()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCFLAndersAliasAnalysis.cpp275 template <> struct DenseMapInfo<OffsetValue> { struct
276 static OffsetValue getEmptyKey() { in getEmptyKey()
281 static OffsetValue getTombstoneKey() { in getTombstoneKey()
286 static unsigned getHashValue(const OffsetValue &OVal) { in getHashValue()
291 static bool isEqual(const OffsetValue &LHS, const OffsetValue &RHS) { in isEqual()
297 template <> struct DenseMapInfo<OffsetInstantiatedValue> { struct
298 static OffsetInstantiatedValue getEmptyKey() { in getEmptyKey()
304 static OffsetInstantiatedValue getTombstoneKey() { in getTombstoneKey()
310 static unsigned getHashValue(const OffsetInstantiatedValue &OVal) { in getHashValue()
315 static bool isEqual(const OffsetInstantiatedValue &LHS, in isEqual()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DDenseMapInfo.h29 struct DenseMapInfo { struct
/external/swiftshader/third_party/llvm-subzero/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/include/llvm/ADT/
DDenseMapInfo.h26 struct DenseMapInfo { struct
/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/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-10.0/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp125 template <> struct DenseMapInfo<SimpleValue> { struct
126 static inline SimpleValue getEmptyKey() { in getEmptyKey()
130 static inline SimpleValue getTombstoneKey() { in getTombstoneKey()
437 template <> struct DenseMapInfo<CallValue> { struct
438 static inline CallValue getEmptyKey() { in getEmptyKey()
442 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()
DGVN.cpp143 template <> struct DenseMapInfo<GVN::Expression> { struct
144 static inline GVN::Expression getEmptyKey() { return ~0U; } in getEmptyKey()
145 static inline GVN::Expression getTombstoneKey() { return ~1U; } in getTombstoneKey()
147 static unsigned getHashValue(const GVN::Expression &e) { in getHashValue()
153 static bool isEqual(const GVN::Expression &LHS, const GVN::Expression &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-10.0/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp266 template <> struct DenseMapInfo<VTableSlot> { struct
267 static VTableSlot getEmptyKey() { in getEmptyKey()
271 static VTableSlot getTombstoneKey() { in getTombstoneKey()
275 static unsigned getHashValue(const VTableSlot &I) { in getHashValue()
279 static bool isEqual(const VTableSlot &LHS, in isEqual()
285 template <> struct DenseMapInfo<VTableSlotSummary> { struct
286 static VTableSlotSummary getEmptyKey() { in getEmptyKey()
290 static VTableSlotSummary getTombstoneKey() { in getTombstoneKey()
294 static unsigned getHashValue(const VTableSlotSummary &I) { in getHashValue()
298 static bool isEqual(const VTableSlotSummary &LHS, in isEqual()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp935 struct DenseMapInfo<LoweredPHIRecord> { struct
936 static inline LoweredPHIRecord getEmptyKey() { in getEmptyKey()
939 static inline LoweredPHIRecord getTombstoneKey() { in getTombstoneKey()
942 static unsigned getHashValue(const LoweredPHIRecord &Val) { in getHashValue()
946 static bool isEqual(const LoweredPHIRecord &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/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCDwarf.cpp1800 template <> struct DenseMapInfo<CIEKey> { struct
1801 static CIEKey getEmptyKey() { return CIEKey::getEmptyKey(); } in getEmptyKey()
1802 static CIEKey getTombstoneKey() { return CIEKey::getTombstoneKey(); } in getTombstoneKey()
1804 static unsigned getHashValue(const CIEKey &Key) { in getHashValue()
1810 static bool isEqual(const CIEKey &LHS, const CIEKey &RHS) { in isEqual()

12