Lines Matching refs:OperandMatcher
671 class OperandMatcher;
851 StringMap<OperandMatcher *> DefinedOperands;
855 DenseMap<Record *, OperandMatcher *> PhysRegOperands;
940 void defineOperand(StringRef SymbolicName, OperandMatcher &OM);
942 void definePhysRegOperand(Record *Reg, OperandMatcher &OM);
977 const OperandMatcher &getOperandMatcher(StringRef Name) const;
978 const OperandMatcher &getPhysRegOperandMatcher(Record *) const;
1367 const OperandMatcher &Operand;
1376 const OperandMatcher &Operand, in ComplexPatternOperandMatcher()
1618 class OperandMatcher : public PredicateListMatcher<OperandPredicateMatcher> { class
1630 OperandMatcher(InstructionMatcher &Insn, unsigned OpIdx, in OperandMatcher() function in __anoncee47b830111::OperandMatcher
1686 bool isHigherPriorityThan(OperandMatcher &B) { in isHigherPriorityThan()
1727 Error OperandMatcher::addTypeCheckPredicate(const TypeSetByHwMode &VTy, in addTypeCheckPredicate()
2276 typedef std::vector<std::unique_ptr<OperandMatcher>> OperandVec;
2315 OperandMatcher &addOperand(unsigned OpIdx, const std::string &SymbolicName, in addOperand()
2317 Operands.emplace_back(new OperandMatcher(*this, OpIdx, SymbolicName, in addOperand()
2325 OperandMatcher &getOperand(unsigned OpIdx) { in getOperand()
2327 [&OpIdx](const std::unique_ptr<OperandMatcher> &X) { in getOperand()
2335 OperandMatcher &addPhysRegInput(Record *Reg, unsigned OpIdx, in addPhysRegInput()
2338 OperandMatcher *OM = new OperandMatcher(*this, OpIdx, "", TempOpIdx); in addPhysRegInput()
2433 [](unsigned A, const std::unique_ptr<OperandMatcher> &Operand) { in countRendererFns()
2617 const OperandMatcher &Operand = Rule.getOperandMatcher(SymbolicName); in emitRenderOpcodes()
2648 const OperandMatcher &Operand = Rule.getPhysRegOperandMatcher(PhysReg); in emitRenderOpcodes()
2684 const OperandMatcher &Operand = Rule.getOperandMatcher(SymbolicName); in emitRenderOpcodes()
2786 const OperandMatcher &Operand = Rule.getOperandMatcher(SymbolicName); in emitRenderOpcodes()
3027 const OperandMatcher &OpdMatcher = Rule.getOperandMatcher(SymbolicName); in emitRenderOpcodes()
3087 const OperandMatcher &OM = Rule.getOperandMatcher(Copy->getSymbolicName()); in canMutate()
3313 void RuleMatcher::defineOperand(StringRef SymbolicName, OperandMatcher &OM) { in defineOperand()
3325 void RuleMatcher::definePhysRegOperand(Record *Reg, OperandMatcher &OM) { in definePhysRegOperand()
3341 const OperandMatcher &
3353 const OperandMatcher &
3527 const OperandMatcher &OtherOM = Rule.getOperandMatcher(MatchingName); in emitPredicateOpcodes()
3619 Error importComplexPatternOperandMatcher(OperandMatcher &OM, Record *R,
4010 OperandMatcher &OM = InsnMatcher.addOperand(OpIdx++, "", TempOpIdx); in createAndImportSelDAGMatcher()
4074 OperandMatcher &OM = in createAndImportSelDAGMatcher()
4107 OperandMatcher &OM = in createAndImportSelDAGMatcher()
4171 OperandMatcher &OM = in createAndImportSelDAGMatcher()
4196 OperandMatcher &OM, Record *R, unsigned &TempOpIdx) const { in importComplexPatternOperandMatcher()
4244 OperandMatcher &OM = in importChildMatcher()
4422 OperandMatcher &OM = in importChildMatcher()
4576 const OperandMatcher &OM = Rule.getOperandMatcher(DstChild->getName()); in importExplicitUseRenderer()
5221 OperandMatcher &OM0 = InsnMatcher.getOperand(0); in runOnPattern()
5304 OperandMatcher &OM = InsnMatcher.getOperand(OpIdx); in runOnPattern()
5315 OperandMatcher &OM = InsnMatcher.getOperand(OpIdx); in runOnPattern()
5327 OperandMatcher &OM = InsnMatcher.getOperand(OpIdx); in runOnPattern()
6293 unsigned OperandMatcher::getInsnVarID() const { return Insn.getInsnVarID(); } in getInsnVarID()