Lines Matching refs:SymbolicName

883   InstructionMatcher &addInstructionMatcher(StringRef SymbolicName);
928 void defineOperand(StringRef SymbolicName, OperandMatcher &OM);
932 Error defineComplexSubOperand(StringRef SymbolicName, Record *ComplexPattern, in defineComplexSubOperand() argument
936 if (ComplexSubOperands.count(SymbolicName)) { in defineComplexSubOperand()
937 auto RecordedParentName = ComplexSubOperandsParentName[SymbolicName]; in defineComplexSubOperand()
939 return failedImport("Error: Complex suboperand " + SymbolicName + in defineComplexSubOperand()
948 ComplexSubOperands[SymbolicName] = in defineComplexSubOperand()
950 ComplexSubOperandsParentName[SymbolicName] = ParentName; in defineComplexSubOperand()
956 getComplexSubOperand(StringRef SymbolicName) const { in getComplexSubOperand()
957 const auto &I = ComplexSubOperands.find(SymbolicName); in getComplexSubOperand()
963 InstructionMatcher &getInstructionMatcher(StringRef SymbolicName) const;
1571 std::string SymbolicName; member in __anon0a286f430111::OperandMatcher
1580 const std::string &SymbolicName, in OperandMatcher() argument
1582 : Insn(Insn), OpIdx(OpIdx), SymbolicName(SymbolicName), in OperandMatcher()
1585 bool hasSymbolicName() const { return !SymbolicName.empty(); } in hasSymbolicName()
1586 const StringRef getSymbolicName() const { return SymbolicName; } in getSymbolicName()
1588 assert(SymbolicName.empty() && "Operand already has a symbolic name"); in setSymbolicName()
1589 SymbolicName = std::string(Name); in setSymbolicName()
1622 if (SymbolicName.empty()) in emitPredicateOpcodes()
1625 CommentOS << SymbolicName; in emitPredicateOpcodes()
2211 std::string SymbolicName; member in __anon0a286f430111::InstructionMatcher
2220 InstructionMatcher(RuleMatcher &Rule, StringRef SymbolicName, in InstructionMatcher() argument
2222 : Rule(Rule), NumOperandsCheck(NumOpsCheck), SymbolicName(SymbolicName) { in InstructionMatcher()
2241 OperandMatcher &addOperand(unsigned OpIdx, const std::string &SymbolicName, in addOperand() argument
2243 Operands.emplace_back(new OperandMatcher(*this, OpIdx, SymbolicName, in addOperand()
2245 if (!SymbolicName.empty()) in addOperand()
2246 Rule.defineOperand(SymbolicName, *Operands.back()); in addOperand()
2263 assert(SymbolicName.empty()); in addPhysRegInput()
2275 StringRef getSymbolicName() const { return SymbolicName; } in getSymbolicName()
2411 RuleMatcher &Rule, StringRef SymbolicName, in InstructionOperandMatcher() argument
2414 InsnMatcher(new InstructionMatcher(Rule, SymbolicName, NumOpsCheck)) {} in InstructionOperandMatcher()
2527 const StringRef SymbolicName; member in __anon0a286f430111::CopyRenderer
2530 CopyRenderer(unsigned NewInsnID, StringRef SymbolicName) in CopyRenderer() argument
2532 SymbolicName(SymbolicName) { in CopyRenderer()
2533 assert(!SymbolicName.empty() && "Cannot copy from an unspecified source"); in CopyRenderer()
2540 const StringRef getSymbolicName() const { return SymbolicName; } in getSymbolicName()
2543 const OperandMatcher &Operand = Rule.getOperandMatcher(SymbolicName); in emitRenderOpcodes()
2549 << MatchTable::Comment(SymbolicName) << MatchTable::LineBreak; in emitRenderOpcodes()
2592 const StringRef SymbolicName; member in __anon0a286f430111::CopyOrAddZeroRegRenderer
2597 StringRef SymbolicName, Record *ZeroRegisterDef) in CopyOrAddZeroRegRenderer() argument
2599 SymbolicName(SymbolicName), ZeroRegisterDef(ZeroRegisterDef) { in CopyOrAddZeroRegRenderer()
2600 assert(!SymbolicName.empty() && "Cannot copy from an unspecified source"); in CopyOrAddZeroRegRenderer()
2607 const StringRef getSymbolicName() const { return SymbolicName; } in getSymbolicName()
2610 const OperandMatcher &Operand = Rule.getOperandMatcher(SymbolicName); in emitRenderOpcodes()
2622 << MatchTable::Comment(SymbolicName) << MatchTable::LineBreak; in emitRenderOpcodes()
2632 const std::string SymbolicName; member in __anon0a286f430111::CopyConstantAsImmRenderer
2636 CopyConstantAsImmRenderer(unsigned NewInsnID, StringRef SymbolicName) in CopyConstantAsImmRenderer() argument
2638 SymbolicName(SymbolicName), Signed(true) {} in CopyConstantAsImmRenderer()
2644 const StringRef getSymbolicName() const { return SymbolicName; } in getSymbolicName()
2647 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName); in emitRenderOpcodes()
2654 << MatchTable::Comment(SymbolicName) << MatchTable::LineBreak; in emitRenderOpcodes()
2664 const std::string SymbolicName; member in __anon0a286f430111::CopyFConstantAsFPImmRenderer
2667 CopyFConstantAsFPImmRenderer(unsigned NewInsnID, StringRef SymbolicName) in CopyFConstantAsFPImmRenderer() argument
2669 SymbolicName(SymbolicName) {} in CopyFConstantAsFPImmRenderer()
2675 const StringRef getSymbolicName() const { return SymbolicName; } in getSymbolicName()
2678 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName); in emitRenderOpcodes()
2684 << MatchTable::Comment(SymbolicName) << MatchTable::LineBreak; in emitRenderOpcodes()
2695 const StringRef SymbolicName; member in __anon0a286f430111::CopySubRegRenderer
2700 CopySubRegRenderer(unsigned NewInsnID, StringRef SymbolicName, in CopySubRegRenderer() argument
2703 SymbolicName(SymbolicName), SubReg(SubReg) {} in CopySubRegRenderer()
2709 const StringRef getSymbolicName() const { return SymbolicName; } in getSymbolicName()
2712 const OperandMatcher &Operand = Rule.getOperandMatcher(SymbolicName); in emitRenderOpcodes()
2721 << MatchTable::Comment(SymbolicName) << MatchTable::LineBreak; in emitRenderOpcodes()
2867 const StringRef SymbolicName; member in __anon0a286f430111::RenderComplexPatternOperand
2881 StringRef SymbolicName, unsigned RendererID, in RenderComplexPatternOperand() argument
2884 SymbolicName(SymbolicName), RendererID(RendererID), in RenderComplexPatternOperand()
2900 Table << MatchTable::Comment(SymbolicName) << MatchTable::LineBreak; in emitRenderOpcodes()
2909 const std::string SymbolicName; member in __anon0a286f430111::CustomRenderer
2913 StringRef SymbolicName) in CustomRenderer() argument
2915 SymbolicName(SymbolicName) {} in CustomRenderer()
2922 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName); in emitRenderOpcodes()
2931 << MatchTable::Comment(SymbolicName) << MatchTable::LineBreak; in emitRenderOpcodes()
2940 const std::string SymbolicName; member in __anon0a286f430111::CustomOperandRenderer
2944 StringRef SymbolicName) in CustomOperandRenderer() argument
2946 SymbolicName(SymbolicName) {} in CustomOperandRenderer()
2953 const OperandMatcher &OpdMatcher = Rule.getOperandMatcher(SymbolicName); in emitRenderOpcodes()
2963 << MatchTable::Comment(SymbolicName) << MatchTable::LineBreak; in emitRenderOpcodes()
3185 InstructionMatcher &RuleMatcher::addInstructionMatcher(StringRef SymbolicName) { in addInstructionMatcher() argument
3186 Matchers.emplace_back(new InstructionMatcher(*this, SymbolicName)); in addInstructionMatcher()
3239 void RuleMatcher::defineOperand(StringRef SymbolicName, OperandMatcher &OM) { in defineOperand() argument
3240 if (DefinedOperands.find(SymbolicName) == DefinedOperands.end()) { in defineOperand()
3241 DefinedOperands[SymbolicName] = &OM; in defineOperand()
3258 RuleMatcher::getInstructionMatcher(StringRef SymbolicName) const { in getInstructionMatcher()
3260 if (I.first->getSymbolicName() == SymbolicName) in getInstructionMatcher()
3263 ("Failed to lookup instruction " + SymbolicName).str().c_str()); in getInstructionMatcher()