Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A 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,
H A 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()
H A 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,
H A DByteCodeExprGen.h153 unsigned allocateLocalPrimitive(DeclTy &&Decl, PrimType Ty, bool IsMutable,
157 llvm::Optional<unsigned> allocateLocal(DeclTy &&Decl,
H A 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()
H A DByteCodeExprGen.cpp423 unsigned ByteCodeExprGen<Emitter>::allocateLocalPrimitive(DeclTy &&Src, in allocateLocalPrimitive()
437 ByteCodeExprGen<Emitter>::allocateLocal(DeclTy &&Src, bool IsExtended) { in allocateLocal()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp2851 if (isa<llvm::FunctionType>(DeclTy)) in GetWeakRefReference()
2852 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, in GetWeakRefReference()
3330 llvm::Type *DeclTy = getTypes().ConvertType(FD->getType()); in emitCPUDispatchDefinition() local
3334 DeclTy = getTypes().GetFunctionType(FInfo); in emitCPUDispatchDefinition()
3343 llvm::PointerType::get(DeclTy, in emitCPUDispatchDefinition()
3347 ResolverType = DeclTy; in emitCPUDispatchDefinition()
3379 MangledName, DeclTy, ExistingDecl, in emitCPUDispatchDefinition()
3441 GlobalDecl GD, llvm::Type *DeclTy, const FunctionDecl *FD) { in GetOrCreateMultiVersionResolver() argument
3480 ResolverName, DeclTy, GlobalDecl{}, /*ForVTable=*/false); in GetOrCreateMultiVersionResolver()
4900 if (isa<llvm::FunctionType>(DeclTy)) { in EmitAliasDefinition()
[all …]
H A DCodeGenModule.h1476 llvm::Type *DeclTy,
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExternalASTMerger.cpp454 template <typename DeclTy>
455 static bool importSpecializations(DeclTy *D, ASTImporter *Importer) { in importSpecializations()
H A DExprConstant.cpp14926 QualType DeclTy = VD->getType(); in EvaluateAsInitializer() local
14948 return CheckConstantExpression(Info, DeclLoc, DeclTy, Value, in EvaluateAsInitializer()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp5192 QualType DeclTy; in ActOnOMPIteratorExpr() local
5197 DeclTy = Context.IntTy; in ActOnOMPIteratorExpr()
5200 DeclTy = GetTypeFromParser(D.Type, &TInfo); in ActOnOMPIteratorExpr()
5204 bool IsDeclTyDependent = DeclTy->isDependentType() || in ActOnOMPIteratorExpr()
5206 DeclTy->isInstantiationDependentType(); in ActOnOMPIteratorExpr()
5208 if (!DeclTy->isIntegralType(Context) && !DeclTy->isAnyPointerType()) { in ActOnOMPIteratorExpr()
5212 << DeclTy; in ActOnOMPIteratorExpr()
5216 if (DeclTy.isConstant(Context)) { in ActOnOMPIteratorExpr()
5220 << DeclTy; in ActOnOMPIteratorExpr()
5231 D.DeclIdent, DeclTy, TInfo, SC_None); in ActOnOMPIteratorExpr()
[all …]
H A DSemaDeclAttr.cpp7491 const Type *DeclTy = PDecl->getType().getCanonicalType().getTypePtr(); in handleOpenCLAccessAttr() local
7500 DeclTy->isPipeType()) { in handleOpenCLAccessAttr()
7502 << AL << PDecl->getType() << DeclTy->isImageType(); in handleOpenCLAccessAttr()
H A DTreeTransform.h10741 QualType DeclTy = getDerived().TransformType(D->getType()); in TransformOMPIteratorExpr() local
10742 Data[I].Type = SemaRef.CreateParsedType(DeclTy, TSI); in TransformOMPIteratorExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp208 template<typename DeclTy>
209 void AddTemplateSpecializations(DeclTy *D) { in AddTemplateSpecializations()