Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelMatchTable.cpp534 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()
704 void RuleMatcher::optimize() { in optimize()
728 bool RuleMatcher::hasFirstCondition() const { in hasFirstCondition()
925 void RuleMatcher::emit(MatchTable &Table) { in emit()
1044 bool RuleMatcher::isHigherPriorityThan(const RuleMatcher &B) const { in isHigherPriorityThan()
[all …]
H A DGlobalISelMatchTable.h459 class RuleMatcher : public Matcher {
541 RuleMatcher(ArrayRef<SMLoc> SrcLoc) in RuleMatcher() function
544 RuleMatcher(RuleMatcher &&Other) = default;
545 RuleMatcher &operator=(RuleMatcher &&Other) = default;
663 bool isHigherPriorityThan(const RuleMatcher &B) const;
908 RuleMatcher &Rule) const override;
953 RuleMatcher &Rule) const override;
1279 TempTypeIdx getTempTypeIdx(RuleMatcher &Rule);
1696 RuleMatcher &Rule;
1728 RuleMatcher &getRuleMatcher() const { return Rule; } in getRuleMatcher()
[all …]
H A DGlobalISelEmitter.cpp58 using action_iterator = RuleMatcher::action_iterator;
319 void postProcessRule(RuleMatcher &M);
379 createAndImportSelDAGMatcher(RuleMatcher &Rule,
390 RuleMatcher &M, InstructionMatcher &InsnMatcher,
709 RuleMatcher &Rule, InstructionMatcher &InsnMatcher, in createAndImportSelDAGMatcher()
1895 RuleMatcher M(P.getSrcRecord()->getLoc()); in runOnPattern()
2217 for (RuleMatcher &Rule : Rules) { in buildMatchTable()
2226 auto *L = static_cast<const RuleMatcher *>(A); in buildMatchTable()
2227 auto *R = static_cast<const RuleMatcher *>(B); in buildMatchTable()
2399 std::vector<RuleMatcher> Rules; in run()
[all …]
H A DGlobalISelCombinerEmitter.cpp636 std::vector<RuleMatcher> &OutRMs) in CombineRuleBuilder()
710 bool addFeaturePredicates(RuleMatcher &M);
783 std::vector<RuleMatcher> &OutRMs;
1040 void CombineRuleBuilder::addCXXPredicate(RuleMatcher &M, in addCXXPredicate()
2625 void gatherRules(std::vector<RuleMatcher> &Rules,
2877 for (RuleMatcher &Rule : Rules) { in buildMatchTable()
2886 auto *L = static_cast<const RuleMatcher *>(A); in buildMatchTable()
2887 auto *R = static_cast<const RuleMatcher *>(B); in buildMatchTable()
2910 std::vector<RuleMatcher> &ActiveRules, in gatherRules()
2952 std::vector<RuleMatcher> Rules; in run()
[all …]
H A DGlobalISelMatchTableExecutorEmitter.h28 class RuleMatcher; variable
40 ArrayRef<gi::RuleMatcher> Rules);
212 ArrayRef<gi::RuleMatcher> Rules,
H A DGlobalISelMatchTableExecutorEmitter.cpp16 raw_ostream &OS, ArrayRef<RuleMatcher> Rules) { in emitSubtargetFeatureBitsetImpl()
179 ArrayRef<RuleMatcher> Rules, ArrayRef<Record *> ComplexOperandMatchers, in emitExecutorImpl()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DPatterns.h43 class RuleMatcher; variable