Home
last modified time | relevance | path

Searched defs:Rule (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DRewriteRule.cpp269 ApplyRuleCallback(RewriteRule Rule) : Rule(std::move(Rule)) {} in ApplyRuleCallback()
290 RewriteRule Rule; member in __anonefb0af210611::ApplyRuleCallback
299 rewriteDescendantsImpl(const T &Node, RewriteRule Rule, in rewriteDescendantsImpl()
309 transformer::detail::rewriteDescendants(const Decl &Node, RewriteRule Rule, in rewriteDescendants()
315 transformer::detail::rewriteDescendants(const Stmt &Node, RewriteRule Rule, in rewriteDescendants()
321 transformer::detail::rewriteDescendants(const TypeLoc &Node, RewriteRule Rule, in rewriteDescendants()
328 RewriteRule Rule, in rewriteDescendants()
344 RewriteRule Rule) { in rewriteDescendants()
358 void transformer::addInclude(RewriteRuleBase &Rule, StringRef Header, in addInclude()
403 for (auto &Rule : Rules) in applyFirst() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DHeaderFile.cpp66 HeaderGlob::HeaderGlob(StringRef GlobString, Regex &&Rule, HeaderType Type) in HeaderGlob()
81 auto Rule = MachO::createRegexFromGlob(GlobString); in create() local
H A DLibrary.cpp14 const Regex Rule("(.+)/(.+)\\.framework/"); variable
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGICombinerEmitter.cpp
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DAttributes.cpp88 for (const Record *Rule : Records.getAllDerivedDefinitions("CompatRule")) { in emitFnAttrCompatCheck() local
104 for (const Record *Rule : Records.getAllDerivedDefinitions("MergeRule")) { in emitFnAttrCompatCheck() local
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningTool.cpp93 P1689ModuleDependencyPrinterConsumer(P1689Rule &Rule, in getP1689ModuleDependencyFile()
116 P1689Rule &Rule; in getP1689ModuleDependencyFile() member in DependencyScanningTool::getP1689ModuleDependencyFile::P1689ModuleDependencyPrinterConsumer
128 P1689Rule Rule; in getP1689ModuleDependencyFile() local
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSarif.cpp279 json::Object Rule{ in endRun() local
378 size_t SarifDocumentWriter::createRule(const SarifRule &Rule) { in createRule()
388 const SarifRule &Rule = CurrentRules[RuleIdx]; in appendResult() local
H A DAttributes.cpp97 const char *attr::getSubjectMatchRuleSpelling(attr::SubjectMatchRule Rule) { in getSubjectMatchRuleSpelling()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMILexer.cpp343 static Cursor maybeLexIndex(Cursor C, MIToken &Token, StringRef Rule, in maybeLexIndex()
356 static Cursor maybeLexIndexAndName(Cursor C, MIToken &Token, StringRef Rule, in maybeLexIndexAndName()
397 const StringRef Rule = "%subreg."; in maybeLexSubRegisterIndex() local
406 const StringRef Rule = "%ir-block."; in maybeLexIRBlock() local
416 const StringRef Rule = "%ir."; in maybeLexIRValue() local
510 const StringRef Rule = "<mcsymbol "; in maybeLexMCSymbol() local
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp966 getParentAttrMatcherRule(attr::SubjectMatchRule Rule) { in getParentAttrMatcherRule()
979 bool isNegatedAttrMatcherSubRule(attr::SubjectMatchRule Rule) { in isNegatedAttrMatcherSubRule()
1038 for (const auto &Rule : Rules) { in ActOnPragmaAttributeAttribute() local
1062 for (const auto &Rule : Rules) { in ActOnPragmaAttributeAttribute() local
1088 for (const auto &Rule : Rules) in ActOnPragmaAttributeAttribute() local
1091 for (const auto &Rule : Rules) { in ActOnPragmaAttributeAttribute() local
1114 for (const auto &Rule : RulesToCheck) { in ActOnPragmaAttributeAttribute() local
1134 for (const auto &Rule : Rules) { in ActOnPragmaAttributeAttribute() local
1210 for (const auto &Rule : Entry.MatchRules) { in AddPragmaAttributes() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerInfo.cpp101 static bool hasNoSimpleLoops(const LegalizeRule &Rule, const LegalityQuery &Q, in hasNoSimpleLoops()
118 static bool mutationIsSane(const LegalizeRule &Rule, in mutationIsSane()
200 for (const LegalizeRule &Rule : Rules) { in apply() local
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DSARIFDiagnostic.cpp49 SarifRule Rule = SarifRule::create().setRuleId(std::to_string(Diag->getID())); in emitDiagnosticMessage() local
137 SARIFDiagnostic::addDiagnosticLevelToRule(SarifRule Rule, in addDiagnosticLevelToRule()
/freebsd/contrib/llvm-project/clang/include/clang/InstallAPI/
H A DHeaderFile.h119 llvm::Regex Rule; variable
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRefactoringActionRulesInternal.h59 auto Rule = in invokeRuleAfterValidatingRequirements() local
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTable.h1736 RuleMatcher &Rule) const override { in emitPredicateOpcodes()
1758 RuleMatcher &Rule) const override { in emitPredicateOpcodes()
1775 RuleMatcher &Rule; variable
1799 : Rule(Rule), SymbolicName(SymbolicName), in Rule() function
1908 RuleMatcher &Rule) const override { in emitPredicateOpcodes()
2318 RuleMatcher &Rule) const {} in emitAdditionalPredicates()
2328 RuleMatcher &Rule) const { in emitActionOpcodesAndDone()
2349 void emitActionOpcodes(MatchTable &Table, RuleMatcher &Rule) const override { in emitActionOpcodes()
2474 void emitActionOpcodes(MatchTable &Table, RuleMatcher &Rule) const override { in emitActionOpcodes()
H A DGlobalISelMatchTable.cpp499 for (const auto &Rule : Matchers) in finalize() local
1353 TempTypeIdx OperandMatcher::getTempTypeIdx(RuleMatcher &Rule) { in getTempTypeIdx()
1367 RuleMatcher &Rule) { in emitPredicateOpcodes()
1750 RuleMatcher &Rule) { in emitPredicateOpcodes()
1888 void CopyRenderer::emitRenderOpcodes(MatchTable &Table, RuleMatcher &Rule, in emitRenderOpcodes()
2162 bool BuildMIAction::canMutate(RuleMatcher &Rule, in canMutate()
2185 void BuildMIAction::chooseInsnToMutate(RuleMatcher &Rule) { in chooseInsnToMutate()
H A DGlobalISelMatchTableExecutorEmitter.cpp54 for (auto &Rule : Rules) in emitSubtargetFeatureBitsetImpl() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegBankLegalizeRules.cpp263 for (const RegBankLegalizeRule &Rule : Rules) { in findMappingForMI() local
272 void SetOfRulesForOpcode::addRule(RegBankLegalizeRule Rule) { in addRule()
H A DAMDGPULibFunc.cpp369 const ManglingRule& Rule; member in __anonbcd55a340111::ParamIterator
571 for (auto Rule : manglingRules) in buildManglingRulesMap() local
672 const ManglingRule& Rule = manglingRules[FuncId]; in parseFuncName() local
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DUtils.cpp199 llvm::Regex Rule = Regex(RegexString); in createRegexFromGlob() local
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp503 GenericTaintRule &&Rule, in consumeRulesFromConfig()
835 if (const auto *Rule = in checkPreCall() local
838 else if (const auto *Rule = DynamicTaintRules->lookup(Call)) in checkPreCall() local
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp153 auto Rule = SarifRule::create() in createRuleMapping() local
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp168 struct Rule { struct
169 using FuncType = std::function<Value *(Instruction *, LLVMContext &)>;
170 Rule(StringRef N, FuncType F) : Name(N), Fn(F) {} in Rule() function
171 StringRef Name; // For debugging.
172 FuncType Fn;
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangAttrEmitter.cpp2042 getRule(const AttributeSubjectMatchRule &Rule) { in getRule()
2162 for (const auto &Rule : Rules) { in emitMatchRuleList() local
2267 for (const auto &Rule : It->getSecond().getAggregateRuleSet()) { in generateStrictConformsTo() local
2288 for (const auto &Rule : Rules) { in generateParsingHelpers() local
2302 for (const auto &Rule : SubMatchRule.second) { in generateParsingHelpers() local
2310 for (const auto &Rule : SubMatchRule.second) { in generateParsingHelpers() local
2327 for (const auto &Rule : Rules) { in generateParsingHelpers() local
2353 for (const auto &Rule : SubMatchRule.second) { in generateParsingHelpers() local
4553 for (const auto &Rule : PragmaAttributeSupport.Rules) { in emitAttributeMatchRules() local
5496 for (const auto &Rule : enumerate(RuleSet.getAggregateRuleSet())) { in EmitTestPragmaAttributeSupportedAttributes() local
/freebsd/crypto/heimdal/lib/com_err/
H A Dparse.c807 # define YY_REDUCE_PRINT(Rule) \ argument
820 # define YY_REDUCE_PRINT(Rule) argument

12