Lines Matching refs:InstructionMatcher

184 class InstructionMatcher;
809 using MatchersTy = std::vector<std::unique_ptr<InstructionMatcher>> ;
816 using DefinedInsnVariablesMap = std::map<InstructionMatcher *, unsigned>;
821 using MutatableInsnSet = SmallPtrSet<InstructionMatcher *, 4>;
870 InstructionMatcher &addInstructionMatcher(StringRef SymbolicName);
879 unsigned implicitlyDefineInsnVar(InstructionMatcher &Matcher);
881 unsigned getInsnVarID(InstructionMatcher &InsnMatcher) const;
903 void reserveInsnMatcherForMutation(InstructionMatcher *InsnMatcher) { in reserveInsnMatcherForMutation()
940 InstructionMatcher &getInstructionMatcher(StringRef SymbolicName) const;
964 InstructionMatcher &insnmatchers_front() const { return *Matchers.front(); } in insnmatchers_front()
1509 InstructionMatcher &Insn;
1519 OperandMatcher(InstructionMatcher &Insn, unsigned OpIdx, in OperandMatcher()
1550 InstructionMatcher &getInstructionMatcher() const { return Insn; } in getInstructionMatcher()
2060 class InstructionMatcher final : public PredicateListMatcher<PredicateMatcher> { class
2080 InstructionMatcher(RuleMatcher &Rule, StringRef SymbolicName) in InstructionMatcher() function in __anon79a6ec610111::InstructionMatcher
2181 bool isHigherPriorityThan(InstructionMatcher &B) { in isHigherPriorityThan()
2246 InstructionMatcher &InsnMatcher = *Matchers.front(); in getFirstConditionAsRootType()
2266 std::unique_ptr<InstructionMatcher> InsnMatcher;
2272 InsnMatcher(new InstructionMatcher(Rule, SymbolicName)) {} in InstructionOperandMatcher()
2278 InstructionMatcher &getInsnMatcher() const { return *InsnMatcher; } in getInsnMatcher()
2311 void InstructionMatcher::optimize() { in optimize()
2505 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName); in emitRenderOpcodes()
2536 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName); in emitRenderOpcodes()
2769 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName); in emitRenderOpcodes()
2847 InstructionMatcher *Matched;
2851 bool canMutate(RuleMatcher &Rule, const InstructionMatcher *Insn) const { in canMutate()
3032 InstructionMatcher &RuleMatcher::addInstructionMatcher(StringRef SymbolicName) { in addInstructionMatcher()
3033 Matchers.emplace_back(new InstructionMatcher(*this, SymbolicName)); in addInstructionMatcher()
3073 unsigned RuleMatcher::implicitlyDefineInsnVar(InstructionMatcher &Matcher) { in implicitlyDefineInsnVar()
3079 unsigned RuleMatcher::getInsnVarID(InstructionMatcher &InsnMatcher) const { in getInsnVarID()
3104 InstructionMatcher &
3260 [](unsigned A, const std::unique_ptr<InstructionMatcher> &Matcher) { in countRendererFns()
3377 Expected<InstructionMatcher &>
3379 InstructionMatcher &InsnMatcher,
3383 Error importChildMatcher(RuleMatcher &Rule, InstructionMatcher &InsnMatcher,
3389 RuleMatcher &M, InstructionMatcher &InsnMatcher,
3565 Expected<InstructionMatcher &> GlobalISelEmitter::createAndImportSelDAGMatcher( in createAndImportSelDAGMatcher()
3566 RuleMatcher &Rule, InstructionMatcher &InsnMatcher, in createAndImportSelDAGMatcher()
3900 RuleMatcher &Rule, InstructionMatcher &InsnMatcher, in importChildMatcher()
4203 RuleMatcher &M, InstructionMatcher &InsnMatcher, const TreePatternNode *Src, in createAndImportInstructionRenderer()
4770 InstructionMatcher &InsnMatcherTemp = M.addInstructionMatcher(Src->getName()); in runOnPattern()
4776 InstructionMatcher &InsnMatcher = InsnMatcherOrError.get(); in runOnPattern()
5569 InstructionMatcher &InsnMatcher = *Item.first; in optimize()
5594 InstructionMatcher &Matcher = insnmatchers_front(); in hasFirstCondition()
5608 InstructionMatcher &Matcher = insnmatchers_front(); in getFirstCondition()
5626 InstructionMatcher &Matcher = insnmatchers_front(); in popFirstCondition()