Lines Matching refs:MatchRoot
791 Pattern *MatchRoot = nullptr; member in __anon569e2aa20111::CombineRuleBuilder
826 assert(MatchRoot); in emitRuleMatchers()
831 switch (MatchRoot->getKind()) { in emitRuleMatchers()
833 if (!emitMatchPattern(CE, Alts, *cast<AnyOpcodePattern>(MatchRoot))) in emitRuleMatchers()
840 if (!emitMatchPattern(CE, Alts, *cast<InstructionPattern>(MatchRoot))) in emitRuleMatchers()
887 if (Pat.get() == MatchRoot) in print()
1146 assert(MatchRoot && "Cannot call this before findRoots()"); in checkSemantics()
1242 const auto *IRoot = dyn_cast<CodeGenInstructionPattern>(MatchRoot); in checkSemantics()
1268 if (MatchOpTable.getDef(OldRegName) != MatchRoot) { in checkSemantics()
1340 assert(MatchRoot); in findRoots()
1345 auto *IPRoot = dyn_cast<InstructionPattern>(MatchRoot); in findRoots()
1400 MatchRoot = MatchPatIt->second.get(); in findRoots()
1412 MatchRoot = LookupRes.Def; in findRoots()
1413 if (!MatchRoot) { in findRoots()
1808 M.getInsnVarID(M.getInstructionMatcher(MatchRoot->getName())); in emitApplyPatterns()
1958 if (OpLookupRes.Def != MatchRoot) { in emitInstructionApplyPattern()
2097 assert(MatchOpTable.getDef(Old) == MatchRoot); in emitBuiltinApplyPattern()