Home
last modified time | relevance | path

Searched refs:DECL (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Dtypedefs.td7 // DECL: #ifdef GET_TYPEDEF_CLASSES
8 // DECL: #undef GET_TYPEDEF_CLASSES
10 // DECL: namespace mlir {
11 // DECL: class AsmParser;
12 // DECL: class AsmPrinter;
13 // DECL: } // namespace mlir
39 // DECL-NOT: TestDialect
75 // DECL: }
93 // DECL: return {"index"};
94 // DECL: }
[all …]
H A Dattrdefs.td7 // DECL: #ifdef GET_ATTRDEF_CLASSES
8 // DECL: #undef GET_ATTRDEF_CLASSES
10 // DECL: namespace mlir {
11 // DECL: class AsmParser;
12 // DECL: class AsmPrinter;
13 // DECL: } // namespace mlir
39 // DECL-NOT: TestDialect
73 // DECL: }
113 // DECL: return {"index"};
114 // DECL: }
[all …]
H A Dop-interface.td14 // DECL: class ExtraShardDeclsInterface
15 // DECL: bool sharedMethodDeclaration() {
17 // DECL-NEXT: }
19 // DECL: struct ExtraShardDeclsInterfaceTrait
20 // DECL: bool sharedMethodDeclaration() {
22 // DECL-NEXT: }
73 // DECL-LABEL: TestOpInterfaceInterfaceTraits
76 // DECL: int foo(int input);
78 // DECL: template<typename ConcreteOp>
82 // DECL: verifyTrait
[all …]
H A Dop-attribute.td41 // DECL-LABEL: AOp declarations
51 // DECL: ::mlir::StringAttr aAttrAttrName()
56 // DECL: ::mlir::StringAttr bAttrAttrName()
61 // DECL: ::mlir::StringAttr cAttrAttrName()
166 // DECL-LABEL: AgetOp declarations
366 // DECL-LABEL: DOp declarations
381 // DECL-SAME: DerivedAttributeOpInterface::Trait
382 // DECL: static bool isDerivedAttribute
408 // DECL-LABEL: EOp declarations
420 // DECL: NamespaceOp
[all …]
H A Ddialect.td1 // RUN: mlir-tblgen -gen-op-decls -I %S/../../include %s | FileCheck %s --check-prefix=DECL
64 // DECL-LABEL: GET_OP_CLASSES
65 // DECL: a::SomeOp declarations
66 // DECL: BNS::SomeOp declarations
67 // DECL: ::C::CC::SomeOp declarations
68 // DECL: DSomeOp declarations
69 // DECL: ENS::SomeOp declarations
70 // DECL: ::E::SPECIAL_NS::SpecialNSOp declarations
/llvm-project-15.0.7/clang/test/Index/
H A Dannotate-parameterized-classes.m18 …s=%s:7:1:9:1 %s -target x86_64-apple-macosx10.7.0 | FileCheck -check-prefix=CHECK-INTERFACE-DECL %s
19 // CHECK-INTERFACE-DECL: Identifier: "T" [7:14 - 7:15] TemplateTypeParameter=T:7:14
20 // CHECK-INTERFACE-DECL: Identifier: "id" [7:18 - 7:20] TypeRef=id:0:0
21 // CHECK-INTERFACE-DECL: Identifier: "U" [7:22 - 7:23] TemplateTypeParameter=U:7:22
22 // CHECK-INTERFACE-DECL: Identifier: "NSObject" [7:26 - 7:34] ObjCClassRef=NSObject:4:12
24 …=%s:10:1:12:1 %s -target x86_64-apple-macosx10.7.0 | FileCheck -check-prefix=CHECK-CATEGORY-DECL %s
25 // CHECK-CATEGORY-DECL: Identifier: "T" [10:14 - 10:15] TemplateTypeParameter=T:10:14
26 // CHECK-CATEGORY-DECL: Identifier: "id" [10:18 - 10:20] TypeRef=id:0:0
27 // CHECK-CATEGORY-DECL: Identifier: "U" [10:22 - 10:23] TemplateTypeParameter=U:10:22
28 // CHECK-CATEGORY-DECL: Identifier: "NSObject" [10:26 - 10:34] ObjCClassRef=NSObject:4:12
/llvm-project-15.0.7/clang/test/CoverageMapping/
H A Dmacro-expressions.cpp5 #define DECL(T, x) T x macro
74 for (ASSIGN(DECL(int, j), 0); LT(j, i); INC(j)) {} in foo()
76 ASSIGN(DECL(int, k), 0); in foo()
90 for (DECL(int, j) : ARR(int, 1, 2, 3)) {} in foo()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclVisitor.h39 #define DECL(DERIVED, BASE) \ in Visit() macro
41 #define ABSTRACT_DECL(DECL) in Visit() argument
49 #define DECL(DERIVED, BASE) \ macro
H A DASTFwd.h20 #define DECL(DERIVED, BASE) class DERIVED##Decl; macro
H A DASTTypeTraits.h148 #define DECL(DERIVED, BASE) NKI_##DERIVED##Decl, macro
219 #define DECL(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED##Decl)
H A DRecursiveASTVisitor.h448 #define ABSTRACT_DECL(DECL)
449 #define DECL(CLASS, BASE) bool Traverse##CLASS##Decl(CLASS##Decl *D);
456 #define DECL(CLASS, BASE) \
766 #define ABSTRACT_DECL(DECL)
767 #define DECL(CLASS, BASE) \
1513 #define DEF_TRAVERSE_DECL(DECL, CODE) \
1515 bool RecursiveASTVisitor<Derived>::Traverse##DECL(DECL *D) { \
1519 TRY_TO(WalkUpFrom##DECL(D)); \
1529 TRY_TO(WalkUpFrom##DECL(D)); \
H A DDeclBase.h87 #define DECL(DERIVED, BASE) DERIVED, macro
88 #define ABSTRACT_DECL(DECL) argument
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclBase.cpp60 #define ABSTRACT_DECL(DECL) argument
70 #define ABSTRACT_DECL(DECL) argument
127 #define ABSTRACT_DECL(DECL) in getDeclKindName() argument
158 #define ABSTRACT_DECL(DECL) in getDeclKindName() argument
174 #define ABSTRACT_DECL(DECL) in PrintStats() argument
918 #define DECL(NAME, BASE) in castFromDeclContext() macro
925 #define DECL(NAME, BASE) in castFromDeclContext() macro
937 #define DECL(NAME, BASE) in castToDeclContext() macro
944 #define DECL(NAME, BASE) in castToDeclContext() macro
1080 #define DECL(NAME, BASE) in classof() macro
[all …]
H A DASTTypeTraits.cpp41 #define DECL(DERIVED, BASE) { NKI_##BASE, #DERIVED "Decl" }, macro
107 #define DECL(DERIVED, BASE) \ in getFromNode() macro
H A DJSONNodeDumper.cpp11 #define DECL(DERIVED, BASE) \ in addPreviousDeclaration() macro
14 #define ABSTRACT_DECL(DECL) in addPreviousDeclaration() argument
17 #undef DECL in addPreviousDeclaration()
H A DASTStructuralEquivalence.cpp2261 #define ABSTRACT_DECL(DECL) in CheckKindSpecificEquivalence() argument
2262 #define DECL(DERIVED, BASE) \ in CheckKindSpecificEquivalence() macro
H A DTextNodeDumper.cpp51 #define DECL(DERIVED, BASE) \ in dumpPreviousDecl() macro
54 #define ABSTRACT_DECL(DECL) in dumpPreviousDecl() argument
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Ddebug-info-objc-property-dwarf5.m25 // CHECK: ![[DECL:[0-9]+]] = !DISubprogram(name: "-[Foo setBar:]",
29 // CHECK-SAME: declaration: ![[DECL:[0-9]+]]
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dcfstring-elf-cfbuild-x86_64.c15 #if defined(DECL)
H A Dcfstring-windows.c16 #if defined(DECL)
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/
H A DFindAllSymbolsTests.cpp421 enum DECL : int;
427 extern DECL whatever;
481 Symbol = SymbolInfo("DECL", SymbolInfo::SymbolKind::EnumDecl, HeaderName, {});
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Druntime-dllstorage.cpp42 #elif defined(DECL)
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/
H A DChecker.h28 template <typename DECL>
33 ((const CHECKER *)checker)->checkASTDecl(cast<DECL>(D), mgr, BR); in _checkDecl()
37 return isa<DECL>(D); in _handlesDecl()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DTemplate.h530 #define DECL(DERIVED, BASE) \ macro
532 #define ABSTRACT_DECL(DECL) argument
/llvm-project-15.0.7/clang/test/CodeGenOpenCLCXX/
H A Daddrspace-of-this.clcpp17 #ifdef DECL
34 #if defined(DECL) && !defined(USE_DEFLT)

12