Lines Matching refs:InstructionMatcher

200 class InstructionMatcher;
829 using MatchersTy = std::vector<std::unique_ptr<InstructionMatcher>> ;
836 using DefinedInsnVariablesMap = std::map<InstructionMatcher *, unsigned>;
841 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()
1616 InstructionMatcher &Insn;
1626 OperandMatcher(InstructionMatcher &Insn, unsigned OpIdx, in OperandMatcher()
1657 InstructionMatcher &getInstructionMatcher() const { return Insn; } in getInstructionMatcher()
2247 class InstructionMatcher final : public PredicateListMatcher<PredicateMatcher> { class
2267 InstructionMatcher(RuleMatcher &Rule, StringRef SymbolicName, in InstructionMatcher() function in __anon612774070111::InstructionMatcher
2369 bool isHigherPriorityThan(InstructionMatcher &B) { in isHigherPriorityThan()
2434 InstructionMatcher &InsnMatcher = *Matchers.front(); in getFirstConditionAsRootType()
2454 std::unique_ptr<InstructionMatcher> InsnMatcher;
2461 InsnMatcher(new InstructionMatcher(Rule, SymbolicName, NumOpsCheck)) {} in InstructionOperandMatcher()
2467 InstructionMatcher &getInsnMatcher() const { return *InsnMatcher; } in getInsnMatcher()
2500 void InstructionMatcher::optimize() { in optimize()
2694 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName); in emitRenderOpcodes()
2725 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName); in emitRenderOpcodes()
2969 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName); in emitRenderOpcodes()
3047 InstructionMatcher *Matched;
3051 bool canMutate(RuleMatcher &Rule, const InstructionMatcher *Insn) const { in canMutate()
3232 InstructionMatcher &RuleMatcher::addInstructionMatcher(StringRef SymbolicName) { in addInstructionMatcher()
3233 Matchers.emplace_back(new InstructionMatcher(*this, SymbolicName)); in addInstructionMatcher()
3273 unsigned RuleMatcher::implicitlyDefineInsnVar(InstructionMatcher &Matcher) { in implicitlyDefineInsnVar()
3279 unsigned RuleMatcher::getInsnVarID(InstructionMatcher &InsnMatcher) const { in getInsnVarID()
3304 InstructionMatcher &
3460 [](unsigned A, const std::unique_ptr<InstructionMatcher> &Matcher) { in countRendererFns()
3587 Expected<InstructionMatcher &>
3589 InstructionMatcher &InsnMatcher,
3593 Error importChildMatcher(RuleMatcher &Rule, InstructionMatcher &InsnMatcher,
3599 RuleMatcher &M, InstructionMatcher &InsnMatcher,
3678 Expected<InstructionMatcher &>
3681 InstructionMatcher &InsnMatcher, bool &HasAddedMatcher);
3801 Expected<InstructionMatcher &> GlobalISelEmitter::addBuiltinPredicates( in addBuiltinPredicates()
3803 InstructionMatcher &InsnMatcher, bool &HasAddedMatcher) { in addBuiltinPredicates()
3944 Expected<InstructionMatcher &> GlobalISelEmitter::createAndImportSelDAGMatcher( in createAndImportSelDAGMatcher()
3945 RuleMatcher &Rule, InstructionMatcher &InsnMatcher, in createAndImportSelDAGMatcher()
4182 RuleMatcher &Rule, InstructionMatcher &InsnMatcher, in importChildMatcher()
4546 RuleMatcher &M, InstructionMatcher &InsnMatcher, const TreePatternNode *Src, in createAndImportInstructionRenderer()
5158 InstructionMatcher &InsnMatcherTemp = M.addInstructionMatcher(Src->getName()); in runOnPattern()
5164 InstructionMatcher &InsnMatcher = InsnMatcherOrError.get(); in runOnPattern()
5955 InstructionMatcher &InsnMatcher = *Item.first; in optimize()
5980 InstructionMatcher &Matcher = insnmatchers_front(); in hasFirstCondition()
5994 InstructionMatcher &Matcher = insnmatchers_front(); in getFirstCondition()
6012 InstructionMatcher &Matcher = insnmatchers_front(); in popFirstCondition()