Lines Matching refs:OM
707 for (auto &OM : InsnMatcher.operands()) { in optimize() local
714 for (auto &OP : OM->predicates()) in optimize()
717 OM->eraseNullPredicates(); in optimize()
734 for (auto &OM : Matcher.operands()) in hasFirstCondition() local
735 for (auto &OP : OM->predicates()) in hasFirstCondition()
750 for (auto &OM : Matcher.operands()) in getFirstCondition() local
751 for (auto &OP : OM->predicates()) in getFirstCondition()
768 for (auto &OM : Matcher.operands()) in popFirstCondition() local
769 for (auto &OP : OM->predicates()) in popFirstCondition()
772 OM->eraseNullPredicates(); in popFirstCondition()
866 void RuleMatcher::defineOperand(StringRef SymbolicName, OperandMatcher &OM) { in defineOperand() argument
868 DefinedOperands[SymbolicName] = &OM; in defineOperand()
874 RuleMatcher &RM = OM.getInstructionMatcher().getRuleMatcher(); in defineOperand()
875 OM.addPredicate<SameOperandMatcher>( in defineOperand()
876 OM.getSymbolicName(), getOperandMatcher(OM.getSymbolicName()).getOpIdx(), in defineOperand()
880 void RuleMatcher::definePhysRegOperand(Record *Reg, OperandMatcher &OM) { in definePhysRegOperand() argument
882 PhysRegOperands[Reg] = &OM; in definePhysRegOperand()
1676 OperandMatcher *OM = new OperandMatcher(*this, OpIdx, "", TempOpIdx); in addPhysRegInput() local
1677 Operands.emplace_back(OM); in addPhysRegInput()
1678 Rule.definePhysRegOperand(Reg, *OM); in addPhysRegInput()
1680 return *OM; in addPhysRegInput()
1758 for (auto &OM : Operands) in optimize() local
1759 for (auto &OP : OM->predicates()) in optimize()
1762 OM->eraseNullPredicates(); in optimize()
1773 for (auto &OM : Operands) { in optimize() local
1774 for (auto &OP : OM->predicates()) in optimize()
1777 OM->eraseNullPredicates(); in optimize()
2086 const OperandMatcher &OM = in canMutate() local
2088 if (Insn != &OM.getInstructionMatcher() || in canMutate()
2089 OM.getOpIdx() != Renderer.index()) in canMutate()