Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenModule.cpp2810 llvm::Type *DeclTy = getTypes().ConvertTypeForMem(VD->getType()); in GetWeakRefReference() local
2816 auto Ptr = llvm::ConstantExpr::getBitCast(Entry, DeclTy->getPointerTo(AS)); in GetWeakRefReference()
2821 if (isa<llvm::FunctionType>(DeclTy)) in GetWeakRefReference()
2822 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, in GetWeakRefReference()
2826 Aliasee = GetOrCreateLLVMGlobal(AA->getAliasee(), DeclTy, 0, nullptr); in GetWeakRefReference()
3300 llvm::Type *DeclTy = getTypes().ConvertType(FD->getType()); in emitCPUDispatchDefinition() local
3304 DeclTy = getTypes().GetFunctionType(FInfo); in emitCPUDispatchDefinition()
3313 llvm::PointerType::get(DeclTy, in emitCPUDispatchDefinition()
3317 ResolverType = DeclTy; in emitCPUDispatchDefinition()
3349 MangledName, DeclTy, ExistingDecl, in emitCPUDispatchDefinition()
[all …]
H A DCodeGenModule.h1476 llvm::Type *DeclTy,
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExternalASTMerger.cpp454 template <typename DeclTy>
455 static bool importSpecializations(DeclTy *D, ASTImporter *Importer) { in importSpecializations()
H A DExprConstant.cpp14890 QualType DeclTy = VD->getType(); in EvaluateAsInitializer() local
14912 return CheckConstantExpression(Info, DeclLoc, DeclTy, Value, in EvaluateAsInitializer()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExpr.cpp5155 QualType DeclTy; in ActOnOMPIteratorExpr() local
5160 DeclTy = Context.IntTy; in ActOnOMPIteratorExpr()
5163 DeclTy = GetTypeFromParser(D.Type, &TInfo); in ActOnOMPIteratorExpr()
5167 bool IsDeclTyDependent = DeclTy->isDependentType() || in ActOnOMPIteratorExpr()
5168 DeclTy->containsUnexpandedParameterPack() || in ActOnOMPIteratorExpr()
5169 DeclTy->isInstantiationDependentType(); in ActOnOMPIteratorExpr()
5171 if (!DeclTy->isIntegralType(Context) && !DeclTy->isAnyPointerType()) { in ActOnOMPIteratorExpr()
5175 << DeclTy; in ActOnOMPIteratorExpr()
5179 if (DeclTy.isConstant(Context)) { in ActOnOMPIteratorExpr()
5183 << DeclTy; in ActOnOMPIteratorExpr()
[all …]
H A DSemaDeclAttr.cpp7374 const Type *DeclTy = PDecl->getType().getCanonicalType().getTypePtr(); in handleOpenCLAccessAttr() local
7378 DeclTy->isPipeType()) { in handleOpenCLAccessAttr()
7380 << AL << PDecl->getType() << DeclTy->isImageType(); in handleOpenCLAccessAttr()
H A DTreeTransform.h10667 QualType DeclTy = getDerived().TransformType(D->getType()); in TransformOMPIteratorExpr() local
10668 Data[I].Type = SemaRef.CreateParsedType(DeclTy, TSI); in TransformOMPIteratorExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriterDecl.cpp206 template<typename DeclTy>
207 void AddTemplateSpecializations(DeclTy *D) { in AddTemplateSpecializations()