Lines Matching refs:NodeTy
182 template <class NodeTy>
183 MDNodeOpsKey(const NodeTy *N, unsigned Offset = 0)
186 template <class NodeTy>
187 bool compareOps(const NodeTy *RHS, unsigned Offset = 0) const {
212 template <class NodeTy> struct MDNodeKeyImpl;
213 template <class NodeTy> struct MDNodeInfo;
216 template <class NodeTy> struct MDNodeSubsetEqualImpl {
217 typedef MDNodeKeyImpl<NodeTy> KeyTy;
218 static bool isSubsetEqual(const KeyTy &LHS, const NodeTy *RHS) { in isSubsetEqual()
221 static bool isSubsetEqual(const NodeTy *LHS, const NodeTy *RHS) { in isSubsetEqual()
939 template <class NodeTy> struct MDNodeInfo {
940 typedef MDNodeKeyImpl<NodeTy> KeyTy;
941 typedef MDNodeSubsetEqualImpl<NodeTy> SubsetEqualTy;
942 static inline NodeTy *getEmptyKey() {
943 return DenseMapInfo<NodeTy *>::getEmptyKey();
945 static inline NodeTy *getTombstoneKey() {
946 return DenseMapInfo<NodeTy *>::getTombstoneKey();
949 static unsigned getHashValue(const NodeTy *N) {
952 static bool isEqual(const KeyTy &LHS, const NodeTy *RHS) {
957 static bool isEqual(const NodeTy *LHS, const NodeTy *RHS) {