/external/llvm-project/clang/unittests/AST/ |
D | ASTImporterGenericRedeclTest.cpp | 21 using DeclTy = FunctionDecl; typedef 30 using DeclTy = CXXRecordDecl; typedef 39 using DeclTy = EnumDecl; typedef 48 using DeclTy = VarDecl; typedef 55 using DeclTy = FunctionTemplateDecl; typedef 69 using DeclTy = ClassTemplateDecl; typedef 78 using DeclTy = VarTemplateDecl; typedef 93 using DeclTy = FunctionDecl; typedef 118 using DeclTy = ClassTemplateSpecializationDecl; typedef 137 using DeclTy = typename TypeParam::DeclTy; typedef [all …]
|
D | ASTImporterODRStrategiesTest.cpp | 32 using DeclTy = FunctionDecl; typedef 44 using DeclTy = TypedefNameDecl; typedef 52 using DeclTy = TypedefNameDecl; typedef 60 using DeclTy = EnumDecl; typedef 68 using DeclTy = EnumDecl; typedef 76 using DeclTy = EnumConstantDecl; typedef 84 using DeclTy = CXXRecordDecl; typedef 95 using DeclTy = VarDecl; typedef 105 using DeclTy = ClassTemplateDecl; typedef 119 using DeclTy = FunctionTemplateDecl; typedef [all …]
|
D | ASTImporterVisibilityTest.cpp | 27 using DeclTy = FunctionDecl; typedef 31 using DeclTy = VarDecl; typedef 35 using DeclTy = CXXRecordDecl; typedef 39 using DeclTy = EnumDecl; typedef 43 using DeclTy = TypedefNameDecl; typedef 47 using DeclTy = FunctionTemplateDecl; typedef 53 using DeclTy = VarTemplateDecl; typedef 59 using DeclTy = ClassTemplateDecl; typedef 111 using DeclTy = typename PatternFactory::DeclTy; typedef in clang::ast_matchers::ImportVisibilityChain 125 auto *FromD0 = FirstDeclMatcher<DeclTy>().match(FromTu, Pattern); in TypedTest_ImportChain() [all …]
|
/external/llvm-project/clang/lib/AST/Interp/ |
D | Descriptor.h | 26 using DeclTy = llvm::PointerUnion<const Decl *, const Expr *>; variable 54 const DeclTy Source; 88 Descriptor(const DeclTy &D, PrimType Type, bool IsConst, bool IsTemporary, 92 Descriptor(const DeclTy &D, PrimType Type, size_t NumElems, bool IsConst, 96 Descriptor(const DeclTy &D, PrimType Type, bool IsTemporary, UnknownSize); 99 Descriptor(const DeclTy &D, Descriptor *Elem, unsigned NumElems, bool IsConst, 103 Descriptor(const DeclTy &D, Descriptor *Elem, bool IsTemporary, UnknownSize); 106 Descriptor(const DeclTy &D, Record *R, bool IsConst, bool IsTemporary,
|
D | Descriptor.cpp | 188 Descriptor::Descriptor(const DeclTy &D, PrimType Type, bool IsConst, in Descriptor() 197 Descriptor::Descriptor(const DeclTy &D, PrimType Type, size_t NumElems, in Descriptor() 207 Descriptor::Descriptor(const DeclTy &D, PrimType Type, bool IsTemporary, in Descriptor() 216 Descriptor::Descriptor(const DeclTy &D, Descriptor *Elem, unsigned NumElems, in Descriptor() 227 Descriptor::Descriptor(const DeclTy &D, Descriptor *Elem, bool IsTemporary, in Descriptor() 236 Descriptor::Descriptor(const DeclTy &D, Record *R, bool IsConst, in Descriptor()
|
D | Program.h | 101 Descriptor *createDescriptor(const DeclTy &D, PrimType Type, 109 Descriptor *createDescriptor(const DeclTy &D, const Type *Ty, 133 llvm::Optional<unsigned> createGlobal(const DeclTy &D, QualType Ty,
|
D | ByteCodeExprGen.h | 153 unsigned allocateLocalPrimitive(DeclTy &&Decl, PrimType Ty, bool IsMutable, 157 llvm::Optional<unsigned> allocateLocal(DeclTy &&Decl,
|
D | Program.cpp | 162 llvm::Optional<unsigned> Program::createGlobal(const DeclTy &D, QualType Ty, in createGlobal() 296 Descriptor *Program::createDescriptor(const DeclTy &D, const Type *Ty, in createDescriptor()
|
D | ByteCodeExprGen.cpp | 423 unsigned ByteCodeExprGen<Emitter>::allocateLocalPrimitive(DeclTy &&Src, in allocateLocalPrimitive() 437 ByteCodeExprGen<Emitter>::allocateLocal(DeclTy &&Src, bool IsExtended) { in allocateLocal()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 2673 llvm::Type *DeclTy = getTypes().ConvertTypeForMem(VD->getType()); in GetWeakRefReference() local 2679 auto Ptr = llvm::ConstantExpr::getBitCast(Entry, DeclTy->getPointerTo(AS)); in GetWeakRefReference() 2684 if (isa<llvm::FunctionType>(DeclTy)) in GetWeakRefReference() 2685 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, in GetWeakRefReference() 2690 llvm::PointerType::getUnqual(DeclTy), in GetWeakRefReference() 3152 llvm::Type *DeclTy = getTypes().ConvertType(FD->getType()); in emitCPUDispatchDefinition() local 3156 DeclTy = getTypes().GetFunctionType(FInfo); in emitCPUDispatchDefinition() 3165 llvm::PointerType::get(DeclTy, in emitCPUDispatchDefinition() 3169 ResolverType = DeclTy; in emitCPUDispatchDefinition() 3201 MangledName, DeclTy, ExistingDecl, in emitCPUDispatchDefinition() [all …]
|
D | CodeGenModule.h | 1427 llvm::Type *DeclTy,
|
/external/llvm-project/clang/lib/AST/ |
D | ExternalASTMerger.cpp | 454 template <typename DeclTy> 455 static bool importSpecializations(DeclTy *D, ASTImporter *Importer) { in importSpecializations()
|
D | ExprConstant.cpp | 14878 QualType DeclTy = VD->getType(); in EvaluateAsInitializer() local 14900 return CheckConstantExpression(Info, DeclLoc, DeclTy, Value, in EvaluateAsInitializer()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 1496 llvm::Type *DeclTy = getTypes().ConvertTypeForMem(VD->getType()); in GetWeakRefReference() local 1502 auto Ptr = llvm::ConstantExpr::getBitCast(Entry, DeclTy->getPointerTo(AS)); in GetWeakRefReference() 1507 if (isa<llvm::FunctionType>(DeclTy)) in GetWeakRefReference() 1508 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, in GetWeakRefReference() 1513 llvm::PointerType::getUnqual(DeclTy), in GetWeakRefReference() 2933 llvm::Type *DeclTy = getTypes().ConvertTypeForMem(D->getType()); in EmitAliasDefinition() local 2938 if (isa<llvm::FunctionType>(DeclTy)) in EmitAliasDefinition() 2939 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, GD, in EmitAliasDefinition() 2943 llvm::PointerType::getUnqual(DeclTy), in EmitAliasDefinition() 2948 DeclTy, 0, llvm::Function::ExternalLinkage, "", Aliasee, &getModule()); in EmitAliasDefinition() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExpr.cpp | 5121 QualType DeclTy; in ActOnOMPIteratorExpr() local 5126 DeclTy = Context.IntTy; in ActOnOMPIteratorExpr() 5129 DeclTy = GetTypeFromParser(D.Type, &TInfo); in ActOnOMPIteratorExpr() 5133 bool IsDeclTyDependent = DeclTy->isDependentType() || in ActOnOMPIteratorExpr() 5134 DeclTy->containsUnexpandedParameterPack() || in ActOnOMPIteratorExpr() 5135 DeclTy->isInstantiationDependentType(); in ActOnOMPIteratorExpr() 5137 if (!DeclTy->isIntegralType(Context) && !DeclTy->isAnyPointerType()) { in ActOnOMPIteratorExpr() 5141 << DeclTy; in ActOnOMPIteratorExpr() 5145 if (DeclTy.isConstant(Context)) { in ActOnOMPIteratorExpr() 5149 << DeclTy; in ActOnOMPIteratorExpr() [all …]
|
D | SemaDeclAttr.cpp | 7190 const Type *DeclTy = PDecl->getType().getCanonicalType().getTypePtr(); in handleOpenCLAccessAttr() local 7194 DeclTy->isPipeType()) { in handleOpenCLAccessAttr() 7196 << AL << PDecl->getType() << DeclTy->isImageType(); in handleOpenCLAccessAttr()
|
D | TreeTransform.h | 10429 QualType DeclTy = getDerived().TransformType(D->getType()); in TransformOMPIteratorExpr() local 10430 Data[I].Type = SemaRef.CreateParsedType(DeclTy, TSI); in TransformOMPIteratorExpr()
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 193 template<typename DeclTy> 194 void AddTemplateSpecializations(DeclTy *D) { in AddTemplateSpecializations()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 207 template<typename DeclTy> 208 void AddTemplateSpecializations(DeclTy *D) { in AddTemplateSpecializations()
|
/external/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 5329 const Type *DeclTy = PDecl->getType().getCanonicalType().getTypePtr(); in handleOpenCLAccessAttr() local 5331 if (S.getLangOpts().OpenCLVersion < 200 || DeclTy->isPipeType()) { in handleOpenCLAccessAttr() 5333 << Attr.getName() << PDecl->getType() << DeclTy->isImageType(); in handleOpenCLAccessAttr()
|