Lines Matching defs:SymbolicName

824 Error RuleMatcher::defineComplexSubOperand(StringRef SymbolicName,
830 if (ComplexSubOperands.count(SymbolicName)) {
832 ComplexSubOperandsParentName[SymbolicName];
834 return failUnsupported("Error: Complex suboperand " + SymbolicName +
843 ComplexSubOperands[SymbolicName] = {ComplexPattern, RendererID, SubOperandID};
844 ComplexSubOperandsParentName[SymbolicName] = std::move(ParentName);
849 InstructionMatcher &RuleMatcher::addInstructionMatcher(StringRef SymbolicName) {
850 Matchers.emplace_back(new InstructionMatcher(*this, SymbolicName));
876 void RuleMatcher::defineOperand(StringRef SymbolicName, OperandMatcher &OM) {
877 if (DefinedOperands.try_emplace(SymbolicName, &OM).second)
893 RuleMatcher::getInstructionMatcher(StringRef SymbolicName) const {
895 if (I.first->getSymbolicName() == SymbolicName)
898 ("Failed to lookup instruction " + SymbolicName).str().c_str());
1348 if (SymbolicName.empty())
1351 CommentOS << SymbolicName;
1693 InstructionMatcher::addOperand(unsigned OpIdx, const std::string &SymbolicName,
1699 *this, OpIdx, SymbolicName, AllocatedTemporariesBaseID, IsVariadic));
1700 if (!SymbolicName.empty())
1701 Rule.defineOperand(SymbolicName, *Operands.back());
1718 assert(SymbolicName.empty());
1884 const OperandMatcher &Operand = Rule.getOperandMatcher(SymbolicName);
1888 SymbolicName, Operand.isVariadic());
1905 const OperandMatcher &Operand = Rule.getOperandMatcher(SymbolicName);
1920 << MatchTable::Comment(SymbolicName) << MatchTable::LineBreak;
1927 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName);
1935 << MatchTable::Comment(SymbolicName) << MatchTable::LineBreak;
1942 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName);
1949 << MatchTable::Comment(SymbolicName) << MatchTable::LineBreak;
1956 const OperandMatcher &Operand = Rule.getOperandMatcher(SymbolicName);
1967 << MatchTable::Comment(SymbolicName) << MatchTable::LineBreak;
2087 Table << MatchTable::Comment(SymbolicName) << MatchTable::LineBreak;
2104 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName);
2113 << MatchTable::Comment(SymbolicName) << MatchTable::LineBreak;
2120 const OperandMatcher &OpdMatcher = Rule.getOperandMatcher(SymbolicName);
2130 << MatchTable::Comment(SymbolicName) << MatchTable::LineBreak;