Home
last modified time | relevance | path

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

/freebsd/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/contrib/llvm-project/llvm/include/llvm/ADT/
H A DConcurrentHashtable.h36 /// KeyDataTy* = insert ( const KeyTy& );
40 /// Inserted value KeyTy is mapped to 64-bit hash value ->
74 template <typename KeyTy, typename KeyDataTy, typename AllocatorTy>
78 static inline uint64_t getHashValue(const KeyTy &Key) {
83 static inline bool isEqual(const KeyTy &LHS, const KeyTy &RHS) {
88 static inline const KeyTy &getKey(const KeyDataTy &KeyData) {
93 static inline KeyDataTy *create(const KeyTy &Key, AllocatorTy &Allocator) {
98 template <typename KeyTy, typename KeyDataTy, typename AllocatorTy,
100 ConcurrentHashTableInfoByPtr<KeyTy, KeyDataT
[all...]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h94 struct KeyTy {
98 KeyTy(const ArrayRef<Type *> &E, bool P) : ETypes(E), isPacked(P) {}
100 KeyTy(const StructType *ST)
103 bool operator==(const KeyTy &that) const {
110 bool operator!=(const KeyTy &that) const { return !this->operator==(that); }
121 static unsigned getHashValue(const KeyTy &Key) {
127 return getHashValue(KeyTy(ST));
130 static bool isEqual(const KeyTy &LHS, const StructType *RHS) {
133 return LHS == KeyTy(RHS);
142 struct KeyTy {
[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.cpp89 DILocationInfo::KeyTy(Line, Column, Scope, in getImpl()
398 GenericDINodeInfo::KeyTy Key(Tag, Header, DwarfOps); in getImpl()
417 setHash(GenericDINodeInfo::KeyTy::calculateHash(this)); in recalculateHash()
426 CLASS##Info::KeyTy(UNWRAP_ARGS(ARGS)))) \
H A DMetadata.cpp898 setHash(MDTupleInfo::KeyTy::calculateHash(this)); in recalculateHash()
1028 MDTupleInfo::KeyTy Key(MDs); in getImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.h136 template <typename KeyTy> class SPIRVDuplicatesTrackerBase {
141 using StorageTy = MapVector<KeyTy, SPIRV::DTSortableEntry>;
147 void add(KeyTy V, const MachineFunction *MF, Register R) { in add()
154 typename std::remove_pointer<KeyTy>::type>::type>() || in add()
157 typename std::remove_pointer<KeyTy>::type>::type>()) in add()
161 typename std::remove_pointer<KeyTy>::type>::type>()) in add()
165 Register find(KeyTy V, const MachineFunction *MF) const { in find()
/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DIRMover.cpp1681 IRMover::StructTypeKeyInfo::KeyTy::KeyTy(ArrayRef<Type *> E, bool P) in KeyTy() function in IRMover::StructTypeKeyInfo::KeyTy
1684 IRMover::StructTypeKeyInfo::KeyTy::KeyTy(const StructType *ST) in KeyTy() function in IRMover::StructTypeKeyInfo::KeyTy
1687 bool IRMover::StructTypeKeyInfo::KeyTy::operator==(const KeyTy &That) const { in operator ==()
1691 bool IRMover::StructTypeKeyInfo::KeyTy::operator!=(const KeyTy &That) const { in operator !=()
1703 unsigned IRMover::StructTypeKeyInfo::getHashValue(const KeyTy &Key) { in getHashValue()
1709 return getHashValue(KeyTy(ST)); in getHashValue()
1712 bool IRMover::StructTypeKeyInfo::isEqual(const KeyTy &LHS, in isEqual()
1716 return LHS == KeyTy(RHS); in isEqual()
1723 return KeyTy(LHS) == KeyTy(RHS); in isEqual()
1747 IRMover::StructTypeKeyInfo::KeyTy Key(ETypes, IsPacked); in findNonOpaque()
/freebsd/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()