Lines Matching refs:MC
43 if (MoveChildMatcher *MC = dyn_cast<MoveChildMatcher>(N)) { in ContractNodes() local
45 if (RecordMatcher *RM = dyn_cast<RecordMatcher>(MC->getNext())) in ContractNodes()
46 if (MC->getChildNo() < 8) // Only have RecordChild0...7 in ContractNodes()
47 New = new RecordChildMatcher(MC->getChildNo(), RM->getWhatFor(), in ContractNodes()
50 if (CheckTypeMatcher *CT = dyn_cast<CheckTypeMatcher>(MC->getNext())) in ContractNodes()
51 if (MC->getChildNo() < 8 && // Only have CheckChildType0...7 in ContractNodes()
53 New = new CheckChildTypeMatcher(MC->getChildNo(), CT->getType()); in ContractNodes()
55 if (CheckSameMatcher *CS = dyn_cast<CheckSameMatcher>(MC->getNext())) in ContractNodes()
56 if (MC->getChildNo() < 4) // Only have CheckChildSame0...3 in ContractNodes()
57 New = new CheckChildSameMatcher(MC->getChildNo(), CS->getMatchNumber()); in ContractNodes()
59 if (CheckIntegerMatcher *CS = dyn_cast<CheckIntegerMatcher>(MC->getNext())) in ContractNodes()
60 if (MC->getChildNo() < 5) // Only have CheckChildInteger0...4 in ContractNodes()
61 New = new CheckChildIntegerMatcher(MC->getChildNo(), CS->getValue()); in ContractNodes()
68 MC->setNext(MC->getNext()->takeNext()); in ContractNodes()
74 if (MoveChildMatcher *MC = dyn_cast<MoveChildMatcher>(N)) in ContractNodes() local
76 dyn_cast<MoveParentMatcher>(MC->getNext())) { in ContractNodes()