| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTFwd.h | 20 #define DECL(DERIVED, BASE) class DERIVED##Decl; argument 23 #define STMT(DERIVED, BASE) class DERIVED; argument 26 #define TYPE(DERIVED, BASE) class DERIVED##Type; argument
|
| H A D | StmtIterator.h | 76 template <typename DERIVED, typename REFERENCE> 93 DERIVED& operator++() { 101 return static_cast<DERIVED&>(*this); 104 DERIVED operator++(int) { 105 DERIVED tmp = static_cast<DERIVED&>(*this); 110 friend bool operator==(const DERIVED &LHS, const DERIVED &RHS) { 115 friend bool operator!=(const DERIVED &LHS, const DERIVED &RHS) {
|
| H A D | DeclVisitor.h | 39 #define DECL(DERIVED, BASE) \ in Visit() argument 40 case Decl::DERIVED: DISPATCH(DERIVED##Decl, DERIVED##Decl); in Visit() 49 #define DECL(DERIVED, BASE) \ argument 50 RetTy Visit##DERIVED##Decl(PTR(DERIVED##Decl) D) { DISPATCH(BASE, BASE); }
|
| H A D | ASTTypeTraits.h | 148 #define DECL(DERIVED, BASE) NKI_##DERIVED##Decl, argument 151 #define STMT(DERIVED, BASE) NKI_##DERIVED, argument 154 #define TYPE(DERIVED, BASE) NKI_##DERIVED##Type, argument 219 #define DECL(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED##Decl) 221 #define STMT(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED) 223 #define TYPE(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED##Type)
|
| H A D | DeclBase.h | 87 #define DECL(DERIVED, BASE) DERIVED, argument
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Template.h | 530 #define DECL(DERIVED, BASE) \ argument 531 Decl *Visit ## DERIVED ## Decl(DERIVED ## Decl *D); 536 #define FILESCOPEASM(DERIVED, BASE) argument 537 #define IMPORT(DERIVED, BASE) argument 538 #define EXPORT(DERIVED, BASE) argument 539 #define LINKAGESPEC(DERIVED, BASE) argument 541 #define OBJCMETHOD(DERIVED, BASE) argument 543 #define OBJCIVAR(DERIVED, BASE) argument 546 #define EMPTY(DERIVED, BASE) argument 550 #define BLOCK(DERIVED, BASE) argument [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTTypeTraits.cpp | 41 #define DECL(DERIVED, BASE) { NKI_##BASE, #DERIVED "Decl" }, argument 44 #define STMT(DERIVED, BASE) { NKI_##BASE, #DERIVED }, argument 47 #define TYPE(DERIVED, BASE) { NKI_##BASE, #DERIVED "Type" }, argument 107 #define DECL(DERIVED, BASE) \ in getFromNode() argument 108 case Decl::DERIVED: return ASTNodeKind(NKI_##DERIVED##Decl); in getFromNode()
|
| H A D | DeclBase.cpp | 59 #define DECL(DERIVED, BASE) static int n##DERIVED##s = 0; argument 126 #define DECL(DERIVED, BASE) case DERIVED: return #DERIVED; in getDeclKindName() argument 157 #define DECL(DERIVED, BASE) case Decl::DERIVED: return #DERIVED; in getDeclKindName() argument 173 #define DECL(DERIVED, BASE) totalDecls += n##DERIVED##s; in PrintStats() argument 179 #define DECL(DERIVED, BASE) \ in PrintStats() argument 180 if (n##DERIVED##s > 0) { \ in PrintStats() 181 totalBytes += (int)(n##DERIVED##s * sizeof(DERIVED##Decl)); \ in PrintStats() 182 llvm::errs() << " " << n##DERIVED##s << " " #DERIVED " decls, " \ in PrintStats() 183 << sizeof(DERIVED##Decl) << " each (" \ in PrintStats() 184 << n##DERIVED##s * sizeof(DERIVED##Decl) \ in PrintStats() [all …]
|
| H A D | ASTStructuralEquivalence.cpp | 2262 #define DECL(DERIVED, BASE) \ in CheckKindSpecificEquivalence() argument 2263 case Decl::Kind::DERIVED: \ in CheckKindSpecificEquivalence() 2264 return ::IsStructurallyEquivalent(*this, static_cast<DERIVED##Decl *>(D1), \ in CheckKindSpecificEquivalence() 2265 static_cast<DERIVED##Decl *>(D2)); in CheckKindSpecificEquivalence()
|
| H A D | JSONNodeDumper.cpp | 11 #define DECL(DERIVED, BASE) \ in addPreviousDeclaration() argument 12 case Decl::DERIVED: \ in addPreviousDeclaration() 13 return writePreviousDeclImpl(cast<DERIVED##Decl>(D)); in addPreviousDeclaration()
|
| H A D | TextNodeDumper.cpp | 51 #define DECL(DERIVED, BASE) \ in dumpPreviousDecl() argument 52 case Decl::DERIVED: \ in dumpPreviousDecl() 53 return dumpPreviousDeclImpl(OS, cast<DERIVED##Decl>(D)); in dumpPreviousDecl()
|
| /llvm-project-15.0.7/llvm/test/Transforms/RewriteStatepointsForGC/ |
| H A D | base-pointers-13.ll | 9 ; CHECK-NEXT: [[DERIVED:%.*]] = getelementptr i8, i8 addrspace(1)* @global, i64 [[OFFSET:%.*]] 11 ; CHECK-NEXT: [[LOAD:%.*]] = load i8, i8 addrspace(1)* [[DERIVED]], align 1
|
| H A D | base-vector.ll | 104 ; CHECK-NEXT: [[DERIVED:%.*]] = getelementptr i64, i64 addrspace(1)* [[PTR:%.*]], i64 16 106 … [[VECA:%.*]] = insertelement <2 x i64 addrspace(1)*> undef, i64 addrspace(1)* [[DERIVED]], i32 0
|
| H A D | base-vector-inseltpoison.ll | 102 ; CHECK-NEXT: [[DERIVED:%.*]] = getelementptr i64, i64 addrspace(1)* [[PTR:%.*]], i64 16 104 … [[VECA:%.*]] = insertelement <2 x i64 addrspace(1)*> poison, i64 addrspace(1)* [[DERIVED]], i32 0
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | fold-implementation.h | 1460 template <typename DERIVED, typename RESULT, typename LEFT, typename RIGHT> 1462 Operation<DERIVED, RESULT, LEFT, RIGHT> &operation) { in ComputeResultLength() argument 1473 template <typename DERIVED, typename RESULT, typename OPERAND> 1475 Operation<DERIVED, RESULT, OPERAND> &operation, 1490 template <typename DERIVED, typename RESULT, typename OPERAND> 1497 return Expr<RESULT>{DERIVED{std::move(operand)}}; 1501 template <typename DERIVED, typename RESULT, typename LEFT, typename RIGHT> 1503 Operation<DERIVED, RESULT, LEFT, RIGHT> &operation, 1547 template <typename DERIVED, typename RESULT, typename LEFT, typename RIGHT> 1745 template <typename DERIVED, typename RESULT, typename LEFT, typename RIGHT> [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | RegionStore.cpp | 685 template <typename DERIVED> 735 static_cast<DERIVED*>(this)->VisitAddedToCluster(Base, Cluster); in GenerateClusters() 739 if (static_cast<DERIVED*>(this)->includeEntireMemorySpace(Base)) in GenerateClusters() 752 return static_cast<DERIVED*>(this)->AddToWorkList(R); in AddToWorkList() 760 static_cast<DERIVED*>(this)->VisitCluster(BaseR, getCluster(BaseR)); in RunWorkList() 769 static_cast<DERIVED*>(this)->VisitCluster(BaseR, C); in VisitCluster()
|
| /llvm-project-15.0.7/flang/include/flang/Evaluate/ |
| H A D | expression.h | 112 template <typename DERIVED, typename RESULT, typename... OPERANDS> 120 using Derived = DERIVED;
|
| /llvm-project-15.0.7/flang/test/Fir/ |
| H A D | convert-to-llvm.fir | 2544 // CHECK: %[[DERIVED:.*]] = llvm.bitcast %[[VAL_18]] : !llvm.ptr<i8> to !llvm.ptr<struct<"d… 2545 // CHECK: %[[VAL_20:.*]] = llvm.getelementptr %[[DERIVED]][%[[VAL_3]], 1] : (!llvm.ptr<stru…
|