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;
370 MatcherPtr.reset(OptionsToMatch[0]);
375 MatcherPtr.reset();
433 MatcherPtr.reset(new SwitchOpcodeMatcher(std::move(Cases)));
480 MatcherPtr.reset(new SwitchTypeMatcher(std::move(Cases)));
483 MatcherPtr.reset(new CheckTypeMatcher(Cases[0].first, 0));
484 MatcherPtr->setNext(Cases[0].second);
495 void llvm::OptimizeMatcher(std::unique_ptr<Matcher> &MatcherPtr,
497 ContractNodes(MatcherPtr, CGP);
498 FactorNodes(MatcherPtr);