Lines Matching refs:MatcherPtr
24 static void ContractNodes(std::unique_ptr<Matcher> &MatcherPtr, in ContractNodes() argument
27 Matcher *N = MatcherPtr.get(); in ContractNodes()
68 New->setNext(MatcherPtr.release()); in ContractNodes()
69 MatcherPtr.reset(New); in ContractNodes()
72 return ContractNodes(MatcherPtr, CGP); in ContractNodes()
80 MatcherPtr.reset(MP->takeNext()); in ContractNodes()
81 return ContractNodes(MatcherPtr, CGP); in ContractNodes()
127 MatcherPtr.reset(new MorphNodeToMatcher(EN->getOpcodeName(), in ContractNodes()
152 Matcher *CheckType = MatcherPtr.release(); in ContractNodes()
157 MatcherPtr.reset(CheckOpcode); in ContractNodes()
160 return ContractNodes(MatcherPtr, CGP); in ContractNodes()
201 std::unique_ptr<Matcher> &MatcherPtr = *RebindableMatcherPtr; in FactorNodes() local
338 MatcherPtr.reset(NewOptionsToMatch[0]); in FactorNodes()
343 MatcherPtr.reset(); in FactorNodes()
403 MatcherPtr.reset(new SwitchOpcodeMatcher(Cases)); in FactorNodes()
450 MatcherPtr.reset(new SwitchTypeMatcher(Cases)); in FactorNodes()
453 MatcherPtr.reset(new CheckTypeMatcher(Cases[0].first, 0)); in FactorNodes()
454 MatcherPtr->setNext(Cases[0].second); in FactorNodes()
467 llvm::OptimizeMatcher(std::unique_ptr<Matcher> &MatcherPtr, in OptimizeMatcher() argument
469 ContractNodes(MatcherPtr, CGP); in OptimizeMatcher()
470 FactorNodes(MatcherPtr); in OptimizeMatcher()