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()
757 for (auto &OM : Matcher.operands()) in hasFirstCondition() local
758 for (auto &OP : OM->predicates()) in hasFirstCondition()
773 for (auto &OM : Matcher.operands()) in getFirstCondition() local
774 for (auto &OP : OM->predicates()) in getFirstCondition()
791 for (auto &OM : Matcher.operands()) in popFirstCondition() local
792 for (auto &OP : OM->predicates()) in popFirstCondition()
795 OM->eraseNullPredicates(); in popFirstCondition()
889 void RuleMatcher::defineOperand(StringRef SymbolicName, OperandMatcher &OM) { in defineOperand() argument
891 DefinedOperands[SymbolicName] = &OM; in defineOperand()
897 RuleMatcher &RM = OM.getInstructionMatcher().getRuleMatcher(); in defineOperand()
898 OM.addPredicate<SameOperandMatcher>( in defineOperand()
899 OM.getSymbolicName(), getOperandMatcher(OM.getSymbolicName()).getOpIdx(), in defineOperand()
903 void RuleMatcher::definePhysRegOperand(Record *Reg, OperandMatcher &OM) { in definePhysRegOperand() argument
905 PhysRegOperands[Reg] = &OM; in definePhysRegOperand()
1720 OperandMatcher *OM = new OperandMatcher(*this, OpIdx, "", TempOpIdx); in addPhysRegInput() local
1721 Operands.emplace_back(OM); in addPhysRegInput()
1722 Rule.definePhysRegOperand(Reg, *OM); in addPhysRegInput()
1724 return *OM; in addPhysRegInput()
1802 for (auto &OM : Operands) in optimize() local
1803 for (auto &OP : OM->predicates()) in optimize()
1806 OM->eraseNullPredicates(); in optimize()
1817 for (auto &OM : Operands) { in optimize() local
1818 for (auto &OP : OM->predicates()) in optimize()
1821 OM->eraseNullPredicates(); in optimize()
2138 const OperandMatcher &OM = in canMutate() local
2140 if (Insn != &OM.getInstructionMatcher() || in canMutate()
2141 OM.getOpIdx() != Renderer.index()) in canMutate()