Searched refs:CheckTypeMatcher (Results 1 – 5 of 5) sorted by relevance
50 if (CheckTypeMatcher *CT = dyn_cast<CheckTypeMatcher>(MC->getNext())) in ContractNodes()145 if ((isa<CheckTypeMatcher>(N) || isa<CheckChildTypeMatcher>(N) || in ContractNodes()355 CheckTypeMatcher *CTM = in FactorNodes()356 cast_or_null<CheckTypeMatcher>(FindNodeWithKind(NewOptionsToMatch[i], in FactorNodes()399 CheckTypeMatcher *CTM = in FactorNodes()400 cast_or_null<CheckTypeMatcher>(FindNodeWithKind(NewOptionsToMatch[i], in FactorNodes()431 MatcherPtr.reset(new CheckTypeMatcher(Cases[0].first, 0)); in FactorNodes()
173 void CheckTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()337 if (const CheckTypeMatcher *CT = dyn_cast<CheckTypeMatcher>(M)) { in isContradictoryImpl()350 bool CheckTypeMatcher::isContradictoryImpl(const Matcher *M) const { in isContradictoryImpl()351 if (const CheckTypeMatcher *CT = dyn_cast<CheckTypeMatcher>(M)) in isContradictoryImpl()
482 class CheckTypeMatcher : public Matcher {486 CheckTypeMatcher(MVT::SimpleValueType type, unsigned resno) in CheckTypeMatcher() function499 return cast<CheckTypeMatcher>(M)->Type == Type; in isEqualImpl()
388 assert(cast<CheckTypeMatcher>(N)->getResNo() == 0 && in EmitMatcher()391 << getEnumName(cast<CheckTypeMatcher>(N)->getType()) << ",\n"; in EmitMatcher()
488 AddMatcher(new CheckTypeMatcher(N->getType(ResultsToTypeCheck[i]), in EmitMatchCode()