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.cpp515 Table, *static_cast<RuleMatcher *>(*Matchers.begin())); in emit()
534 auto *R = static_cast<RuleMatcher *>(*T); in optimize()
540 auto *L = static_cast<RuleMatcher *>(A); in optimize()
541 auto *R = static_cast<RuleMatcher *>(B); in optimize()
684 uint64_t RuleMatcher::NextRuleID = 0;
686 StringRef RuleMatcher::getOpcode() const { in getOpcode()
690 unsigned RuleMatcher::getNumOperands() const { in getNumOperands()
694 LLTCodeGen RuleMatcher::getFirstConditionAsRootType() { in getFirstConditionAsRootType()
704 void RuleMatcher::optimize() { in optimize()
751 bool RuleMatcher::hasFirstCondition() const { in hasFirstCondition()
[all …]
H A DGlobalISelMatchTable.h459 class RuleMatcher : public Matcher {
545 RuleMatcher(ArrayRef<SMLoc> SrcLoc) in RuleMatcher() function
548 RuleMatcher(RuleMatcher &&Other) = default;
549 RuleMatcher &operator=(RuleMatcher &&Other) = default;
671 bool isHigherPriorityThan(const RuleMatcher &B) const;
842 RuleMatcher &Rule) const = 0;
917 RuleMatcher &Rule) const override;
962 RuleMatcher &Rule) const override;
995 RuleMatcher &Rule) const override;
1023 RuleMatcher &Rule) const override;
[all …]
H A DGlobalISelMatchTableExecutorEmitter.h28 class RuleMatcher; variable
40 ArrayRef<gi::RuleMatcher> Rules);
208 ArrayRef<gi::RuleMatcher> Rules,
H A DGlobalISelMatchTableExecutorEmitter.cpp16 raw_ostream &OS, ArrayRef<RuleMatcher> Rules) { in emitSubtargetFeatureBitsetImpl()
177 ArrayRef<RuleMatcher> Rules, ArrayRef<Record *> ComplexOperandMatchers, in emitExecutorImpl()
H A DPatterns.h44 class RuleMatcher; variable
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelCombinerEmitter.cpp132 RuleMatcher &RM) { in getLLTCodeGenOrTempType()
646 std::vector<RuleMatcher> &OutRMs) in CombineRuleBuilder()
687 void addCXXPredicate(RuleMatcher &M, const CodeExpansions &CE,
715 RuleMatcher &addRuleMatcher(const PatternAlternatives &Alts,
717 bool addFeaturePredicates(RuleMatcher &M);
730 const PatternAlternatives &Alts, RuleMatcher &RM,
735 bool emitApplyPatterns(CodeExpansions &CE, RuleMatcher &M);
736 bool emitCXXMatchApply(CodeExpansions &CE, RuleMatcher &M,
741 bool emitInstructionApplyPattern(CodeExpansions &CE, RuleMatcher &M,
746 bool emitCodeGenInstructionApplyImmOperand(RuleMatcher &M,
[all …]
H A DGlobalISelEmitter.cpp57 using action_iterator = RuleMatcher::action_iterator;
328 void postProcessRule(RuleMatcher &M);
386 Error importRulePredicates(RuleMatcher &M, ArrayRef<Record *> Predicates);
388 createAndImportSelDAGMatcher(RuleMatcher &Rule,
393 Error importChildMatcher(RuleMatcher &Rule, InstructionMatcher &InsnMatcher,
399 RuleMatcher &M, InstructionMatcher &InsnMatcher,
402 action_iterator InsertPt, RuleMatcher &M, const TreePatternNode &Dst,
405 createInstructionRenderer(action_iterator InsertPt, RuleMatcher &M,
409 importExplicitDefRenderers(action_iterator InsertPt, RuleMatcher &M,
415 action_iterator InsertPt, RuleMatcher &M, BuildMIAction &DstMIBuilder,
[all …]
H A DGlobalISelCombinerMatchTableEmitter.cpp