Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DDescriptor.h26 using DeclTy = llvm::PointerUnion<const Decl *, const Expr *>; variable
82 const DeclTy Source;
121 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, bool IsConst,
125 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, size_t NumElems,
129 Descriptor(const DeclTy &D, PrimType Type, bool IsTemporary, UnknownSize);
132 Descriptor(const DeclTy &D, Descriptor *Elem, MetadataSize MD,
136 Descriptor(const DeclTy &D, Descriptor *Elem, bool IsTemporary, UnknownSize);
139 Descriptor(const DeclTy &D, Record *R, MetadataSize MD, bool IsConst,
H A DDescriptor.cpp197 Descriptor::Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, in Descriptor()
207 Descriptor::Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, in Descriptor()
219 Descriptor::Descriptor(const DeclTy &D, PrimType Type, bool IsTemporary, in Descriptor()
228 Descriptor::Descriptor(const DeclTy &D, Descriptor *Elem, MetadataSize MD, in Descriptor()
240 Descriptor::Descriptor(const DeclTy &D, Descriptor *Elem, bool IsTemporary, in Descriptor()
250 Descriptor::Descriptor(const DeclTy &D, Record *R, MetadataSize MD, in Descriptor()
H A DProgram.h117 Descriptor *createDescriptor(const DeclTy &D, PrimType Type,
125 Descriptor *createDescriptor(const DeclTy &D, const Type *Ty,
151 std::optional<unsigned> createGlobal(const DeclTy &D, QualType Ty,
H A DByteCodeExprGen.h172 unsigned allocateLocalPrimitive(DeclTy &&Decl, PrimType Ty, bool IsMutable,
176 std::optional<unsigned> allocateLocal(DeclTy &&Decl, bool IsExtended = false);
H A DProgram.cpp182 std::optional<unsigned> Program::createGlobal(const DeclTy &D, QualType Ty, in createGlobal()
311 Descriptor *Program::createDescriptor(const DeclTy &D, const Type *Ty, in createDescriptor()
H A DByteCodeExprGen.cpp774 unsigned ByteCodeExprGen<Emitter>::allocateLocalPrimitive(DeclTy &&Src, in allocateLocalPrimitive()
799 ByteCodeExprGen<Emitter>::allocateLocal(DeclTy &&Src, bool IsExtended) { in allocateLocal()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCXExtractAPI.cpp41 template <typename DeclTy>
44 if (auto *D = dyn_cast<DeclTy>(Parent)) { in WalkupParentContext()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenModule.cpp3241 llvm::Type *DeclTy = getTypes().ConvertTypeForMem(VD->getType()); in GetWeakRefReference() local
3247 auto Ptr = llvm::ConstantExpr::getBitCast(Entry, DeclTy->getPointerTo(AS)); in GetWeakRefReference()
3248 return ConstantAddress(Ptr, DeclTy, Alignment); in GetWeakRefReference()
3252 if (isa<llvm::FunctionType>(DeclTy)) in GetWeakRefReference()
3253 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, in GetWeakRefReference()
3257 Aliasee = GetOrCreateLLVMGlobal(AA->getAliasee(), DeclTy, LangAS::Default, in GetWeakRefReference()
3264 return ConstantAddress(Aliasee, DeclTy, Alignment); in GetWeakRefReference()
3822 llvm::FunctionType *DeclTy = getTypes().GetFunctionType(FI); in emitCPUDispatchDefinition() local
3831 llvm::PointerType::get(DeclTy, in emitCPUDispatchDefinition()
3836 ResolverType = DeclTy; in emitCPUDispatchDefinition()
[all …]
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExternalASTMerger.cpp452 template <typename DeclTy>
453 static bool importSpecializations(DeclTy *D, ASTImporter *Importer) { in importSpecializations()
H A DExprConstant.cpp15396 QualType DeclTy = VD->getType(); in EvaluateAsInitializer() local
15418 return CheckConstantExpression(Info, DeclLoc, DeclTy, Value, in EvaluateAsInitializer()
/openbsd-src/gnu/llvm/clang/lib/ExtractAPI/
H A DExtractAPIVisitor.cpp46 template <class DeclTy>
47 bool isInSystemHeader(const ASTContext &Context, const DeclTy *D) { in isInSystemHeader()
/openbsd-src/gnu/llvm/clang/include/clang/Serialization/
H A DASTReader.h1130 template <typename DeclTy>
1131 using DuplicateObjCDecls = std::pair<DeclTy *, DeclTy *>;
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExpr.cpp5362 QualType DeclTy; in ActOnOMPIteratorExpr() local
5367 DeclTy = Context.IntTy; in ActOnOMPIteratorExpr()
5370 DeclTy = GetTypeFromParser(D.Type, &TInfo); in ActOnOMPIteratorExpr()
5374 bool IsDeclTyDependent = DeclTy->isDependentType() || in ActOnOMPIteratorExpr()
5375 DeclTy->containsUnexpandedParameterPack() || in ActOnOMPIteratorExpr()
5376 DeclTy->isInstantiationDependentType(); in ActOnOMPIteratorExpr()
5378 if (!DeclTy->isIntegralType(Context) && !DeclTy->isAnyPointerType()) { in ActOnOMPIteratorExpr()
5382 << DeclTy; in ActOnOMPIteratorExpr()
5386 if (DeclTy.isConstant(Context)) { in ActOnOMPIteratorExpr()
5390 << DeclTy; in ActOnOMPIteratorExpr()
[all …]
H A DSemaDeclAttr.cpp8199 const Type *DeclTy = PDecl->getType().getCanonicalType().getTypePtr(); in handleOpenCLAccessAttr() local
8206 if (ReadWriteImagesUnsupported || DeclTy->isPipeType()) { in handleOpenCLAccessAttr()
8208 << AL << PDecl->getType() << DeclTy->isImageType(); in handleOpenCLAccessAttr()
H A DTreeTransform.h11170 QualType DeclTy = getDerived().TransformType(D->getType()); in TransformOMPIteratorExpr() local
11171 Data[I].Type = SemaRef.CreateParsedType(DeclTy, TSI); in TransformOMPIteratorExpr()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTWriterDecl.cpp212 template<typename DeclTy>
213 void AddTemplateSpecializations(DeclTy *D) { in AddTemplateSpecializations()