Home
last modified time | relevance | path

Searched refs:getPattern (Results 1 – 25 of 44) sorted by relevance

12

/llvm-project/clang/unittests/AST/
H A DASTImporterGenericRedeclTest.cpp24 BindableMatcher<Decl> getPattern() { in getPattern() function
33 BindableMatcher<Decl> getPattern() { in getPattern() function
42 BindableMatcher<Decl> getPattern() { in getPattern() function
51 BindableMatcher<Decl> getPattern() { return varDecl(hasName("X")); } in getPattern() function
63 BindableMatcher<Decl> getPattern() { in getPattern() function
72 BindableMatcher<Decl> getPattern() { in getPattern() function
85 BindableMatcher<Decl> getPattern() { in getPattern() function
111 BindableMatcher<Decl> getPattern() { in getPattern() function
128 BindableMatcher<Decl> getPattern() { in getPattern() function
150 BindableMatcher<Decl> getPattern() { in getPattern() function
[all …]
H A DASTImporterODRStrategiesTest.cpp37 BindableMatcher<Decl> getPattern() { in getPattern() function
47 BindableMatcher<Decl> getPattern() { return typedefNameDecl(hasName("X")); } in getPattern() function
55 BindableMatcher<Decl> getPattern() { return typedefNameDecl(hasName("X")); } in getPattern() function
63 BindableMatcher<Decl> getPattern() { return enumDecl(hasName("X")); } in getPattern() function
71 BindableMatcher<Decl> getPattern() { return enumDecl(hasName("X")); } in getPattern() function
79 BindableMatcher<Decl> getPattern() { return enumConstantDecl(hasName("X")); } in getPattern() function
88 BindableMatcher<Decl> getPattern() { in getPattern() function
100 BindableMatcher<Decl> getPattern() { return varDecl(hasName("X")); } in getPattern() function
112 BindableMatcher<Decl> getPattern() { in getPattern() function
131 BindableMatcher<Decl> getPattern() { in getPattern() function
[all …]
H A DASTImporterVisibilityTest.cpp116 BindableMatcher<Decl> getPattern() const { return PatternFactory()(); } in getPattern() function in clang::ast_matchers::ImportVisibilityChain
121 auto Pattern = getPattern(); in TypedTest_ImportChain()
242 BindableMatcher<Decl> getPattern() const { return PatternFactory()(); } in getPattern() function in clang::ast_matchers::ImportVisibility
249 auto *ToD0 = FirstDeclMatcher<DeclTy>().match(ToTu, getPattern()); in TypedTest_ImportAfter()
250 auto *FromD1 = FirstDeclMatcher<DeclTy>().match(FromTu, getPattern()); in TypedTest_ImportAfter()
269 auto *FromD0 = FirstDeclMatcher<DeclTy>().match(FromTu0, getPattern()); in TypedTest_ImportAfterImport()
270 auto *FromD1 = FirstDeclMatcher<DeclTy>().match(FromTu1, getPattern()); in TypedTest_ImportAfterImport()
287 auto *ToF0 = FirstDeclMatcher<DeclTy>().match(ToTu, getPattern()); in TypedTest_ImportAfterWithMerge()
288 auto *FromF1 = FirstDeclMatcher<DeclTy>().match(FromTu, getPattern()); in TypedTest_ImportAfterWithMerge()
309 auto *FromF0 = FirstDeclMatcher<DeclTy>().match(FromTu0, getPattern()); in TypedTest_ImportAfterImportWithMerge()
[all …]
/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp106 ++ComplexPatternUsage[&CPM->getPattern()]; in MatcherTableEmitter()
733 const ComplexPattern &Pattern = CCPM->getPattern(); in EmitMatcher()
945 GetPatFromTreePatternNode(SNT->getPattern().getSrcPattern()); in EmitMatcher()
947 GetPatFromTreePatternNode(SNT->getPattern().getDstPattern()); in EmitMatcher()
948 const Record *PatRecord = SNT->getPattern().getSrcRecord(); in EmitMatcher()
1039 << "// Src: " << SNT->getPattern().getSrcPattern() in EmitMatcherList()
1040 << " - Complexity = " << SNT->getPattern().getPatternComplexity(CGP) in EmitMatcherList()
1043 << "// Dst: " << SNT->getPattern().getDstPattern() << '\n'; in EmitMatcherList()
1058 GetPatFromTreePatternNode(CM->getPattern().getSrcPattern()); in EmitNodePredicatesFunction()
1060 GetPatFromTreePatternNode(CM->getPattern() in EmitNodePredicatesFunction()
[all...]
H A DDAGISelMatcherOpt.cpp99 const PatternToMatch &Pattern = CM->getPattern(); in ContractNodes()
/llvm-project/mlir/include/mlir/TableGen/
H A DPredicate.h115 StringRef getPattern() const;
/llvm-project/mlir/lib/TableGen/
H A DPredicate.cpp180 {substPred.getPattern(), substPred.getReplacement()}); in buildPredicateTree()
377 StringRef SubstLeavesPred::getPattern() const { in getSuffix()
364 StringRef SubstLeavesPred::getPattern() const { getPattern() function in SubstLeavesPred
/llvm-project/mlir/lib/Conversion/PDLToPDLInterp/
H A DPredicateTree.h165 pdl::PatternOp getPattern() const { return pattern; } in getPattern() function
H A DPDLToPDLInterp.cpp594 pdl::PatternOp pattern = successNode->getPattern(); in generate()
/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp481 return getAsType()->castAs<PackExpansionType>()->getPattern(); in getPackExpansionPattern()
484 return cast<PackExpansionExpr>(getAsExpr())->getPattern(); in getPackExpansionPattern()
H A DASTStructuralEquivalence.cpp1325 cast<PackExpansionType>(T1)->getPattern(), in IsStructurallyEquivalent()
1326 cast<PackExpansionType>(T2)->getPattern())) in IsStructurallyEquivalent()
1332 cast<PackIndexingType>(T1)->getPattern(), in IsStructurallyEquivalent()
1333 cast<PackIndexingType>(T2)->getPattern())) in IsStructurallyEquivalent()
H A DTypePrinter.cpp303 cast<PackIndexingType>(UnderlyingType)->getPattern().getTypePtr(), in canPrefixQualifiers()
1270 OS << T->getPattern() << "...["; in printUnaryTransformBefore()
1791 printBefore(T->getPattern(), OS);
1796 printAfter(T->getPattern(), OS); in printCountAttributedBefore()
H A DExprClassification.cpp452 return ClassifyInternal(Ctx, cast<PackExpansionExpr>(E)->getPattern()); in ClassifyInternal()
H A DComputeDependence.cpp376 return (E->getPattern()->getDependence() & ~ExprDependence::UnexpandedPack) |
/llvm-project/llvm/utils/TableGen/Common/
H A DDAGISelMatcher.h729 const ComplexPattern &getPattern() const { return Pattern; } in getPattern() function
1118 const PatternToMatch &getPattern() const { return Pattern; } in getPattern() function
1137 const PatternToMatch &getPattern() const { return Pattern; }
1098 const PatternToMatch &getPattern() const { return Pattern; } getPattern() function
/llvm-project/clang/include/clang/AST/
H A DASTNodeTraverser.h427 Visit(T->getPattern()); in VisitPackIndexingType()
464 Visit(T->getPattern()); in VisitAutoType()
H A DTypeLoc.h2141 QualType getPattern() const { return getTypePtr()->getPattern(); }
2152 QualType getInnerType() const { return this->getTypePtr()->getPattern(); } in setUnderlyingTInfo()
2631 return this->getTypePtr()->getPattern(); in setLParenLoc()
2109 QualType getPattern() const { return getTypePtr()->getPattern(); } getPattern() function
H A DTypeProperties.td471 let Read = [{ node->getPattern() }];
840 let Read = [{ node->getPattern() }];
H A DRecursiveASTVisitor.h1103 TRY_TO(TraverseType(T->getPattern()));
1175 DEF_TRAVERSE_TYPE(PackExpansionType, { TRY_TO(TraverseType(T->getPattern())); })
1400 TRY_TO(TraverseType(TL.getPattern()));
/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp1021 QualType Pattern = cast<PackExpansionType>(T)->getPattern(); in ActOnSizeofParameterPackExpr()
1315 Expr *Pattern = Expansion->getPattern(); in ActOnCXXFoldExpr()
H A DSemaTemplateDeduction.cpp443 ParamType = Expansion->getPattern(); in DeduceNonTypeTemplateArgument()
867 ExtraDeductions.push_back(Expansion->getPattern()); in addPack()
1189 QualType Pattern = Expansion->getPattern();
1551 A = AExp->getPattern(); in DeduceTemplateArgumentsByTypeMatch()
4688 QualType ParamPattern = ParamExpansion->getPattern(); in DeduceTemplateArguments()
5630 A = PA->getPattern(); in getMoreSpecializedTemplate()
6717 E = Expansion->getPattern();
7026 MarkUsedTemplateParameters(Ctx, cast<PackIndexingType>(T)->getPattern(),
7042 cast<PackExpansionType>(T)->getPattern(),
H A DSemaCXXScopeSpec.cpp826 cast<PackIndexingType>(Type.getTypePtr())->getPattern(), in ActOnCXXNestedNameSpecifierIndexedPack()
/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp689 ParmType = T->getPattern(); in FunctionParmMutationAnalyzer()
/llvm-project/clang-tools-extra/clangd/
H A DPreamble.cpp177 const auto BaseType = PET->getPattern().getNonReferenceType(); in isLikelyForwardingFunction()
/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp690 T = Expansion->getPattern(); in VisitType()

12