Home
last modified time | relevance | path

Searched refs:KeyTy (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Linker/
H A DIRMover.h28 struct KeyTy { struct
31 KeyTy(ArrayRef<Type *> E, bool P);
32 KeyTy(const StructType *ST);
33 bool operator==(const KeyTy &that) const;
34 bool operator!=(const KeyTy &that) const;
38 static unsigned getHashValue(const KeyTy &Key);
40 static bool isEqual(const KeyTy &LHS, const StructType *RHS);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DConcurrentHashtable.h74 template <typename KeyTy, typename KeyDataTy, typename AllocatorTy>
78 static inline uint64_t getHashValue(const KeyTy &Key) { in getHashValue()
83 static inline bool isEqual(const KeyTy &LHS, const KeyTy &RHS) { in isEqual()
88 static inline const KeyTy &getKey(const KeyDataTy &KeyData) { in getKey()
93 static inline KeyDataTy *create(const KeyTy &Key, AllocatorTy &Allocator) { in create()
98 template <typename KeyTy, typename KeyDataTy, typename AllocatorTy,
100 ConcurrentHashTableInfoByPtr<KeyTy, KeyDataTy, AllocatorTy>>
171 std::pair<KeyDataTy *, bool> insert(const KeyTy &NewValue) { in insert()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h92 struct KeyTy {
98 KeyTy(const StructType *ST)
125 return getHashValue(KeyTy(ST));
131 return LHS == KeyTy(RHS);
140 struct KeyTy {
147 KeyTy(const FunctionType *FT)
178 return getHashValue(KeyTy(FT));
184 return LHS == KeyTy(RHS);
193 struct KeyTy {
200 KeyTy(const TargetExtType *TT)
[all …]
H A DMetadataImpl.h23 const typename InfoT::KeyTy &Key) { in getUniqued()
H A DType.cpp331 const FunctionTypeKeyInfo::KeyTy Key(ReturnType, Params, isVarArg); in get()
376 const AnonStructTypeKeyInfo::KeyTy Key(ETypes, isPacked); in get()
799 const TargetExtTypeKeyInfo::KeyTy Key(Name, Types, Ints); in get()
H A DDebugInfoMetadata.cpp85 DILocationInfo::KeyTy(Line, Column, Scope, in getImpl()
394 GenericDINodeInfo::KeyTy Key(Tag, Header, DwarfOps); in getImpl()
413 setHash(GenericDINodeInfo::KeyTy::calculateHash(this)); in recalculateHash()
422 CLASS##Info::KeyTy(UNWRAP_ARGS(ARGS)))) \
H A DMetadata.cpp889 setHash(MDTupleInfo::KeyTy::calculateHash(this)); in recalculateHash()
1019 MDTupleInfo::KeyTy Key(MDs); in getImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.h200 template <typename KeyTy> class SPIRVDuplicatesTrackerBase {
205 using StorageTy = MapVector<KeyTy, SPIRV::DTSortableEntry>;
211 void add(KeyTy V, const MachineFunction *MF, Register R) {
218 typename std::remove_pointer<KeyTy>::type>::type>() ||
221 typename std::remove_pointer<KeyTy>::type>::type>())
225 typename std::remove_pointer<KeyTy>::type>::type>())
229 Register find(KeyTy V, const MachineFunction *MF) const {
/freebsd-14.2/contrib/llvm-project/llvm/lib/Linker/
H A DIRMover.cpp1679 IRMover::StructTypeKeyInfo::KeyTy::KeyTy(ArrayRef<Type *> E, bool P) in KeyTy() function in IRMover::StructTypeKeyInfo::KeyTy
1682 IRMover::StructTypeKeyInfo::KeyTy::KeyTy(const StructType *ST) in KeyTy() function in IRMover::StructTypeKeyInfo::KeyTy
1685 bool IRMover::StructTypeKeyInfo::KeyTy::operator==(const KeyTy &That) const { in operator ==()
1689 bool IRMover::StructTypeKeyInfo::KeyTy::operator!=(const KeyTy &That) const { in operator !=()
1701 unsigned IRMover::StructTypeKeyInfo::getHashValue(const KeyTy &Key) { in getHashValue()
1707 return getHashValue(KeyTy(ST)); in getHashValue()
1710 bool IRMover::StructTypeKeyInfo::isEqual(const KeyTy &LHS, in isEqual()
1714 return LHS == KeyTy(RHS); in isEqual()
1721 return KeyTy(LHS) == KeyTy(RHS); in isEqual()
1745 IRMover::StructTypeKeyInfo::KeyTy Key(ETypes, IsPacked); in findNonOpaque()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp89 template <typename KeyTy>
91 RemoveFromReverseMap(DenseMap<Instruction *, SmallPtrSet<KeyTy, 4>> &ReverseMap, in RemoveFromReverseMap() argument
92 Instruction *Inst, KeyTy Val) { in RemoveFromReverseMap()
93 typename DenseMap<Instruction *, SmallPtrSet<KeyTy, 4>>::iterator InstIt = in RemoveFromReverseMap()