Searched refs:Pattern (Results 1 - 25 of 68) sorted by relevance

123

/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DDiagnosticHandler.cpp25 std::shared_ptr<Regex> Pattern; member in struct:__anon4749::PassRemarksOpt
30 Pattern = std::make_shared<Regex>(Val);
32 if (!Pattern->isValid(RegexError))
75 return (PassRemarksAnalysisOptLoc.Pattern &&
76 PassRemarksAnalysisOptLoc.Pattern->match(PassName));
79 return (PassRemarksMissedOptLoc.Pattern &&
80 PassRemarksMissedOptLoc.Pattern->match(PassName));
83 return (PassRemarksPassedOptLoc.Pattern &&
84 PassRemarksPassedOptLoc.Pattern->match(PassName));
88 return (PassRemarksPassedOptLoc.Pattern || PassRemarksMissedOptLo
[all...]
/freebsd-12-stable/sys/contrib/libsodium/msvc-scripts/
H A Drep.vbs7 rxp.Pattern = patparts(1)
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DIPDBSession.h65 findSourceFiles(const PDBSymbolCompiland *Compiland, llvm::StringRef Pattern,
69 llvm::StringRef Pattern,
72 findCompilandsForSourceFile(llvm::StringRef Pattern,
75 findOneCompilandForSourceFile(llvm::StringRef Pattern,
/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherGen.cpp54 const PatternToMatch &Pattern; member in class:__anon5914::MatcherGen
57 /// PatWithNoTypes - This is a clone of Pattern.getSrcPattern() that starts
148 : Pattern(pattern), CGP(cgp), NextRecordedOperandNo(0),
162 PatWithNoTypes = Pattern.getSrcPattern()->clone();
166 InferPossibleTypes(Pattern.ForceMode);
198 // Pattern Match Generation
210 if (N == Pattern.getSrcPattern()) {
284 if (N == Pattern.getSrcPattern()) {
294 if (N == Pattern.getSrcPattern()) {
349 if (N == Pattern
1065 ConvertPatternToMatcher(const PatternToMatch &Pattern, unsigned Variant, const CodeGenDAGPatterns &CGP) argument
[all...]
H A DDAGISelMatcher.h30 Matcher *ConvertPatternToMatcher(const PatternToMatch &Pattern,unsigned Variant,
682 const ComplexPattern &Pattern; member in class:llvm::CheckComplexPatMatcher
697 : Matcher(CheckComplexPat), Pattern(pattern), MatchNumber(matchnumber),
700 const ComplexPattern &getPattern() const { return Pattern; }
713 return &cast<CheckComplexPatMatcher>(M)->Pattern == &Pattern &&
1066 const PatternToMatch &Pattern; member in class:llvm::MorphNodeToMatcher
1077 Pattern(pattern) {
1080 const PatternToMatch &getPattern() const { return Pattern; }
1092 const PatternToMatch &Pattern; member in class:llvm::CompleteMatchMatcher
[all...]
H A DDAGISelMatcherOpt.cpp98 const PatternToMatch &Pattern = CM->getPattern(); local
101 Pattern.getSrcPattern()->NodeHasProperty(SDNPHasChain, CGP))
111 Pattern.getSrcPattern()->NodeHasProperty(SDNPOutGlue, CGP))
133 Pattern));
H A DFastISelEmitter.cpp453 const PatternToMatch &Pattern = *I;
457 TreePatternNode *Dst = Pattern.getDstPattern();
513 TreePatternNode *InstPatNode = Pattern.getSrcPattern();
582 std::string PredicateCheck = Pattern.getPredicateCheck();
586 Pattern.getDstPattern()->getOperator()->getName(),
593 int complexity = Pattern.getPatternComplexity(CGP);
597 PrintFatalError(Pattern.getSrcRecord()->getLoc(),
H A DDAGISelMatcher.cpp224 OS.indent(indent) << "CheckComplexPat " << Pattern.getSelectFunc() << '\n';
305 OS.indent(indent) << "Src = " << *Pattern.getSrcPattern() << "\n";
306 OS.indent(indent) << "Dst = " << *Pattern.getDstPattern() << "\n";
H A DCodeGenDAGPatterns.cpp2158 // Pattern fragment types will be resolved when they are inlined.
2780 error("Pattern has unexpected init kind!");
2783 if (!OpDef) error("Pattern has unexpected operator type!");
3523 PrintError(PatDef->getLoc(), "Pattern doesn't match hasSideEffects = " +
3530 PrintError(PatDef->getLoc(), "Pattern doesn't match mayStore = " +
3539 PrintError(PatDef->getLoc(), "Pattern doesn't match mayLoad = " +
3590 assert(DI && "non-dag in an instruction Pattern list?!");
3786 TreePatternNodePtr Pattern = I.getTree(0); local
3788 if (Pattern->getOperator()->getName() == "set") {
3789 SrcPattern = Pattern
3900 AddPatternToMatch(TreePattern *Pattern, PatternToMatch &&PTM) argument
4123 ParseOnePattern(Record *TheDef, TreePattern &Pattern, TreePattern &Result, const std::vector<Record *> &InstImpResults) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/DIA/
H A DDIASession.h61 findSourceFiles(const PDBSymbolCompiland *Compiland, llvm::StringRef Pattern,
65 llvm::StringRef Pattern,
68 findCompilandsForSourceFile(llvm::StringRef Pattern,
71 findOneCompilandForSourceFile(llvm::StringRef Pattern,
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DNativeSession.h69 findSourceFiles(const PDBSymbolCompiland *Compiland, llvm::StringRef Pattern,
73 llvm::StringRef Pattern,
76 findCompilandsForSourceFile(llvm::StringRef Pattern,
79 findOneCompilandForSourceFile(llvm::StringRef Pattern,
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp583 Sema::CheckPackExpansion(TypeSourceInfo *Pattern, SourceLocation EllipsisLoc, argument
586 QualType Result = CheckPackExpansion(Pattern->getType(),
587 Pattern->getTypeLoc().getSourceRange(),
593 TLB.pushFullCopy(Pattern->getTypeLoc());
600 QualType Sema::CheckPackExpansion(QualType Pattern, SourceRange PatternRange, argument
610 if (!Pattern->containsUnexpandedParameterPack() &&
611 !Pattern->getContainedDeducedType()) {
617 return Context.getPackExpansionType(Pattern, NumExpansions);
620 ExprResult Sema::ActOnPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc) { argument
621 return CheckPackExpansion(Pattern, EllipsisLo
624 CheckPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc, Optional<unsigned> NumExpansions) argument
784 QualType Pattern = cast<PackExpansionType>(T)->getPattern(); local
1046 TypeLoc Pattern = Expansion.getPatternLoc(); local
1063 Expr *Pattern = Expansion->getPattern(); local
[all...]
H A DSemaTemplateInstantiateDecl.cpp839 TypeAliasDecl *Pattern = D->getTemplatedDecl();
842 if (getPreviousDeclForInstantiation<TypedefNameDecl>(Pattern)) {
843 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName());
850 InstantiateTypedefNameDecl(Pattern, /*IsTypeAlias=*/true));
1272 EnumDecl *Enum, EnumDecl *Pattern) {
1276 Enum->setLocation(Pattern->getLocation());
1281 for (auto *EC : Pattern->enumerators()) {
1318 if (Pattern->getDeclContext()->isFunctionOrMethod() &&
1351 CXXRecordDecl *Pattern = D->getTemplatedDecl();
1356 NestedNameSpecifierLoc QualifierLoc = Pattern
1271 InstantiateEnumDefinition( EnumDecl *Enum, EnumDecl *Pattern) argument
2646 TypeLoc Pattern = Expansion.getPatternLoc(); local
4537 Stmt *Pattern = nullptr; local
5397 isInstantiationOf(ClassTemplateDecl *Pattern, ClassTemplateDecl *Instance) argument
5410 isInstantiationOf(FunctionTemplateDecl *Pattern, FunctionTemplateDecl *Instance) argument
5424 isInstantiationOf(ClassTemplatePartialSpecializationDecl *Pattern, ClassTemplatePartialSpecializationDecl *Instance) argument
5439 isInstantiationOf(CXXRecordDecl *Pattern, CXXRecordDecl *Instance) argument
5452 isInstantiationOf(FunctionDecl *Pattern, FunctionDecl *Instance) argument
5465 isInstantiationOf(EnumDecl *Pattern, EnumDecl *Instance) argument
5478 isInstantiationOf(UsingShadowDecl *Pattern, UsingShadowDecl *Instance, ASTContext &C) argument
5485 isInstantiationOf(UsingDecl *Pattern, UsingDecl *Instance, ASTContext &C) argument
5491 isInstantiationOfUnresolvedUsingDecl(T *Pattern, Decl *Other, ASTContext &Ctx) argument
5517 isInstantiationOfStaticDataMember(VarDecl *Pattern, VarDecl *Instance) argument
6004 PerformDependentDiagnostics(const DeclContext *Pattern, const MultiLevelTemplateArgumentList &TemplateArgs) argument
[all...]
H A DSemaTemplateInstantiate.cpp53 /// \param Pattern If non-NULL, indicates the pattern from which we will be
61 const FunctionDecl *Pattern) {
170 (!Pattern || !Pattern->getLexicalDeclContext()->isFileContext())) {
2415 CXXRecordDecl *Pattern,
2419 for (const auto &Base : Pattern->bases()) {
2536 /// \param Pattern is the pattern from which the instantiation
2551 CXXRecordDecl *Instantiation, CXXRecordDecl *Pattern,
2556 = cast_or_null<CXXRecordDecl>(Pattern->getDefinition());
2559 Pattern, PatternDe
58 getTemplateInstantiationArgs(NamedDecl *D, const TemplateArgumentList *Innermost, bool RelativeToPrimary, const FunctionDecl *Pattern) argument
[all...]
H A DCodeCompleteConsumer.cpp530 return !(Result.Pattern->getTypedText() &&
531 StringRef(Result.Pattern->getTypedText()).startswith(Filter));
609 OS << "Pattern : " << Results[I].Pattern->getAsString() << '\n';
733 return Pattern->getTypedText();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
H A DDIASession.cpp284 llvm::StringRef Pattern,
288 if (!Pattern.empty())
289 Utf16Pattern = CComBSTR(Pattern.data());
306 llvm::StringRef Pattern,
308 auto SourceFiles = findSourceFiles(Compiland, Pattern, Flags);
315 DIASession::findCompilandsForSourceFile(llvm::StringRef Pattern, argument
317 auto File = findOneSourceFile(nullptr, Pattern, Flags);
324 DIASession::findOneCompilandForSourceFile(llvm::StringRef Pattern, argument
326 auto Compilands = findCompilandsForSourceFile(Pattern, Flags);
283 findSourceFiles(const PDBSymbolCompiland *Compiland, llvm::StringRef Pattern, PDB_NameSearchFlags Flags) const argument
305 findOneSourceFile(const PDBSymbolCompiland *Compiland, llvm::StringRef Pattern, PDB_NameSearchFlags Flags) const argument
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
H A DFileCheck.cpp69 bool Pattern::isValidVarNameStart(char C) { return C == '_' || isalpha(C); }
71 Expected<Pattern::VariableProperties>
72 Pattern::parseVariable(StringRef &Str, const SourceMgr &SM) {
114 Expected<NumericVariable *> Pattern::parseNumericVariableDefinition(
148 Expected<std::unique_ptr<NumericVariableUse>> Pattern::parseNumericVariableUse(
182 Expected<std::unique_ptr<ExpressionAST>> Pattern::parseNumericOperand(
187 Expected<Pattern::VariableProperties> ParseVarResult =
217 Pattern::parseBinop(StringRef &Expr, std::unique_ptr<ExpressionAST> LeftOp,
258 Expected<std::unique_ptr<ExpressionAST>> Pattern::parseNumericSubstitutionBlock(
309 bool Pattern
[all...]
H A DFileCheckImpl.h236 // Pattern handling code.
241 /// Class holding the Pattern global state, shared by all patterns: tables
245 friend class Pattern;
262 /// NumericVariableDefs table in the Pattern instance of that pattern.
358 class Pattern { class in namespace:llvm
428 Pattern(Check::FileCheckType Ty, FileCheckPatternContext *Context, function in class:llvm::Pattern
469 /// Parses the pattern in \p PatternStr and initializes this Pattern instance
571 Pattern Pat;
581 std::vector<Pattern> DagNotStrings;
583 FileCheckString(const Pattern
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSession.cpp147 StringRef Pattern,
154 StringRef Pattern,
160 NativeSession::findCompilandsForSourceFile(StringRef Pattern, argument
166 NativeSession::findOneCompilandForSourceFile(StringRef Pattern, argument
146 findSourceFiles(const PDBSymbolCompiland *Compiland, StringRef Pattern, PDB_NameSearchFlags Flags) const argument
153 findOneSourceFile(const PDBSymbolCompiland *Compiland, StringRef Pattern, PDB_NameSearchFlags Flags) const argument
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h774 CodeCompletionString *Pattern;
897 CodeCompletionString *Pattern, unsigned Priority = CCP_CodePattern,
901 : Declaration(D), Pattern(Pattern), Priority(Priority), Kind(RK_Pattern),
909 CodeCompletionResult(CodeCompletionString *Pattern, const NamedDecl *D,
911 : Declaration(D), Pattern(Pattern), Priority(Priority), Kind(RK_Pattern),
/freebsd-12-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexingContext.cpp220 if (const CXXRecordDecl *Pattern =
222 for (const NamedDecl *BaseND : Pattern->lookup(ND->getDeclName())) {
231 if (const EnumDecl *Pattern = ED->getInstantiatedFromMemberEnum()) {
232 for (const NamedDecl *BaseECD : Pattern->lookup(ECD->getDeclName()))
/freebsd-12-stable/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp484 struct Pattern { struct in class:clang::ast_matchers::internal::__anon2766::PatternSet
489 llvm::SmallVector<Pattern, 8> Patterns;
578 for (const StringRef Pattern : Names) {
579 if (Pattern.startswith("::")) {
580 if (FullName == Pattern)
582 } else if (FullName.endswith(Pattern) &&
583 FullName.drop_back(Pattern.size()).endswith("::")) {
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp121 /// \p Pattern.
122 static bool shouldIgnoreRecord(const RecordDecl *RD, StringRef Pattern);
502 static bool shouldIgnoreRecord(const RecordDecl *RD, StringRef Pattern) { argument
503 llvm::Regex R(Pattern);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.h220 /// \param Pattern - combiner pattern
221 bool isThroughputPattern(MachineCombinerPattern Pattern) const override;
234 MachineInstr &Root, MachineCombinerPattern Pattern,
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DCopyConfig.cpp326 NameOrPattern::create(StringRef Pattern, MatchStyle MS, argument
330 return NameOrPattern(Pattern);
334 if (Pattern[0] == '!') {
336 Pattern = Pattern.drop_front();
338 Expected<GlobPattern> GlobOrErr = GlobPattern::create(Pattern);
345 return create(Pattern, MatchStyle::Literal, ErrorCallback);
354 ("^" + Pattern.ltrim('^').rtrim('$') + "$").toStringRef(Data)));

Completed in 1418 milliseconds

123