Lines Matching defs:KeyTy
80 struct KeyTy {
83 KeyTy(const ArrayRef<Type*>& E, bool P) :
85 KeyTy(const StructType *ST)
87 bool operator==(const KeyTy& that) const {
94 bool operator!=(const KeyTy& that) const {
104 static unsigned getHashValue(const KeyTy& Key) {
110 return getHashValue(KeyTy(ST));
112 static bool isEqual(const KeyTy& LHS, const StructType *RHS) {
115 return LHS == KeyTy(RHS);
123 struct KeyTy {
127 KeyTy(const Type* R, const ArrayRef<Type*>& P, bool V) :
129 KeyTy(const FunctionType *FT)
132 bool operator==(const KeyTy& that) const {
141 bool operator!=(const KeyTy& that) const {
151 static unsigned getHashValue(const KeyTy& Key) {
158 return getHashValue(KeyTy(FT));
160 static bool isEqual(const KeyTy& LHS, const FunctionType *RHS) {
163 return LHS == KeyTy(RHS);
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) {