Lines Matching refs:InstructionMatcher
200 class InstructionMatcher;
831 using MatchersTy = std::vector<std::unique_ptr<InstructionMatcher>> ;
838 using DefinedInsnVariablesMap = std::map<InstructionMatcher *, unsigned>;
843 using MutatableInsnSet = SmallPtrSet<InstructionMatcher *, 4>;
895 InstructionMatcher &addInstructionMatcher(StringRef SymbolicName);
904 unsigned implicitlyDefineInsnVar(InstructionMatcher &Matcher);
906 unsigned getInsnVarID(InstructionMatcher &InsnMatcher) const;
928 void reserveInsnMatcherForMutation(InstructionMatcher *InsnMatcher) { in reserveInsnMatcherForMutation()
976 InstructionMatcher &getInstructionMatcher(StringRef SymbolicName) const;
1000 InstructionMatcher &insnmatchers_front() const { return *Matchers.front(); } in insnmatchers_front()
1620 InstructionMatcher &Insn;
1630 OperandMatcher(InstructionMatcher &Insn, unsigned OpIdx, in OperandMatcher()
1661 InstructionMatcher &getInstructionMatcher() const { return Insn; } in getInstructionMatcher()
2274 class InstructionMatcher final : public PredicateListMatcher<PredicateMatcher> { class
2294 InstructionMatcher(RuleMatcher &Rule, StringRef SymbolicName, in InstructionMatcher() function in __anoncee47b830111::InstructionMatcher
2396 bool isHigherPriorityThan(InstructionMatcher &B) { in isHigherPriorityThan()
2461 InstructionMatcher &InsnMatcher = *Matchers.front(); in getFirstConditionAsRootType()
2481 std::unique_ptr<InstructionMatcher> InsnMatcher;
2488 InsnMatcher(new InstructionMatcher(Rule, SymbolicName, NumOpsCheck)) {} in InstructionOperandMatcher()
2494 InstructionMatcher &getInsnMatcher() const { return *InsnMatcher; } in getInsnMatcher()
2527 void InstructionMatcher::optimize() { in optimize()
2721 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName); in emitRenderOpcodes()
2752 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName); in emitRenderOpcodes()
2996 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName); in emitRenderOpcodes()
3074 InstructionMatcher *Matched;
3078 bool canMutate(RuleMatcher &Rule, const InstructionMatcher *Insn) const { in canMutate()
3259 InstructionMatcher &RuleMatcher::addInstructionMatcher(StringRef SymbolicName) { in addInstructionMatcher()
3260 Matchers.emplace_back(new InstructionMatcher(*this, SymbolicName)); in addInstructionMatcher()
3300 unsigned RuleMatcher::implicitlyDefineInsnVar(InstructionMatcher &Matcher) { in implicitlyDefineInsnVar()
3306 unsigned RuleMatcher::getInsnVarID(InstructionMatcher &InsnMatcher) const { in getInsnVarID()
3332 InstructionMatcher &
3488 [](unsigned A, const std::unique_ptr<InstructionMatcher> &Matcher) { in countRendererFns()
3615 Expected<InstructionMatcher &>
3617 InstructionMatcher &InsnMatcher,
3621 Error importChildMatcher(RuleMatcher &Rule, InstructionMatcher &InsnMatcher,
3627 RuleMatcher &M, InstructionMatcher &InsnMatcher,
3706 Expected<InstructionMatcher &>
3709 InstructionMatcher &InsnMatcher, bool &HasAddedMatcher);
3831 Expected<InstructionMatcher &> GlobalISelEmitter::addBuiltinPredicates( in addBuiltinPredicates()
3833 InstructionMatcher &InsnMatcher, bool &HasAddedMatcher) { in addBuiltinPredicates()
3977 Expected<InstructionMatcher &> GlobalISelEmitter::createAndImportSelDAGMatcher( in createAndImportSelDAGMatcher()
3978 RuleMatcher &Rule, InstructionMatcher &InsnMatcher, in createAndImportSelDAGMatcher()
4226 RuleMatcher &Rule, InstructionMatcher &InsnMatcher, in importChildMatcher()
4590 RuleMatcher &M, InstructionMatcher &InsnMatcher, const TreePatternNode *Src, in createAndImportInstructionRenderer()
5202 InstructionMatcher &InsnMatcherTemp = M.addInstructionMatcher(Src->getName()); in runOnPattern()
5208 InstructionMatcher &InsnMatcher = InsnMatcherOrError.get(); in runOnPattern()
6015 InstructionMatcher &InsnMatcher = *Item.first; in optimize()
6040 InstructionMatcher &Matcher = insnmatchers_front(); in hasFirstCondition()
6054 InstructionMatcher &Matcher = insnmatchers_front(); in getFirstCondition()
6072 InstructionMatcher &Matcher = insnmatchers_front(); in popFirstCondition()