/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Tooling/Transformer/ |
H A D | Transformer.h | 33 Transformer(transformer::RewriteRule Rule, ChangeConsumer Consumer) argument 34 : Rule(std::move(Rule)), Consumer(std::move(Consumer)) {} 45 transformer::RewriteRule Rule; member in class:clang::tooling::Transformer
|
H A D | RewriteRule.h | 100 // Rule cases have an additional, implicit, component: the parameters. These are 138 /// For every case in Rule, adds an include directive for the given header. The 148 void addInclude(RewriteRule &Rule, llvm::StringRef Header, 241 ast_matchers::internal::DynTypedMatcher buildMatcher(const RewriteRule &Rule); 249 buildMatchers(const RewriteRule &Rule); 257 /// Returns the \c Case of \c Rule that was selected in the match result. 261 const RewriteRule &Rule);
|
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | AttrSubjectMatchRules.h | 24 const char *getSubjectMatchRuleSpelling(SubjectMatchRule Rule);
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
H A D | RewriteRule.cpp | 92 void transformer::addInclude(RewriteRule &Rule, StringRef Header, argument 94 for (auto &Case : Rule.Cases) 130 for (auto &Rule : Rules) 131 R.Cases.append(Rule.Cases.begin(), Rule.Cases.end()); 136 transformer::detail::buildMatchers(const RewriteRule &Rule) { argument 143 const SmallVectorImpl<RewriteRule::Case> &Cases = Rule.Cases; 162 DynTypedMatcher transformer::detail::buildMatcher(const RewriteRule &Rule) { argument 163 std::vector<DynTypedMatcher> Ms = buildMatchers(Rule); 187 const RewriteRule &Rule) { 186 findSelectedCase(const MatchResult &Result, const RewriteRule &Rule) argument [all...] |
H A D | Transformer.cpp | 24 for (auto &Matcher : transformer::detail::buildMatchers(Rule)) 33 transformer::detail::findSelectedCase(Result, Rule);
|
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
H A D | RefactoringActionRulesInternal.h | 59 auto Rule = 61 if (!Rule) 62 return Consumer.handleError(Rule.takeError()); 63 Rule->invoke(Consumer, Context); 125 class Rule final : public RefactoringActionRule { 127 Rule(std::tuple<RequirementTypes...> Requirements) function in class:clang::tooling::final 151 return std::make_unique<Rule>(std::make_tuple(Requirements...));
|
/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | GICombinerEmitter.cpp | 329 StringRef makeNameForAnonInstr(CombineRule &Rule) { argument 331 format("__anon%" PRIu64 "_%u", Rule.getID(), Rule.allocUID()))); 334 StringRef makeDebugName(CombineRule &Rule, StringRef Name) { argument 335 return insertStrTab(Name.empty() ? makeNameForAnonInstr(Rule) : StringRef(Name)); 338 StringRef makeNameForAnonPredicate(CombineRule &Rule) { argument 340 format("__anonpred%" PRIu64 "_%u", Rule.getID(), Rule.allocUID()))); 349 NamedRegionTimer T("parseDefs", "Time spent parsing the defs", "Rule Parsing", 492 "Rule Parsin 659 std::unique_ptr<CombineRule> Rule = local 711 std::unique_ptr<CombineRule> Rule = makeCombineRule(*R); local 741 const CombineRule *Rule = Leaf.getTargetData<CombineRule>(); local [all...] |
H A D | Attributes.cpp | 114 for (auto *Rule : CompatRules) { 115 StringRef FuncName = Rule->getValueAsString("CompatFunc"); 128 for (auto *Rule : MergeRules) { 129 StringRef FuncName = Rule->getValueAsString("MergeFunc");
|
H A D | GlobalISelEmitter.cpp | 668 for (Matcher *Rule : Rules) 669 Rule->emit(Table); 1100 RuleMatcher &Rule) const = 0; 1164 RuleMatcher &Rule) const override; 1215 RuleMatcher &Rule) const override { 1250 RuleMatcher &Rule) const override { 1281 RuleMatcher &Rule) const override { 1316 RuleMatcher &Rule) const override { 1337 RuleMatcher &Rule) const override { 1354 RuleMatcher &Rule) cons 1529 emitPredicateOpcodes(MatchTable &Table, RuleMatcher &Rule) argument 2036 RuleMatcher &Rule; member in class:final 2052 InstructionMatcher(RuleMatcher &Rule, StringRef SymbolicName) argument 2126 emitPredicateOpcodes(MatchTable &Table, RuleMatcher &Rule) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
H A D | MILexer.cpp | 308 static Cursor maybeLexIndex(Cursor C, MIToken &Token, StringRef Rule, argument 310 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size()))) 313 C.advance(Rule.size()); 321 static Cursor maybeLexIndexAndName(Cursor C, MIToken &Token, StringRef Rule, argument 323 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size()))) 326 C.advance(Rule.size()); 331 unsigned StringOffset = Rule.size() + Number.size(); 362 const StringRef Rule local 371 const StringRef Rule = "%ir-block."; local 381 const StringRef Rule = "%ir."; local 475 const StringRef Rule = "<mcsymbol "; local [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaAttr.cpp | 601 getParentAttrMatcherRule(attr::SubjectMatchRule Rule) { argument 603 switch (Rule) { 614 bool isNegatedAttrMatcherSubRule(attr::SubjectMatchRule Rule) { argument 616 switch (Rule) { 673 for (const auto &Rule : Rules) { 674 attr::SubjectMatchRule MatchRule = attr::SubjectMatchRule(Rule.first); 682 Diag(Rule.second.getBegin(), 687 replacementRangeForListElement(*this, Rule.second)); 694 std::make_pair(*ParentRule, Rule)); 697 for (const auto &Rule [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/lib/Basic/ |
H A D | Attributes.cpp | 28 const char *attr::getSubjectMatchRuleSpelling(attr::SubjectMatchRule Rule) { argument 29 switch (Rule) {
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerInfo.cpp | 102 static bool hasNoSimpleLoops(const LegalizeRule &Rule, const LegalityQuery &Q, argument 104 switch (Rule.getAction()) { 117 static bool mutationIsSane(const LegalizeRule &Rule, argument 122 if (Rule.getAction() == Custom) 129 switch (Rule.getAction()) { 138 if (Rule.getAction() == FewerElements) { 164 if (Rule.getAction() == NarrowScalar) { 189 for (const LegalizeRule &Rule : Rules) { 190 if (Rule.match(Query)) { 192 std::pair<unsigned, LLT> Mutation = Rule [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULibFunc.cpp | 364 const ManglingRule& Rule; 369 : Leads(leads), Rule(rule), Index(0) {} 376 if (Index >= int(sizeof Rule.Param/sizeof Rule.Param[0])) return P; 378 const char R = Rule.Param[Index]; 397 if (Index == (Rule.Lead[1] - 1)) P = Leads[1]; 557 for (auto Rule : manglingRules) 558 Map.insert({Rule.Name, Id++}); 658 const ManglingRule& Rule = manglingRules[FuncId]; 660 for (int I=0; I < Rule [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ClangAttrEmitter.cpp | 1788 getRule(const AttributeSubjectMatchRule &Rule) { argument 1789 return RuleOrAggregateRuleSet(Rule, /*IsRule=*/true); 1896 for (const auto &Rule : Rules) { 1897 OS << (Rule.isSubRule() ? "ATTR_MATCH_SUB_RULE" : "ATTR_MATCH_RULE") << '('; 1898 OS << Rule.getEnumValueName() << ", \"" << Rule.getSpelling() << "\", " 1899 << Rule.isAbstractRule(); 1900 if (Rule.isSubRule()) 1902 << AttributeSubjectMatchRule(Rule.MetaSubject, nullptr).getEnumValue() 1903 << ", " << Rule [all...] |
/freebsd-12-stable/contrib/amd/fsinfo/ |
H A D | null_gram.c | 662 # define YY_REDUCE_PRINT(Rule) \ 665 yy_reduce_print (yyssp, yyvsp, Rule); \ 675 # define YY_REDUCE_PRINT(Rule)
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | GenericTaintChecker.cpp | 418 TaintPropagationRule Rule = local 459 if (!Rule.isNull()) 460 return Rule; 484 if (Rule.isNull()) { 552 TaintPropagationRule Rule = TaintPropagationRule::getTaintPropagationRule( local 554 if (!Rule.isNull()) { 555 ProgramStateRef State = Rule.process(CE, C);
|
/freebsd-12-stable/crypto/heimdal/lib/com_err/ |
H A D | parse.c | 807 # define YY_REDUCE_PRINT(Rule) \ 810 yy_reduce_print (yyvsp, Rule); \ 820 # define YY_REDUCE_PRINT(Rule)
|
/freebsd-12-stable/crypto/heimdal/lib/asn1/ |
H A D | asn1parse.c | 1199 # define YY_REDUCE_PRINT(Rule) \ 1202 yy_reduce_print (yyvsp, Rule); \ 1212 # define YY_REDUCE_PRINT(Rule)
|
/freebsd-12-stable/sys/contrib/dev/acpica/include/ |
H A D | acinterp.h | 790 UINT32 Rule); 794 UINT32 Rule);
|
/freebsd-12-stable/contrib/tzdata/ |
H A D | zishrink.awk | 36 # Rule names are not part of the tzdb API, so substitute shorter 166 ruleline = sub(/^Rule /, "R ", line)
|
/freebsd-12-stable/contrib/gdb/gdb/ |
H A D | m2-exp.c | 997 # define YY_REDUCE_PRINT(Rule) \ 1000 yy_reduce_print (Rule); \ 1011 # define YY_REDUCE_PRINT(Rule)
|
H A D | ada-exp.c | 1062 # define YY_REDUCE_PRINT(Rule) \ 1065 yy_reduce_print (Rule); \ 1076 # define YY_REDUCE_PRINT(Rule)
|
/freebsd-12-stable/crypto/heimdal/lib/sl/ |
H A D | slc-gram.c | 781 # define YY_REDUCE_PRINT(Rule) \ 784 yy_reduce_print (yyvsp, Rule); \ 794 # define YY_REDUCE_PRINT(Rule)
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonLoopIdiomRecognition.cpp | 165 struct Rule { struct in struct:__anon5175::Simplifier 167 Rule(StringRef N, FuncType F) : Name(N), Fn(F) {} function in struct:__anon5175::Simplifier::Rule 172 void addRule(StringRef N, const Rule::FuncType &F) { 173 Rules.push_back(Rule(N, F)); 199 std::vector<Rule> Rules; 532 for (Rule &R : Rules) {
|