Lines Matching refs:MatchRoot
801 Pattern *MatchRoot = nullptr; member in __anon26f8cc580111::CombineRuleBuilder
839 assert(MatchRoot); in emitRuleMatchers()
845 switch (MatchRoot->getKind()) { in emitRuleMatchers()
847 if (!emitMatchPattern(CE, Alts, *cast<AnyOpcodePattern>(MatchRoot))) in emitRuleMatchers()
854 if (!emitMatchPattern(CE, Alts, *cast<InstructionPattern>(MatchRoot))) in emitRuleMatchers()
901 if (Pat.get() == MatchRoot) in print()
1167 assert(MatchRoot && "Cannot call this before findRoots()"); in checkSemantics()
1252 const auto *IRoot = dyn_cast<CodeGenInstructionPattern>(MatchRoot); in checkSemantics()
1278 if (MatchOpTable.getDef(OldRegName) != MatchRoot) { in checkSemantics()
1344 assert(MatchRoot); in findRoots()
1349 auto *IPRoot = dyn_cast<InstructionPattern>(MatchRoot); in findRoots()
1404 MatchRoot = MatchPatIt->second.get(); in findRoots()
1416 MatchRoot = LookupRes.Def; in findRoots()
1417 if (!MatchRoot) { in findRoots()
2190 M.getInsnVarID(M.getInstructionMatcher(MatchRoot->getName())); in emitApplyPatterns()
2291 if (OpLookupRes.Def != MatchRoot) { in emitInstructionApplyPattern()
2425 assert(MatchOpTable.getDef(Old) == MatchRoot); in emitBuiltinApplyPattern()