Lines Matching refs:OperandMatcher

648 class OperandMatcher;
829 StringMap<OperandMatcher *> DefinedOperands;
833 DenseMap<Record *, OperandMatcher *> PhysRegOperands;
915 void defineOperand(StringRef SymbolicName, OperandMatcher &OM);
917 void definePhysRegOperand(Record *Reg, OperandMatcher &OM);
941 const OperandMatcher &getOperandMatcher(StringRef Name) const;
942 const OperandMatcher &getPhysRegOperandMatcher(Record *) const;
1290 const OperandMatcher &Operand;
1299 const OperandMatcher &Operand, in ComplexPatternOperandMatcher()
1507 class OperandMatcher : public PredicateListMatcher<OperandPredicateMatcher> { class
1519 OperandMatcher(InstructionMatcher &Insn, unsigned OpIdx, in OperandMatcher() function in __anon79a6ec610111::OperandMatcher
1575 bool isHigherPriorityThan(OperandMatcher &B) { in isHigherPriorityThan()
1616 Error OperandMatcher::addTypeCheckPredicate(const TypeSetByHwMode &VTy, in addTypeCheckPredicate()
2062 typedef std::vector<std::unique_ptr<OperandMatcher>> OperandVec;
2100 OperandMatcher &addOperand(unsigned OpIdx, const std::string &SymbolicName, in addOperand()
2102 Operands.emplace_back(new OperandMatcher(*this, OpIdx, SymbolicName, in addOperand()
2110 OperandMatcher &getOperand(unsigned OpIdx) { in getOperand()
2112 [&OpIdx](const std::unique_ptr<OperandMatcher> &X) { in getOperand()
2120 OperandMatcher &addPhysRegInput(Record *Reg, unsigned OpIdx, in addPhysRegInput()
2123 OperandMatcher *OM = new OperandMatcher(*this, OpIdx, "", TempOpIdx); in addPhysRegInput()
2218 [](unsigned A, const std::unique_ptr<OperandMatcher> &Operand) { in countRendererFns()
2401 const OperandMatcher &Operand = Rule.getOperandMatcher(SymbolicName); in emitRenderOpcodes()
2432 const OperandMatcher &Operand = Rule.getPhysRegOperandMatcher(PhysReg); in emitRenderOpcodes()
2468 const OperandMatcher &Operand = Rule.getOperandMatcher(SymbolicName); in emitRenderOpcodes()
2570 const OperandMatcher &Operand = Rule.getOperandMatcher(SymbolicName); in emitRenderOpcodes()
2800 const OperandMatcher &OpdMatcher = Rule.getOperandMatcher(SymbolicName); in emitRenderOpcodes()
2860 const OperandMatcher &OM = Rule.getOperandMatcher(Copy->getSymbolicName()); in canMutate()
3086 void RuleMatcher::defineOperand(StringRef SymbolicName, OperandMatcher &OM) { in defineOperand()
3097 void RuleMatcher::definePhysRegOperand(Record *Reg, OperandMatcher &OM) { in definePhysRegOperand()
3113 const OperandMatcher &
3125 const OperandMatcher &
3299 const OperandMatcher &OtherOM = Rule.getOperandMatcher(MatchingName); in emitPredicateOpcodes()
3381 Error importComplexPatternOperandMatcher(OperandMatcher &OM, Record *R,
3598 OperandMatcher &OM = InsnMatcher.addOperand(OpIdx++, "", TempOpIdx); in createAndImportSelDAGMatcher()
3769 OperandMatcher &OM = in createAndImportSelDAGMatcher()
3802 OperandMatcher &OM = in createAndImportSelDAGMatcher()
3845 OperandMatcher &OM = in createAndImportSelDAGMatcher()
3870 OperandMatcher &OM, Record *R, unsigned &TempOpIdx) const { in importComplexPatternOperandMatcher()
3907 OperandMatcher &OM = in importChildMatcher()
4188 const OperandMatcher &OM = Rule.getOperandMatcher(DstChild->getName()); in importExplicitUseRenderer()
4789 OperandMatcher &OM0 = InsnMatcher.getOperand(0); in runOnPattern()
4857 OperandMatcher &OM = InsnMatcher.getOperand(OpIdx); in runOnPattern()
4868 OperandMatcher &OM = InsnMatcher.getOperand(OpIdx); in runOnPattern()
4880 OperandMatcher &OM = InsnMatcher.getOperand(OpIdx); in runOnPattern()
5848 unsigned OperandMatcher::getInsnVarID() const { return Insn.getInsnVarID(); } in getInsnVarID()