HomeSort by: relevance | last modified time | path
    Searched defs:Rule (Results 1 - 9 of 9) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Transformer/
Transformer.h 33 Transformer(transformer::RewriteRule Rule, ChangeConsumer Consumer)
34 : Rule(std::move(Rule)), Consumer(std::move(Consumer)) {}
45 transformer::RewriteRule Rule;
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
RefactoringActionRulesInternal.h 57 // Construct the target action rule by extracting the evaluated
59 auto Rule =
61 if (!Rule)
62 return Consumer.handleError(Rule.takeError());
63 Rule->invoke(Consumer, Context);
68 /// Scans the list of requirements in a rule and visits all the refactoring
120 "Expected a refactoring action rule type");
125 class Rule final : public RefactoringActionRule {
127 Rule(std::tuple<RequirementTypes...> Requirements)
151 return std::make_unique<Rule>(std::make_tuple(Requirements...))
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/MIRParser/
MILexer.cpp 325 static Cursor maybeLexIndex(Cursor C, MIToken &Token, StringRef Rule,
327 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size())))
330 C.advance(Rule.size());
338 static Cursor maybeLexIndexAndName(Cursor C, MIToken &Token, StringRef Rule,
340 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size())))
343 C.advance(Rule.size());
348 unsigned StringOffset = Rule.size() + Number.size();
379 const StringRef Rule = "%subreg."
    [all...]
  /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++20/
tzdb.cc 118 struct Rule;
123 // Each _Node contains a tzdb and a vector<Rule> with the rule set.
129 vector<Rule> rules;
184 // The data structures defined in this file (Rule, on_day, at_time etc.)
269 // The IN and ON fields of a RULE record, e.g. "March lastSunday".
338 // fields of a Rule line. The FROM field is a year and TO is a year or
400 // Expand "%s" to the variable part, given by Rule::letters.
500 // If this object references a named Rule then we can't populate
553 // A RULE record from the tzdata.zi timezone info file
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
GenericTaintChecker.cpp 249 /// Get the propagation rule for a given function.
280 /// taint rule.
428 TaintPropagationRule Rule =
469 if (!Rule.isNull())
470 return Rule;
496 if (Rule.isNull()) {
561 // First, try generating a propagation rule for this function.
562 TaintPropagationRule Rule = TaintPropagationRule::getTaintPropagationRule(
564 if (!Rule.isNull()) {
565 ProgramStateRef State = Rule.process(Call, C)
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/TableGen/
GICombinerEmitter.cpp 131 /// A unique ID for this rule
136 /// A unique ID that can be used for anonymous objects belonging to this rule.
141 /// The record defining this rule.
167 /// add it to the rule with:
220 /// Export expansions for this rule
329 StringRef makeNameForAnonInstr(CombineRule &Rule) {
331 format("__anon%" PRIu64 "_%u", Rule.getID(), Rule.allocUID())));
334 StringRef makeDebugName(CombineRule &Rule, StringRef Name) {
335 return insertStrTab(Name.empty() ? makeNameForAnonInstr(Rule) : StringRef(Name))
    [all...]
GlobalISelEmitter.cpp 499 /// Determines if the table should be instrumented for rule coverage tracking.
674 for (Matcher *Rule : Rules)
675 Rule->emit(Table);
805 /// Generates code to check that a match rule matches.
812 /// A list of matchers that all need to succeed for the current rule to match.
819 /// A list of actions that need to be taken when all predicates in this rule
975 /// Report the maximum number of temporary operands needed by the rule
1142 RuleMatcher &Rule) const = 0;
1213 RuleMatcher &Rule) const override;
1264 RuleMatcher &Rule) const override
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParsePragma.cpp 1322 static bool isAbstractAttrMatcherRule(attr::SubjectMatchRule Rule) {
1324 switch (Rule) {
1330 llvm_unreachable("Invalid attribute subject match rule");
1373 // Parse the subject matcher rule.
1381 Rule = isAttributeSubjectMatchRule(Name);
1382 if (!Rule.first) {
1386 attr::SubjectMatchRule PrimaryRule = *Rule.first;
1425 auto SubRuleOrNone = Rule.second(SubRuleName, /*IsUnless=*/true);
1437 auto SubRuleOrNone = Rule.second(SubRuleName, /*IsUnless=*/false);
1470 /// Describes the stage at which attribute subject rule parsing was interrupted
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonLoopIdiomRecognition.cpp 178 struct Rule {
180 Rule(StringRef N, FuncType F) : Name(N), Fn(F) {}
185 void addRule(StringRef N, const Rule::FuncType &F) {
186 Rules.push_back(Rule(N, F));
217 std::vector<Rule> Rules;
550 for (Rule &R : Rules) {

Completed in 102 milliseconds