Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DDescriptor.h28 using DeclTy = llvm::PointerUnion<const Decl *, const Expr *>; variable
110 const DeclTy Source;
161 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, bool IsConst,
165 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, size_t NumElems,
169 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MDSize,
173 Descriptor(const DeclTy &D, const Descriptor *Elem, MetadataSize MD,
177 Descriptor(const DeclTy &D, const Descriptor *Elem, MetadataSize MD,
181 Descriptor(const DeclTy &D, const Record *R, MetadataSize MD, bool IsConst,
185 Descriptor(const DeclTy &D);
196 const DeclTy &getSource() const { return Source; } in getSource()
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.cpp286 Descriptor::Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, in Descriptor()
298 Descriptor::Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, in Descriptor()
312 Descriptor::Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, in Descriptor()
324 Descriptor::Descriptor(const DeclTy &D, const Descriptor *Elem, MetadataSize MD, in Descriptor()
337 Descriptor::Descriptor(const DeclTy &D, const Descriptor *Elem, MetadataSize MD, in Descriptor()
348 Descriptor::Descriptor(const DeclTy &D, const Record *R, MetadataSize MD, in Descriptor()
359 Descriptor::Descriptor(const DeclTy &D) in Descriptor()
H A DProgram.h118 Descriptor *createDescriptor(const DeclTy &D, PrimType Type,
126 Descriptor *createDescriptor(const DeclTy &D, const Type *Ty,
154 std::optional<unsigned> createGlobal(const DeclTy &D, QualType Ty,
H A DProgram.cpp215 std::optional<unsigned> Program::createGlobal(const DeclTy &D, QualType Ty, in createGlobal()
363 Descriptor *Program::createDescriptor(const DeclTy &D, const Type *Ty, in createDescriptor()
H A DPointer.h279 DeclTy getSource() const { in getSource()
284 return asIntPointer().Desc ? asIntPointer().Desc->getSource() : DeclTy(); in getSource()
H A DCompiler.h289 unsigned allocateLocalPrimitive(DeclTy &&Decl, PrimType Ty, bool IsConst,
294 allocateLocal(DeclTy &&Decl, const ValueDecl *ExtendingDecl = nullptr);
H A DCompiler.cpp3462 unsigned Compiler<Emitter>::allocateLocalPrimitive(DeclTy &&Src, PrimType Ty, in allocateLocalPrimitive()
3487 Compiler<Emitter>::allocateLocal(DeclTy &&Src, const ValueDecl *ExtendingDecl) { in allocateLocal()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenCL.cpp60 const Type *DeclTy = PDecl->getType().getCanonicalType().getTypePtr(); in handleAccessAttr() local
67 if (ReadWriteImagesUnsupported || DeclTy->isPipeType()) { in handleAccessAttr()
69 << AL << PDecl->getType() << DeclTy->isImageType(); in handleAccessAttr()
H A DSemaOpenMP.cpp23518 QualType DeclTy; in ActOnOMPIteratorExpr() local
23523 DeclTy = Context.IntTy; in ActOnOMPIteratorExpr()
23526 DeclTy = Sema::GetTypeFromParser(D.Type, &TInfo); in ActOnOMPIteratorExpr()
23530 bool IsDeclTyDependent = DeclTy->isDependentType() || in ActOnOMPIteratorExpr()
23531 DeclTy->containsUnexpandedParameterPack() || in ActOnOMPIteratorExpr()
23532 DeclTy->isInstantiationDependentType(); in ActOnOMPIteratorExpr()
23534 if (!DeclTy->isIntegralType(Context) && !DeclTy->isAnyPointerType()) { in ActOnOMPIteratorExpr()
23538 << DeclTy; in ActOnOMPIteratorExpr()
23542 if (DeclTy.isConstant(Context)) { in ActOnOMPIteratorExpr()
23546 << DeclTy; in ActOnOMPIteratorExpr()
[all …]
H A DTreeTransform.h12239 QualType DeclTy = getDerived().TransformType(D->getType()); in TransformOMPIteratorExpr() local
12240 Data[I].Type = SemaRef.CreateParsedType(DeclTy, TSI); in TransformOMPIteratorExpr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp3684 llvm::Type *DeclTy = getTypes().ConvertTypeForMem(VD->getType()); in GetWeakRefReference() local
3689 return ConstantAddress(Entry, DeclTy, Alignment); in GetWeakRefReference()
3692 if (isa<llvm::FunctionType>(DeclTy)) in GetWeakRefReference()
3693 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, in GetWeakRefReference()
3697 Aliasee = GetOrCreateLLVMGlobal(AA->getAliasee(), DeclTy, LangAS::Default, in GetWeakRefReference()
3704 return ConstantAddress(Aliasee, DeclTy, Alignment); in GetWeakRefReference()
4282 llvm::FunctionType *DeclTy = getTypes().GetFunctionType(FI); in emitMultiVersionFunctions() local
4287 DeclTy, 0, getMultiversionLinkage(*this, GD), in emitMultiVersionFunctions()
4339 llvm::FunctionType *DeclTy = getTypes().GetFunctionType(FI); in emitCPUDispatchDefinition() local
4348 llvm::PointerType::get(DeclTy, in emitCPUDispatchDefinition()
[all …]
/freebsd/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 DASTImporter.cpp447 template <typename DeclTy>
448 Error ImportTemplateParameterLists(const DeclTy *FromD, DeclTy *ToD);
3335 template <typename DeclTy>
3336 Error ASTNodeImporter::ImportTemplateParameterLists(const DeclTy *FromD, in ImportTemplateParameterLists()
3337 DeclTy *ToD) { in ImportTemplateParameterLists()
H A DExprConstant.cpp16180 QualType DeclTy = VD->getType(); in EvaluateAsInitializer() local
16187 return CheckConstantExpression(Info, DeclLoc, DeclTy, Value, in EvaluateAsInitializer()
16218 return CheckConstantExpression(Info, DeclLoc, DeclTy, Value, in EvaluateAsInitializer()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h1147 template <typename DeclTy>
1148 using DuplicateObjCDecls = std::pair<DeclTy *, DeclTy *>;
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp213 template<typename DeclTy>
214 void AddTemplateSpecializations(DeclTy *D) { in AddTemplateSpecializations()