Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/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
86 BindableMatcher<Decl> getPattern() { in getPattern() function
112 BindableMatcher<Decl> getPattern() { in getPattern() function
129 BindableMatcher<Decl> getPattern() { in getPattern() function
140 BindableMatcher<Decl> getPattern() const { return TypeParam().getPattern(); } in getPattern() function
[all …]
H A DASTImporterODRStrategiesTest.cpp37 BindableMatcher<Decl> getPattern() { in getPattern() function
88 BindableMatcher<Decl> getPattern() { in getPattern() function
112 BindableMatcher<Decl> getPattern() { in getPattern() function
131 BindableMatcher<Decl> getPattern() { in getPattern() function
175 BindableMatcher<Decl> getPattern() { in getPattern() function
205 BindableMatcher<Decl> getPattern() { in getPattern() function
230 BindableMatcher<Decl> getPattern() { in getPattern() function
254 static BindableMatcher<Decl> getPattern() { return TypeParam().getPattern(); } in getPattern() function
279 EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 2u); in CheckImportedAsNew()
294 EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 1u); in CheckImportNameConflict()
[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-15.0.7/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp620 const ComplexPattern &Pattern = CCPM->getPattern(); in EmitMatcher()
761 Record *PatRecord = SNT->getPattern().getSrcRecord(); in EmitMatcher()
817 << *SNT->getPattern().getSrcPattern() << " - Complexity = " in EmitMatcher()
818 << SNT->getPattern().getPatternComplexity(CGP) << '\n'; in EmitMatcher()
820 << *SNT->getPattern().getDstPattern() << '\n'; in EmitMatcher()
835 GetPatFromTreePatternNode(CM->getPattern().getSrcPattern()); in EmitMatcher()
837 GetPatFromTreePatternNode(CM->getPattern().getDstPattern()); in EmitMatcher()
838 Record *PatRecord = CM->getPattern().getSrcRecord(); in EmitMatcher()
852 << *CM->getPattern().getSrcPattern() << " - Complexity = " in EmitMatcher()
853 << CM->getPattern().getPatternComplexity(CGP) << '\n'; in EmitMatcher()
[all …]
H A DDAGISelMatcher.h708 const ComplexPattern &getPattern() const { return Pattern; } in getPattern() function
1088 const PatternToMatch &getPattern() const { return Pattern; } in getPattern() function
1109 const PatternToMatch &getPattern() const { return Pattern; } in getPattern() function
H A DDAGISelMatcherOpt.cpp98 const PatternToMatch &Pattern = CM->getPattern(); in ContractNodes()
/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DPredicate.h112 StringRef getPattern() const;
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DPredicate.cpp178 {substPred.getPattern(), substPred.getReplacement()}); in buildPredicateTree()
365 StringRef SubstLeavesPred::getPattern() const { in getPattern() function in SubstLeavesPred
/llvm-project-15.0.7/mlir/lib/Conversion/PDLToPDLInterp/
H A DPredicateTree.h165 pdl::PatternOp getPattern() const { return pattern; } in getPattern() function
H A DPDLToPDLInterp.cpp557 pdl::PatternOp pattern = successNode->getPattern(); in generate()
/llvm-project-15.0.7/clang/lib/AST/
H A DTemplateBase.cpp399 return getAsType()->castAs<PackExpansionType>()->getPattern(); in getPackExpansionPattern()
402 return cast<PackExpansionExpr>(getAsExpr())->getPattern(); in getPackExpansionPattern()
H A DExprClassification.cpp421 return ClassifyInternal(Ctx, cast<PackExpansionExpr>(E)->getPattern()); in ClassifyInternal()
H A DASTStructuralEquivalence.cpp1156 cast<PackExpansionType>(T1)->getPattern(), in IsStructurallyEquivalent()
1157 cast<PackExpansionType>(T2)->getPattern())) in IsStructurallyEquivalent()
H A DComputeDependence.cpp363 return (E->getPattern()->getDependence() & ~ExprDependence::UnexpandedPack) | in computeDependence()
H A DODRHash.cpp963 AddQualType(T->getPattern()); in VisitPackExpansionType()
H A DTypePrinter.cpp1614 printBefore(T->getPattern(), OS); in printPackExpansionBefore()
1619 printAfter(T->getPattern(), OS); in printPackExpansionAfter()
/llvm-project-15.0.7/mlir/lib/Dialect/Transform/IR/
H A DTransformOps.cpp424 unsigned numRepetitions = state.getPayloadOps(getPattern()).size(); in apply()
439 onlyReadsHandle(getPattern(), effects); in getEffects()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp805 QualType Pattern = cast<PackExpansionType>(T)->getPattern(); in getNumArgumentsInExpansion()
1087 Expr *Pattern = Expansion->getPattern(); in getTemplateArgumentPackExpansionPattern()
H A DSemaTemplateDeduction.cpp404 ParamType = Expansion->getPattern(); in DeduceNonTypeTemplateArgument()
730 ExtraDeductions.push_back(Expansion->getPattern()); in addPacks()
1054 QualType Pattern = Expansion->getPattern(); in DeduceTemplateArguments()
1344 A = AExp->getPattern(); in DeduceTemplateArgumentsByTypeMatch()
4040 QualType ParamPattern = ParamExpansion->getPattern(); in DeduceTemplateArguments()
5625 E = Expansion->getPattern(); in MarkUsedTemplateParameters()
5945 cast<PackExpansionType>(T)->getPattern(), in MarkUsedTemplateParameters()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp577 ParmType = T->getPattern(); in findFunctionArgMutation()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTNodeTraverser.h412 Visit(T->getPattern()); in VisitPackExpansionType()
H A DExprCXX.h4097 Expr *getPattern() { return reinterpret_cast<Expr *>(Pattern); } in getPattern() function
4100 const Expr *getPattern() const { return reinterpret_cast<Expr *>(Pattern); } in getPattern() function
4637 Expr *getPattern() const { return isLeftFold() ? getRHS() : getLHS(); } in getPattern() function
H A DTypeProperties.td748 let Read = [{ node->getPattern() }];
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DPreamble.cpp148 const auto BaseType = PET->getPattern().getNonReferenceType(); in isLikelyForwardingFunction()
/llvm-project-15.0.7/clang/lib/Index/
H A DUSRGeneration.cpp656 T = Expansion->getPattern(); in VisitType()

12