Home
last modified time | relevance | path

Searched refs:RuleMatcher (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTable.cpp523 Table, *static_cast<RuleMatcher *>(*Matchers.begin())); in emit()
542 auto *R = static_cast<RuleMatcher *>(*T); in optimize()
548 auto *L = static_cast<RuleMatcher *>(A); in optimize()
549 auto *R = static_cast<RuleMatcher *>(B); in optimize()
693 uint64_t RuleMatcher::NextRuleID = 0;
695 StringRef RuleMatcher::getOpcode() const { in getOpcode()
699 LLTCodeGen RuleMatcher::getFirstConditionAsRootType() { in getFirstConditionAsRootType()
709 void RuleMatcher::optimize() { in optimize()
756 bool RuleMatcher::hasFirstCondition() const { in hasFirstCondition()
769 const PredicateMatcher &RuleMatcher::getFirstCondition() const { in getFirstCondition()
[all …]
H A DGlobalISelMatchTable.h460 class RuleMatcher : public Matcher {
548 RuleMatcher(ArrayRef<SMLoc> SrcLoc) : SrcLoc(SrcLoc), RuleID(NextRuleID++) {} in RuleMatcher() function
549 RuleMatcher(RuleMatcher &&Other) = default;
550 RuleMatcher &operator=(RuleMatcher &&Other) = default;
681 bool isHigherPriorityThan(const RuleMatcher &B) const;
856 RuleMatcher &Rule) const = 0;
931 RuleMatcher &Rule) const override;
976 RuleMatcher &Rule) const override;
1009 RuleMatcher &Rule) const override;
1037 RuleMatcher &Rule) const override;
[all …]
H A DGlobalISelMatchTableExecutorEmitter.h28 class RuleMatcher; variable
40 ArrayRef<gi::RuleMatcher> Rules);
232 ArrayRef<gi::RuleMatcher> Rules,
H A DGlobalISelMatchTableExecutorEmitter.cpp16 raw_ostream &OS, ArrayRef<RuleMatcher> Rules) { in emitSubtargetFeatureBitsetImpl()
177 ArrayRef<RuleMatcher> Rules, in emitExecutorImpl()
H A DPatterns.h44 class RuleMatcher; variable
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp56 using action_iterator = RuleMatcher::action_iterator;
387 Error importRulePredicates(RuleMatcher &M,
390 createAndImportSelDAGMatcher(RuleMatcher &Rule,
395 Error importChildMatcher(RuleMatcher &Rule, InstructionMatcher &InsnMatcher,
401 createAndImportInstructionRenderer(RuleMatcher &M,
405 action_iterator InsertPt, RuleMatcher &M, const TreePatternNode &Dst,
408 createInstructionRenderer(action_iterator InsertPt, RuleMatcher &M,
412 importExplicitDefRenderers(action_iterator InsertPt, RuleMatcher &M,
417 importExplicitUseRenderers(action_iterator InsertPt, RuleMatcher &M,
421 Error importNamedNodeRenderer(RuleMatcher &M, BuildMIAction &MIBuilder,
[all …]
H A DGlobalISelCombinerEmitter.cpp639 std::vector<RuleMatcher> &OutRMs) in CombineRuleBuilder()
665 getLLTCodeGenOrTempType(const PatternType &PT, RuleMatcher &RM);
683 void addCXXPredicate(RuleMatcher &M, const CodeExpansions &CE,
711 RuleMatcher &addRuleMatcher(const PatternAlternatives &Alts,
713 bool addFeaturePredicates(RuleMatcher &M);
726 const PatternAlternatives &Alts, RuleMatcher &RM,
731 bool emitApplyPatterns(CodeExpansions &CE, RuleMatcher &M);
732 bool emitCXXMatchApply(CodeExpansions &CE, RuleMatcher &M,
737 bool emitInstructionApplyPattern(CodeExpansions &CE, RuleMatcher &M,
742 bool emitCodeGenInstructionApplyImmOperand(RuleMatcher &M,
[all …]
H A DGlobalISelCombinerMatchTableEmitter.cpp