Lines Matching refs:KeyTy
80 struct KeyTy { struct
83 KeyTy(const ArrayRef<Type*>& E, bool P) : in KeyTy() argument
85 KeyTy(const StructType *ST) in KeyTy() argument
87 bool operator==(const KeyTy& that) const {
94 bool operator!=(const KeyTy& that) const {
104 static unsigned getHashValue(const KeyTy& Key) { in getHashValue()
110 return getHashValue(KeyTy(ST)); in getHashValue()
112 static bool isEqual(const KeyTy& LHS, const StructType *RHS) { in isEqual()
115 return LHS == KeyTy(RHS); in isEqual()
123 struct KeyTy { struct
127 KeyTy(const Type* R, const ArrayRef<Type*>& P, bool V) : in KeyTy() argument
129 KeyTy(const FunctionType *FT) in KeyTy() function
132 bool operator==(const KeyTy& that) const {
141 bool operator!=(const KeyTy& that) const {
151 static unsigned getHashValue(const KeyTy& Key) { in getHashValue()
158 return getHashValue(KeyTy(FT)); in getHashValue()
160 static bool isEqual(const KeyTy& LHS, const FunctionType *RHS) { in isEqual()
163 return LHS == KeyTy(RHS); in isEqual()
840 typedef MDNodeKeyImpl<NodeTy> KeyTy;
847 static unsigned getHashValue(const KeyTy &Key) { return Key.getHashValue(); }
849 return KeyTy(N).getHashValue();
851 static bool isEqual(const KeyTy &LHS, const NodeTy *RHS) {