Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DDescriptor.h27 using DeclTy = llvm::PointerUnion<const Decl *, const Expr *>; variable
82 const DeclTy Source;
123 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, bool IsConst,
127 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, size_t NumElems,
131 Descriptor(const DeclTy &D, PrimType Type, bool IsTemporary, UnknownSize);
134 Descriptor(const DeclTy &D, const Descriptor *Elem, MetadataSize MD,
138 Descriptor(const DeclTy &D, const Descriptor *Elem, bool IsTemporary,
142 Descriptor(const DeclTy &D, const Record *R, MetadataSize MD, bool IsConst,
145 Descriptor(const DeclTy &D, MetadataSize MD);
H A DEvaluationResult.h42 using DeclTy = llvm::PointerUnion<const Decl *, const Expr *>; variable
48 DeclTy Source = nullptr; // Currently only needed for dump().
56 void setSource(DeclTy D) { Source = D; } in setSource()
H A DDescriptor.cpp230 Descriptor::Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, in Descriptor()
241 Descriptor::Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, in Descriptor()
254 Descriptor::Descriptor(const DeclTy &D, PrimType Type, bool IsTemporary, in Descriptor()
265 Descriptor::Descriptor(const DeclTy &D, const Descriptor *Elem, MetadataSize MD, in Descriptor()
278 Descriptor::Descriptor(const DeclTy &D, const Descriptor *Elem, in Descriptor()
289 Descriptor::Descriptor(const DeclTy &D, const Record *R, MetadataSize MD, in Descriptor()
299 Descriptor::Descriptor(const DeclTy &D, MetadataSize MD) in Descriptor()
H A DProgram.h117 Descriptor *createDescriptor(const DeclTy &D, PrimType Type,
125 Descriptor *createDescriptor(const DeclTy &D, const Type *Ty,
153 std::optional<unsigned> createGlobal(const DeclTy &D, QualType Ty,
H A DProgram.cpp186 std::optional<unsigned> Program::createGlobal(const DeclTy &D, QualType Ty, in createGlobal()
313 Descriptor *Program::createDescriptor(const DeclTy &D, const Type *Ty, in createDescriptor()
H A DByteCodeExprGen.h212 unsigned allocateLocalPrimitive(DeclTy &&Decl, PrimType Ty, bool IsConst,
216 std::optional<unsigned> allocateLocal(DeclTy &&Decl, bool IsExtended = false);
H A DByteCodeExprGen.cpp2236 unsigned ByteCodeExprGen<Emitter>::allocateLocalPrimitive(DeclTy &&Src, in allocateLocalPrimitive()
2261 ByteCodeExprGen<Emitter>::allocateLocal(DeclTy &&Src, bool IsExtended) { in allocateLocal()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp3652 return ConstantAddress(Entry, DeclTy, Alignment); in GetWeakRefReference()
3655 if (isa<llvm::FunctionType>(DeclTy)) in GetWeakRefReference()
3667 return ConstantAddress(Aliasee, DeclTy, Alignment); in GetWeakRefReference()
4244 DeclTy, 0, getMultiversionLinkage(*this, GD), in emitMultiVersionFunctions()
4287 llvm::FunctionType *DeclTy = getTypes().GetFunctionType(FI); in emitCPUDispatchDefinition() local
4296 llvm::PointerType::get(DeclTy, in emitCPUDispatchDefinition()
4301 ResolverType = DeclTy; in emitCPUDispatchDefinition()
4333 MangledName, DeclTy, ExistingDecl, in emitCPUDispatchDefinition()
4427 llvm::FunctionType *DeclTy = getTypes().GetFunctionType(FI); in GetOrCreateMultiVersionResolver() local
4438 llvm::PointerType::get(DeclTy, in GetOrCreateMultiVersionResolver()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExternalASTMerger.cpp449 template <typename DeclTy>
450 static bool importSpecializations(DeclTy *D, ASTImporter *Importer) { in importSpecializations()
H A DExprConstant.cpp15764 QualType DeclTy = VD->getType(); in EvaluateAsInitializer() local
15771 return CheckConstantExpression(Info, DeclLoc, DeclTy, Value, in EvaluateAsInitializer()
15802 return CheckConstantExpression(Info, DeclLoc, DeclTy, Value, in EvaluateAsInitializer()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h1149 template <typename DeclTy>
1150 using DuplicateObjCDecls = std::pair<DeclTy *, DeclTy *>;
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp5611 QualType DeclTy; in ActOnOMPIteratorExpr() local
5616 DeclTy = Context.IntTy; in ActOnOMPIteratorExpr()
5619 DeclTy = GetTypeFromParser(D.Type, &TInfo); in ActOnOMPIteratorExpr()
5623 bool IsDeclTyDependent = DeclTy->isDependentType() || in ActOnOMPIteratorExpr()
5625 DeclTy->isInstantiationDependentType(); in ActOnOMPIteratorExpr()
5627 if (!DeclTy->isIntegralType(Context) && !DeclTy->isAnyPointerType()) { in ActOnOMPIteratorExpr()
5631 << DeclTy; in ActOnOMPIteratorExpr()
5635 if (DeclTy.isConstant(Context)) { in ActOnOMPIteratorExpr()
5639 << DeclTy; in ActOnOMPIteratorExpr()
5650 D.DeclIdent, DeclTy, TInfo, SC_None); in ActOnOMPIteratorExpr()
[all …]
H A DSemaDeclAttr.cpp8432 const Type *DeclTy = PDecl->getType().getCanonicalType().getTypePtr(); in handleOpenCLAccessAttr() local
8439 if (ReadWriteImagesUnsupported || DeclTy->isPipeType()) { in handleOpenCLAccessAttr()
8441 << AL << PDecl->getType() << DeclTy->isImageType(); in handleOpenCLAccessAttr()
H A DTreeTransform.h11387 QualType DeclTy = getDerived().TransformType(D->getType()); in TransformOMPIteratorExpr() local
11388 Data[I].Type = SemaRef.CreateParsedType(DeclTy, TSI); in TransformOMPIteratorExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp210 template<typename DeclTy>
211 void AddTemplateSpecializations(DeclTy *D) { in AddTemplateSpecializations()