Lines Matching refs:N2
68 bool operator()(const GepNode *N1, const GepNode *N2) const {
69 auto F1 = Map.find(N1), F2 = Map.find(N2);
461 NodePair node_pair(GepNode *N1, GepNode *N2) {
462 uintptr_t P1 = uintptr_t(N1), P2 = uintptr_t(N2);
464 return std::make_pair(N1, N2);
465 return std::make_pair(N2, N1);
476 bool node_eq(GepNode *N1, GepNode *N2, NodePairSet &Eq, NodePairSet &Ne) {
479 if (node_hash(N1) != node_hash(N2))
482 NodePair NP = node_pair(N1, N2);
491 bool Root2 = N2->Flags & GepNode::Root;
492 NodePair P = node_pair(N1, N2);
496 if (Root1 != Root2 || (Root1 && N1->BaseVal != N2->BaseVal)) {
503 if (Root1 || node_eq(N1->Parent, N2->Parent, Eq, Ne)) {