Lines Matching refs:MatcherPtr
25 static void ContractNodes(std::unique_ptr<Matcher> &MatcherPtr, in ContractNodes() argument
28 Matcher *N = MatcherPtr.get(); in ContractNodes()
65 New->setNext(MatcherPtr.release()); in ContractNodes()
66 MatcherPtr.reset(New); in ContractNodes()
69 return ContractNodes(MatcherPtr, CGP); in ContractNodes()
77 MatcherPtr.reset(MP->takeNext()); in ContractNodes()
78 return ContractNodes(MatcherPtr, CGP); in ContractNodes()
124 MatcherPtr.reset(new MorphNodeToMatcher(EN->getOpcodeName(), in ContractNodes()
149 Matcher *CheckType = MatcherPtr.release(); in ContractNodes()
154 MatcherPtr.reset(CheckOpcode); in ContractNodes()
157 return ContractNodes(MatcherPtr, CGP); in ContractNodes()
198 std::unique_ptr<Matcher> &MatcherPtr = *RebindableMatcherPtr; in FactorNodes() local
335 MatcherPtr.reset(NewOptionsToMatch[0]); in FactorNodes()
340 MatcherPtr.reset(); in FactorNodes()
400 MatcherPtr.reset(new SwitchOpcodeMatcher(Cases)); in FactorNodes()
446 MatcherPtr.reset(new SwitchTypeMatcher(Cases)); in FactorNodes()
449 MatcherPtr.reset(new CheckTypeMatcher(Cases[0].first, 0)); in FactorNodes()
450 MatcherPtr->setNext(Cases[0].second); in FactorNodes()
463 llvm::OptimizeMatcher(std::unique_ptr<Matcher> &MatcherPtr, in OptimizeMatcher() argument
465 ContractNodes(MatcherPtr, CGP); in OptimizeMatcher()
466 FactorNodes(MatcherPtr); in OptimizeMatcher()