Lines Matching refs:KeyTy
94 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 {
147 KeyTy(const Type *R, const ArrayRef<Type *> &P, bool V)
149 KeyTy(const FunctionType *FT)
153 bool operator==(const KeyTy &that) const {
162 bool operator!=(const KeyTy &that) const { return !this->operator==(that); }
173 static unsigned getHashValue(const KeyTy &Key) {
180 return getHashValue(KeyTy(FT));
183 static bool isEqual(const KeyTy &LHS, const FunctionType *RHS) {
186 return LHS == KeyTy(RHS);
195 struct KeyTy {
200 KeyTy(StringRef N, const ArrayRef<Type *> &TP, const ArrayRef<unsigned> &IP)
202 KeyTy(const TargetExtType *TT)
206 bool operator==(const KeyTy &that) const {
210 bool operator!=(const KeyTy &that) const { return !this->operator==(that); }
221 static unsigned getHashValue(const KeyTy &Key) {
229 return getHashValue(KeyTy(FT));
232 static bool isEqual(const KeyTy &LHS, const TargetExtType *RHS) {
235 return LHS == KeyTy(RHS);
287 using KeyTy = MDNodeKeyImpl<NodeTy>;
289 static bool isSubsetEqual(const KeyTy &LHS, const NodeTy *RHS) {
600 using KeyTy = MDNodeKeyImpl<DIDerivedType>;
602 static bool isSubsetEqual(const KeyTy &LHS, const DIDerivedType *RHS) {
853 using KeyTy = MDNodeKeyImpl<DISubprogram>;
855 static bool isSubsetEqual(const KeyTy &LHS, const DISubprogram *RHS) {
1340 using KeyTy = DIArgListKeyInfo;
1350 static unsigned getHashValue(const KeyTy &Key) { return Key.getHashValue(); }
1353 return KeyTy(N).getHashValue();
1356 static bool isEqual(const KeyTy &LHS, const DIArgList *RHS) {
1369 using KeyTy = MDNodeKeyImpl<NodeTy>;
1380 static unsigned getHashValue(const KeyTy &Key) { return Key.getHashValue(); }
1383 return KeyTy(N).getHashValue();
1386 static bool isEqual(const KeyTy &LHS, const NodeTy *RHS) {