Searched refs:ScopeMatcher (Results 1 – 15 of 15) sorted by relevance
32 if (ScopeMatcher *Scope = dyn_cast<ScopeMatcher>(N)) { in ContractNodes()186 ScopeMatcher *Scope = nullptr; in FactorNodes()194 Scope = dyn_cast<ScopeMatcher>(N); in FactorNodes()211 if (auto *SM = dyn_cast<ScopeMatcher>(Child.get())) { in FactorNodes()324 Shared->setNext(new ScopeMatcher(EqualMatchers)); in FactorNodes()420 if (ScopeMatcher *SM = dyn_cast<ScopeMatcher>(PrevMatcher)) { in FactorNodes()427 Cases[Entry-1].second = new ScopeMatcher(Entries); in FactorNodes()437 if (ScopeMatcher *SM = dyn_cast<ScopeMatcher>(M.second)) { in FactorNodes()
81 ScopeMatcher::~ScopeMatcher() { in ~ScopeMatcher()107 void ScopeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
277 const ScopeMatcher *SM = cast<ScopeMatcher>(N); in EmitMatcher()927 if (const ScopeMatcher *SM = dyn_cast<ScopeMatcher>(M)) { in BuildHistogram()
177 llvm::make_unique<ScopeMatcher>(PatternMatchers); in run()
178 class ScopeMatcher : public Matcher {181 ScopeMatcher(ArrayRef<Matcher *> children) in ScopeMatcher() function184 ~ScopeMatcher() override;
32 if (ScopeMatcher *Scope = dyn_cast<ScopeMatcher>(N)) { in ContractNodes()190 if (ScopeMatcher *Scope = dyn_cast<ScopeMatcher>(N)) { in SinkPatternPredicates()254 ScopeMatcher *Scope = dyn_cast<ScopeMatcher>(N); in FactorNodes()379 Shared->setNext(new ScopeMatcher(&EqualMatchers[0], EqualMatchers.size())); in FactorNodes()474 if (ScopeMatcher *SM = dyn_cast<ScopeMatcher>(PrevMatcher)) { in FactorNodes()481 Cases[Entry-1].second = new ScopeMatcher(Entries, 2); in FactorNodes()
80 ScopeMatcher::~ScopeMatcher() { in ~ScopeMatcher()97 void ScopeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
144 const ScopeMatcher *SM = cast<ScopeMatcher>(N); in EmitMatcher()718 if (const ScopeMatcher *SM = dyn_cast<ScopeMatcher>(M)) { in BuildHistogram()
148 Matcher *TheMatcher = new ScopeMatcher(&PatternMatchers[0], in run()
187 class ScopeMatcher : public Matcher {190 ScopeMatcher(Matcher *const *children, unsigned numchildren) in ScopeMatcher() function193 virtual ~ScopeMatcher();
32 if (ScopeMatcher *Scope = dyn_cast<ScopeMatcher>(N)) { in ContractNodes()190 ScopeMatcher *Scope = dyn_cast<ScopeMatcher>(N); in FactorNodes()314 Shared->setNext(new ScopeMatcher(EqualMatchers)); in FactorNodes()410 if (ScopeMatcher *SM = dyn_cast<ScopeMatcher>(PrevMatcher)) { in FactorNodes()417 std::unique_ptr<Matcher> Case(new ScopeMatcher(Entries)); in FactorNodes()
82 ScopeMatcher::~ScopeMatcher() { in ~ScopeMatcher()108 void ScopeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
162 const ScopeMatcher *SM = cast<ScopeMatcher>(N); in EmitMatcher()754 if (const ScopeMatcher *SM = dyn_cast<ScopeMatcher>(M)) { in BuildHistogram()
161 llvm::make_unique<ScopeMatcher>(PatternMatchers); in run()