Searched refs:PredicateMatcher (Results 1 – 3 of 3) sorted by relevance
52 class PredicateMatcher; variable314 virtual const PredicateMatcher &getFirstCondition() const = 0;315 virtual std::unique_ptr<PredicateMatcher> popFirstCondition() = 0;320 SmallVector<std::unique_ptr<PredicateMatcher>, 1> Conditions;369 std::unique_ptr<PredicateMatcher> popFirstCondition() override { in popFirstCondition()372 std::unique_ptr<PredicateMatcher> P = std::move(Conditions.front()); in popFirstCondition()376 const PredicateMatcher &getFirstCondition() const override { in getFirstCondition()386 bool candidateConditionMatches(const PredicateMatcher &Predicate) const;413 std::unique_ptr<PredicateMatcher> Condition = nullptr;435 std::unique_ptr<PredicateMatcher> popFirstCondition() override { in popFirstCondition()[all …]
459 const PredicateMatcher &Predicate) const { in candidateConditionMatches()483 const PredicateMatcher &Predicate = Candidate.getFirstCondition(); in addMatcher()562 bool SwitchMatcher::isSupportedPredicateType(const PredicateMatcher &P) { in isSupportedPredicateType()567 const PredicateMatcher &Predicate) const { in candidateConditionMatches()604 const PredicateMatcher &Predicate = Candidate.getFirstCondition(); in addMatcher()629 void SwitchMatcher::emitPredicateSpecificOpcodes(const PredicateMatcher &P, in emitPredicateSpecificOpcodes()726 llvm::sort(EpilogueMatchers, [](const std::unique_ptr<PredicateMatcher> &L, in optimize()727 const std::unique_ptr<PredicateMatcher> &R) { in optimize()769 const PredicateMatcher &RuleMatcher::getFirstCondition() const { in getFirstCondition()787 std::unique_ptr<PredicateMatcher> RuleMatcher::popFirstCondition() { in popFirstCondition()[all …]
3447 class PredicateMatcher : public MatcherBase<T> { class3452 PredicateMatcher(std::function<bool(T const&)> const& elem, std::string const& descr) in PredicateMatcher() function in Catch::Matchers::Generic::PredicateMatcher3473 …Generic::PredicateMatcher<T> Predicate(std::function<bool(T const&)> const& predicate, std::string… in Predicate()3474 return Generic::PredicateMatcher<T>(predicate, description); in Predicate()