| /llvm-project-15.0.7/clang-tools-extra/pseudo/lib/cxx/ |
| H A D | CXX.cpp | 217 case (RuleID)Rule::decl_specifier_0consteval: in hasExclusiveType() 220 case (RuleID)Rule::decl_specifier_0inline: in hasExclusiveType() 221 case (RuleID)Rule::decl_specifier_0friend: in hasExclusiveType() 223 case (RuleID)Rule::decl_specifier_0typedef: in hasExclusiveType() 283 {(RuleID)Rule:: in buildGuards() 293 {(RuleID)Rule::contextual_final_0identifier, in buildGuards() 295 {(RuleID)Rule::import_keyword_0identifier, in buildGuards() 297 {(RuleID)Rule::export_keyword_0identifier, in buildGuards() 299 {(RuleID)Rule::module_keyword_0identifier, in buildGuards() 304 {(RuleID)Rule:: in buildGuards() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | CodeGenCoverage.cpp | 28 void CodeGenCoverage::setCovered(uint64_t RuleID) { in setCovered() argument 29 if (RuleCoverage.size() <= RuleID) in setCovered() 30 RuleCoverage.resize(RuleID + 1, false); in setCovered() 31 RuleCoverage[RuleID] = true; in setCovered() 34 bool CodeGenCoverage::isCovered(uint64_t RuleID) const { in isCovered() 35 if (RuleCoverage.size() <= RuleID) in isCovered() 37 return RuleCoverage[RuleID]; in isCovered() 61 uint64_t RuleID = support::endian::read64(CurPtr, support::native); in parse() local 65 if (RuleID == ~0ull) in parse() 71 setCovered(RuleID); in parse()
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/include/clang-pseudo/grammar/ |
| H A D | Grammar.h | 96 using RuleID = uint16_t; variable 159 const Rule &lookupRule(RuleID RID) const; 178 std::string mangleRule(RuleID) const; 186 std::string dumpRule(RuleID) const; 216 RuleID Start; 217 RuleID End;
|
| H A D | LRGraph.h | 52 static Item start(RuleID ID, const Grammar &G) { in start() 58 static Item sentinel(RuleID ID) { in sentinel() 64 RuleID rule() const { return RID; } in rule() 93 RuleID RID = 0;
|
| H A D | LRTable.h | 99 llvm::ArrayRef<RuleID> getReduceRules(StateID State) const { in getReduceRules() 157 llvm::DenseMap<StateID, llvm::SmallSet<RuleID, 4>> Reduce; 259 std::vector<RuleID> Reduces;
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/unittests/ |
| H A D | LRTableTest.cpp | 50 B.Reduce[StateID{0}].insert(RuleID{0}); in TEST() 51 B.Reduce[StateID{1}].insert(RuleID{2}); in TEST() 52 B.Reduce[StateID{2}].insert(RuleID{1}); in TEST()
|
| H A D | GLRTest.cpp | 107 RuleID ruleFor(llvm::StringRef NonterminalName) const { in ruleFor() 275 B.Reduce[StateID{3}].insert(/* type-name := class-name */ RuleID{0}); in TEST_F() 276 B.Reduce[StateID{4}].insert(/* type-name := enum-name */ RuleID{1}); in TEST_F() 330 B.Reduce[StateID{3}].insert(/* pointer := class-name */ RuleID{0}); in TEST_F() 331 B.Reduce[StateID{4}].insert(/* pointer := enum-name */ RuleID{1}); in TEST_F() 358 B.Reduce[StateID{1}].insert(RuleID{0}); in TEST_F()
|
| H A D | ForestTest.cpp | 40 RuleID ruleFor(llvm::StringRef NonterminalName) const { in ruleFor()
|
| H A D | GrammarTest.cpp | 47 RuleID ruleFor(llvm::StringRef NonterminalName) const { in ruleFor()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | CodeGenCoverage.h | 28 void setCovered(uint64_t RuleID); 29 bool isCovered(uint64_t RuleID) const;
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/lib/grammar/ |
| H A D | Grammar.cpp | 37 const Rule &Grammar::lookupRule(RuleID RID) const { in lookupRule() 62 std::string Grammar::mangleRule(RuleID RID) const { in mangleRule() 79 std::string Grammar::dumpRule(RuleID RID) const { in dumpRule() 98 for (RuleID RID = Range.Start; RID < Range.End; ++RID) in dumpRules() 110 for (RuleID RID = 0; RID < T->Rules.size(); ++RID) in dump()
|
| H A D | GrammarBNF.cpp | 120 RuleID Start = StartIt - T->Rules.begin(); in build() 121 RuleID End = Start; in build() 330 for (RuleID RID = 0; RID + 1u < T.Rules.size(); ++RID) { in diagnoseGrammar()
|
| H A D | LRTable.cpp | 44 for (RuleID R : getReduceRules(S)) { in dumpForTests()
|
| H A D | LRGraph.cpp | 78 for (RuleID RID = RRange.Start; RID < RRange.End; ++RID) { in closure() 236 for (RuleID RID = RRange.Start; RID < RRange.End; ++RID) { in buildLR0()
|
| H A D | LRTableBuild.cpp | 56 std::vector<RuleID> StateRules; in build()
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/include/clang-pseudo/ |
| H A D | Forest.h | 73 RuleID rule() const { in alignas() 121 static uint16_t sequenceData(RuleID Rule, in alignas() 154 ForestNode &createSequence(SymbolID SID, RuleID RID, in createSequence()
|
| H A D | Language.h | 54 llvm::DenseMap<RuleID, RuleGuard> Guards;
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/lib/ |
| H A D | GLR.cpp | 348 RuleID Rule; 423 bool canReduce(const Rule &R, RuleID RID, in canReduce() 436 void pop(const GSS::Node *Head, RuleID RID, const Rule &Rule) { in pop() 471 for (RuleID RID : in popPending() 482 std::vector<std::pair<RuleID, SequenceRef>> FamilySequences; 560 llvm::Optional<RuleID> RID; in popAndPushTrivial() 561 for (RuleID R : Lang.Table.getReduceRules(Head->State)) { in popAndPushTrivial()
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/include/clang-pseudo/cxx/ |
| H A D | CXX.h | 40 enum class Rule : RuleID {
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | InstructionSelect.cpp | 310 for (auto RuleID : CoverageInfo.covered()) in runOnMachineFunction() 311 dbgs() << " id" << RuleID; in runOnMachineFunction()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | SarifDiagnostics.cpp | 345 StringRef RuleID = D->getCheckerName(); in createRules() local 346 std::pair<llvm::StringSet<>::iterator, bool> P = Seen.insert(RuleID); in createRules() 348 RuleMapping[RuleID] = Rules.size(); // Maps RuleID to an Array Index. in createRules()
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | GICombinerEmitter.cpp | 58 typedef uint64_t RuleID; typedef 134 RuleID ID; 191 CombineRule(const CodeGenTarget &Target, GIMatchDagContext &Ctx, RuleID ID, in CombineRule() 199 RuleID getID() const { return ID; } in getID()
|
| H A D | GlobalISelEmitter.cpp | 883 uint64_t RuleID; member in __anoncee47b830111::RuleMatcher 889 RuleID(NextRuleID++) {} in RuleMatcher() 893 uint64_t getRuleID() const { return RuleID; } in getRuleID() 3382 << MatchTable::Comment(("Rule ID " + Twine(RuleID) + " //").str()) in emit() 3457 Table << MatchTable::Opcode("GIR_Coverage") << MatchTable::IntValue(RuleID) in emit() 3460 Table << MatchTable::Comment(("GIR_Coverage, " + Twine(RuleID) + ",").str()) in emit()
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/gen/ |
| H A D | Main.cpp | 97 for (clang::pseudo::RuleID RID = 0; RID < G.table().Rules.size(); ++RID) in main()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | InstructionSelectorImpl.h | 1154 int64_t RuleID = MatchTable[CurrentIdx++]; in executeMatchTable() local 1155 CoverageInfo.setCovered(RuleID); in executeMatchTable() 1159 << CurrentIdx << ": GIR_Coverage(" << RuleID << ")"); in executeMatchTable()
|