Lines Matching defs:MatcherPtr
25 static void ContractNodes(std::unique_ptr<Matcher> &MatcherPtr,
28 Matcher *N = MatcherPtr.get();
70 New->setNext(MatcherPtr.release());
71 MatcherPtr.reset(New);
74 return ContractNodes(MatcherPtr, CGP);
81 MatcherPtr.reset(MP->takeNext());
82 return ContractNodes(MatcherPtr, CGP);
127 MatcherPtr.reset(new MorphNodeToMatcher(
148 Matcher *CheckType = MatcherPtr.release();
153 MatcherPtr.reset(CheckOpcode);
156 return ContractNodes(MatcherPtr, CGP);
165 MatcherPtr.reset(MS);
166 return ContractNodes(MatcherPtr, CGP);
176 MatcherPtr.reset(MS);
177 return ContractNodes(MatcherPtr, CGP);
221 std::unique_ptr<Matcher> &MatcherPtr = *RebindableMatcherPtr;
369 MatcherPtr.reset(OptionsToMatch[0]);
374 MatcherPtr.reset();
432 MatcherPtr.reset(new SwitchOpcodeMatcher(std::move(Cases)));
479 MatcherPtr.reset(new SwitchTypeMatcher(std::move(Cases)));
482 MatcherPtr.reset(new CheckTypeMatcher(Cases[0].first, 0));
483 MatcherPtr->setNext(Cases[0].second);
494 void llvm::OptimizeMatcher(std::unique_ptr<Matcher> &MatcherPtr,
496 ContractNodes(MatcherPtr, CGP);
497 FactorNodes(MatcherPtr);