Home
last modified time | relevance | path

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

123

/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/include/mlir-hlo/Analysis/
H A 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()
/aosp_15_r20/external/clang/include/clang/AST/
H A 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()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/AST/
DASTTypeTraits.h110 struct DenseMapInfo { struct
112 static inline ASTNodeKind getEmptyKey() { return ASTNodeKind(); } in getEmptyKey()
115 static inline ASTNodeKind getTombstoneKey() { in getTombstoneKey()
118 static unsigned getHashValue(const ASTNodeKind &Val) { return Val.KindId; } in getHashValue()
119 static bool isEqual(const ASTNodeKind &LHS, const ASTNodeKind &RHS) { in isEqual()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/AST/
DASTTypeTraits.h110 struct DenseMapInfo { struct
112 static inline ASTNodeKind getEmptyKey() { return ASTNodeKind(); } in getEmptyKey()
115 static inline ASTNodeKind getTombstoneKey() { in getTombstoneKey()
118 static unsigned getHashValue(const ASTNodeKind &Val) { return Val.KindId; } in getHashValue()
119 static bool isEqual(const ASTNodeKind &LHS, const ASTNodeKind &RHS) { in isEqual()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/AST/
DASTTypeTraits.h110 struct DenseMapInfo { struct
112 static inline ASTNodeKind getEmptyKey() { return ASTNodeKind(); } in getEmptyKey()
115 static inline ASTNodeKind getTombstoneKey() { in getTombstoneKey()
118 static unsigned getHashValue(const ASTNodeKind &Val) { return Val.KindId; } in getHashValue()
119 static bool isEqual(const ASTNodeKind &LHS, const ASTNodeKind &RHS) { in isEqual()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/AST/
DASTTypeTraits.h110 struct DenseMapInfo { struct
112 static inline ASTNodeKind getEmptyKey() { return ASTNodeKind(); } in getEmptyKey()
115 static inline ASTNodeKind getTombstoneKey() { in getTombstoneKey()
118 static unsigned getHashValue(const ASTNodeKind &Val) { return Val.KindId; } in getHashValue()
119 static bool isEqual(const ASTNodeKind &LHS, const ASTNodeKind &RHS) { in isEqual()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A 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()
/aosp_15_r20/external/llvm/lib/Target/X86/
H A 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
H A 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()
/aosp_15_r20/external/llvm/lib/Transforms/Utils/
H A 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AArch64/
H A DAArch64StackTaggingPreRA.cpp216 template <> struct DenseMapInfo<SlotWithTag> { struct
217 static inline SlotWithTag getEmptyKey() { return {-2, -2}; } in getEmptyKey()
218 static inline SlotWithTag getTombstoneKey() { return {-3, -3}; } in getTombstoneKey()
219 static unsigned getHashValue(const SlotWithTag &V) { in getHashValue()
223 static bool isEqual(const SlotWithTag &A, const SlotWithTag &B) { in isEqual()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/X86/
H A 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp238 template <> struct llvm::DenseMapInfo<SpecSig> { struct in llvm
239 static inline SpecSig getEmptyKey() { return {~0U, {}}; } in getEmptyKey()
241 static inline SpecSig getTombstoneKey() { return {~1U, {}}; } in getTombstoneKey()
243 static unsigned getHashValue(const SpecSig &S) { in getHashValue()
247 static bool isEqual(const SpecSig &LHS, const SpecSig &RHS) { in isEqual()
H A DWholeProgramDevirt.cpp334 template <> struct DenseMapInfo<VTableSlot> { struct
335 static VTableSlot getEmptyKey() { in getEmptyKey()
339 static VTableSlot getTombstoneKey() { in getTombstoneKey()
343 static unsigned getHashValue(const VTableSlot &I) { in getHashValue()
347 static bool isEqual(const VTableSlot &LHS, in isEqual()
353 template <> struct DenseMapInfo<VTableSlotSummary> { struct
354 static VTableSlotSummary getEmptyKey() { in getEmptyKey()
358 static VTableSlotSummary getTombstoneKey() { in getTombstoneKey()
362 static unsigned getHashValue(const VTableSlotSummary &I) { in getHashValue()
366 static bool isEqual(const VTableSlotSummary &LHS, in isEqual()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/mhlo/transforms/
H A 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()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
H A 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()
/aosp_15_r20/external/llvm/lib/Transforms/Scalar/
H A 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A 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()
H A 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()
/aosp_15_r20/external/llvm/lib/Transforms/InstCombine/
H A 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()
/aosp_15_r20/external/llvm/lib/Transforms/IPO/
H A 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()
/aosp_15_r20/external/llvm/unittests/ADT/
H A 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp311 template <typename ModelledPHI> struct DenseMapInfo { struct
312 static inline ModelledPHI &getEmptyKey() { in getEmptyKey()
317 static inline ModelledPHI &getTombstoneKey() { in getTombstoneKey()
322 static unsigned getHashValue(const ModelledPHI &V) { return V.hash(); } in getHashValue()
324 static bool isEqual(const ModelledPHI &LHS, const ModelledPHI &RHS) { in isEqual()
H A DEarlyCSE.cpp158 template <> struct DenseMapInfo<SimpleValue> { struct
159 static inline SimpleValue getEmptyKey() { in getEmptyKey()
163 static inline SimpleValue getTombstoneKey() { in getTombstoneKey()
492 template <> struct DenseMapInfo<CallValue> { struct
493 static inline CallValue getEmptyKey() { in getEmptyKey()
497 static inline CallValue getTombstoneKey() { in getTombstoneKey()

123