Lines Matching defs:OM
703 for (auto &OM : InsnMatcher.operands()) {
710 for (auto &OP : OM->predicates())
713 OM->eraseNullPredicates();
753 for (auto &OM : Matcher.operands())
754 for (auto &OP : OM->predicates())
769 for (auto &OM : Matcher.operands())
770 for (auto &OP : OM->predicates())
787 for (auto &OM : Matcher.operands())
788 for (auto &OP : OM->predicates())
791 OM->eraseNullPredicates();
876 void RuleMatcher::defineOperand(StringRef SymbolicName, OperandMatcher &OM) {
877 if (DefinedOperands.try_emplace(SymbolicName, &OM).second)
882 RuleMatcher &RM = OM.getInstructionMatcher().getRuleMatcher();
883 OM.addPredicate<SameOperandMatcher>(
884 OM.getSymbolicName(), getOperandMatcher(OM.getSymbolicName()).getOpIdx(),
888 void RuleMatcher::definePhysRegOperand(const Record *Reg, OperandMatcher &OM) {
889 PhysRegOperands.try_emplace(Reg, &OM);
1719 OperandMatcher *OM = new OperandMatcher(*this, OpIdx, "", TempOpIdx);
1720 Operands.emplace_back(OM);
1721 Rule.definePhysRegOperand(Reg, *OM);
1722 return *OM;
1803 for (auto &OM : Operands)
1804 for (auto &OP : OM->predicates())
1807 OM->eraseNullPredicates();
1818 for (auto &OM : Operands) {
1819 for (auto &OP : OM->predicates())
1822 OM->eraseNullPredicates();
2145 const OperandMatcher &OM =
2147 if (Insn != &OM.getInstructionMatcher() ||
2148 OM.getOpIdx() != Renderer.index())