Lines Matching refs:KeyTy
98 struct KeyTy {
102 KeyTy(const ArrayRef<Type*>& E, bool P) :
105 KeyTy(const StructType *ST)
108 bool operator==(const KeyTy& that) const {
115 bool operator!=(const KeyTy& that) const {
128 static unsigned getHashValue(const KeyTy& Key) {
135 return getHashValue(KeyTy(ST));
138 static bool isEqual(const KeyTy& LHS, const StructType *RHS) {
141 return LHS == KeyTy(RHS);
150 struct KeyTy {
155 KeyTy(const Type* R, const ArrayRef<Type*>& P, bool V) :
157 KeyTy(const FunctionType *FT)
161 bool operator==(const KeyTy& that) const {
170 bool operator!=(const KeyTy& that) const {
183 static unsigned getHashValue(const KeyTy& Key) {
191 return getHashValue(KeyTy(FT));
194 static bool isEqual(const KeyTy& LHS, const FunctionType *RHS) {
197 return LHS == KeyTy(RHS);
249 using KeyTy = MDNodeKeyImpl<NodeTy>;
251 static bool isSubsetEqual(const KeyTy &LHS, const NodeTy *RHS) {
466 using KeyTy = MDNodeKeyImpl<DIDerivedType>;
468 static bool isSubsetEqual(const KeyTy &LHS, const DIDerivedType *RHS) {
689 using KeyTy = MDNodeKeyImpl<DISubprogram>;
691 static bool isSubsetEqual(const KeyTy &LHS, const DISubprogram *RHS) {
1139 using KeyTy = MDNodeKeyImpl<NodeTy>;
1150 static unsigned getHashValue(const KeyTy &Key) { return Key.getHashValue(); }
1153 return KeyTy(N).getHashValue();
1156 static bool isEqual(const KeyTy &LHS, const NodeTy *RHS) {