Lines Matching refs:InstructionMatcher

184 class InstructionMatcher;
817 using MatchersTy = std::vector<std::unique_ptr<InstructionMatcher>> ;
824 using DefinedInsnVariablesMap = std::map<InstructionMatcher *, unsigned>;
829 using MutatableInsnSet = SmallPtrSet<InstructionMatcher *, 4>;
883 InstructionMatcher &addInstructionMatcher(StringRef SymbolicName);
892 unsigned implicitlyDefineInsnVar(InstructionMatcher &Matcher);
894 unsigned getInsnVarID(InstructionMatcher &InsnMatcher) const;
916 void reserveInsnMatcherForMutation(InstructionMatcher *InsnMatcher) { in reserveInsnMatcherForMutation()
963 InstructionMatcher &getInstructionMatcher(StringRef SymbolicName) const;
987 InstructionMatcher &insnmatchers_front() const { return *Matchers.front(); } in insnmatchers_front()
1569 InstructionMatcher &Insn;
1579 OperandMatcher(InstructionMatcher &Insn, unsigned OpIdx, in OperandMatcher()
1610 InstructionMatcher &getInstructionMatcher() const { return Insn; } in getInstructionMatcher()
2200 class InstructionMatcher final : public PredicateListMatcher<PredicateMatcher> { class
2220 InstructionMatcher(RuleMatcher &Rule, StringRef SymbolicName, in InstructionMatcher() function in __anon0a286f430111::InstructionMatcher
2322 bool isHigherPriorityThan(InstructionMatcher &B) { in isHigherPriorityThan()
2387 InstructionMatcher &InsnMatcher = *Matchers.front(); in getFirstConditionAsRootType()
2407 std::unique_ptr<InstructionMatcher> InsnMatcher;
2414 InsnMatcher(new InstructionMatcher(Rule, SymbolicName, NumOpsCheck)) {} in InstructionOperandMatcher()
2420 InstructionMatcher &getInsnMatcher() const { return *InsnMatcher; } in getInsnMatcher()
2453 void InstructionMatcher::optimize() { in optimize()
2647 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName); in emitRenderOpcodes()
2678 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName); in emitRenderOpcodes()
2922 InstructionMatcher &InsnMatcher = Rule.getInstructionMatcher(SymbolicName); in emitRenderOpcodes()
3000 InstructionMatcher *Matched;
3004 bool canMutate(RuleMatcher &Rule, const InstructionMatcher *Insn) const { in canMutate()
3185 InstructionMatcher &RuleMatcher::addInstructionMatcher(StringRef SymbolicName) { in addInstructionMatcher()
3186 Matchers.emplace_back(new InstructionMatcher(*this, SymbolicName)); in addInstructionMatcher()
3226 unsigned RuleMatcher::implicitlyDefineInsnVar(InstructionMatcher &Matcher) { in implicitlyDefineInsnVar()
3232 unsigned RuleMatcher::getInsnVarID(InstructionMatcher &InsnMatcher) const { in getInsnVarID()
3257 InstructionMatcher &
3413 [](unsigned A, const std::unique_ptr<InstructionMatcher> &Matcher) { in countRendererFns()
3540 Expected<InstructionMatcher &>
3542 InstructionMatcher &InsnMatcher,
3546 Error importChildMatcher(RuleMatcher &Rule, InstructionMatcher &InsnMatcher,
3552 RuleMatcher &M, InstructionMatcher &InsnMatcher,
3627 Expected<InstructionMatcher &>
3630 InstructionMatcher &InsnMatcher, bool &HasAddedMatcher);
3739 Expected<InstructionMatcher &> GlobalISelEmitter::addBuiltinPredicates( in addBuiltinPredicates()
3741 InstructionMatcher &InsnMatcher, bool &HasAddedMatcher) { in addBuiltinPredicates()
3880 Expected<InstructionMatcher &> GlobalISelEmitter::createAndImportSelDAGMatcher( in createAndImportSelDAGMatcher()
3881 RuleMatcher &Rule, InstructionMatcher &InsnMatcher, in createAndImportSelDAGMatcher()
4118 RuleMatcher &Rule, InstructionMatcher &InsnMatcher, in importChildMatcher()
4472 RuleMatcher &M, InstructionMatcher &InsnMatcher, const TreePatternNode *Src, in createAndImportInstructionRenderer()
5079 InstructionMatcher &InsnMatcherTemp = M.addInstructionMatcher(Src->getName()); in runOnPattern()
5085 InstructionMatcher &InsnMatcher = InsnMatcherOrError.get(); in runOnPattern()
5881 InstructionMatcher &InsnMatcher = *Item.first; in optimize()
5906 InstructionMatcher &Matcher = insnmatchers_front(); in hasFirstCondition()
5920 InstructionMatcher &Matcher = insnmatchers_front(); in getFirstCondition()
5938 InstructionMatcher &Matcher = insnmatchers_front(); in popFirstCondition()