Home
last modified time | relevance | path

Searched refs:DeclTy (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/clang/unittests/AST/
DASTImporterGenericRedeclTest.cpp21 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 …]
DASTImporterODRStrategiesTest.cpp32 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 …]
DASTImporterVisibilityTest.cpp27 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/
DDescriptor.h26 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,
DDescriptor.cpp188 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()
DProgram.h101 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,
DByteCodeExprGen.h153 unsigned allocateLocalPrimitive(DeclTy &&Decl, PrimType Ty, bool IsMutable,
157 llvm::Optional<unsigned> allocateLocal(DeclTy &&Decl,
DProgram.cpp162 llvm::Optional<unsigned> Program::createGlobal(const DeclTy &D, QualType Ty, in createGlobal()
296 Descriptor *Program::createDescriptor(const DeclTy &D, const Type *Ty, in createDescriptor()
DByteCodeExprGen.cpp423 unsigned ByteCodeExprGen<Emitter>::allocateLocalPrimitive(DeclTy &&Src, in allocateLocalPrimitive()
437 ByteCodeExprGen<Emitter>::allocateLocal(DeclTy &&Src, bool IsExtended) { in allocateLocal()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenModule.cpp2673 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 …]
DCodeGenModule.h1427 llvm::Type *DeclTy,
/external/llvm-project/clang/lib/AST/
DExternalASTMerger.cpp454 template <typename DeclTy>
455 static bool importSpecializations(DeclTy *D, ASTImporter *Importer) { in importSpecializations()
DExprConstant.cpp14878 QualType DeclTy = VD->getType(); in EvaluateAsInitializer() local
14900 return CheckConstantExpression(Info, DeclLoc, DeclTy, Value, in EvaluateAsInitializer()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp1496 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/
DSemaExpr.cpp5121 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 …]
DSemaDeclAttr.cpp7190 const Type *DeclTy = PDecl->getType().getCanonicalType().getTypePtr(); in handleOpenCLAccessAttr() local
7194 DeclTy->isPipeType()) { in handleOpenCLAccessAttr()
7196 << AL << PDecl->getType() << DeclTy->isImageType(); in handleOpenCLAccessAttr()
DTreeTransform.h10429 QualType DeclTy = getDerived().TransformType(D->getType()); in TransformOMPIteratorExpr() local
10430 Data[I].Type = SemaRef.CreateParsedType(DeclTy, TSI); in TransformOMPIteratorExpr()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp193 template<typename DeclTy>
194 void AddTemplateSpecializations(DeclTy *D) { in AddTemplateSpecializations()
/external/llvm-project/clang/lib/Serialization/
DASTWriterDecl.cpp207 template<typename DeclTy>
208 void AddTemplateSpecializations(DeclTy *D) { in AddTemplateSpecializations()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp5329 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()