Lines Matching refs:llvm

28 namespace llvm {
54 llvm::DIBuilder DBuilder;
55 llvm::DICompileUnit TheCU;
57 llvm::DIType VTablePtrType;
58 llvm::DIType ClassTy;
59 llvm::MDCompositeType *ObjTy = nullptr;
60 llvm::DIType SelTy;
61 llvm::DIType OCLImage1dDITy, OCLImage1dArrayDITy, OCLImage1dBufferDITy;
62 llvm::DIType OCLImage2dDITy, OCLImage2dArrayDITy;
63 llvm::DIType OCLImage3dDITy;
64 llvm::DIType OCLEventDITy;
65 llvm::DIType BlockLiteralGeneric;
68 llvm::DenseMap<const void *, llvm::TrackingMDRef> TypeCache;
72 llvm::DIType Decl;
73 llvm::DIFile Unit;
74 ObjCInterfaceCacheEntry(const ObjCInterfaceType *Type, llvm::DIType Decl, in ObjCInterfaceCacheEntry()
75 llvm::DIFile Unit) in ObjCInterfaceCacheEntry()
81 llvm::SmallVector<ObjCInterfaceCacheEntry, 32> ObjCInterfaceCache;
88 std::vector<std::pair<const TagType *, llvm::TrackingMDRef>> ReplaceMap;
92 std::vector<std::pair<const DeclaratorDecl *, llvm::TrackingMDRef>>
96 std::vector<llvm::TrackingMDNodeRef> LexicalBlockStack;
97 llvm::DenseMap<const Decl *, llvm::TrackingMDRef> RegionMap;
105 llvm::BumpPtrAllocator DebugInfoNames;
108 llvm::DenseMap<const char *, llvm::TrackingMDRef> DIFileCache;
109 llvm::DenseMap<const FunctionDecl *, llvm::TrackingMDRef> SPCache;
112 llvm::DenseMap<const Decl *, llvm::TrackingMDRef> DeclCache;
113 llvm::DenseMap<const NamespaceDecl *, llvm::TrackingMDRef> NameSpaceCache;
114 llvm::DenseMap<const NamespaceAliasDecl *, llvm::TrackingMDRef>
116 llvm::DenseMap<const Decl *, llvm::TrackingMDRef> StaticDataMemberCache;
120 llvm::DIType CreateType(const BuiltinType *Ty);
121 llvm::DIType CreateType(const ComplexType *Ty);
122 llvm::DIType CreateQualifiedType(QualType Ty, llvm::DIFile Fg);
123 llvm::DIType CreateType(const TypedefType *Ty, llvm::DIFile Fg);
124 llvm::DIType CreateType(const TemplateSpecializationType *Ty, llvm::DIFile Fg);
125 llvm::DIType CreateType(const ObjCObjectPointerType *Ty,
126 llvm::DIFile F);
127 llvm::DIType CreateType(const PointerType *Ty, llvm::DIFile F);
128 llvm::DIType CreateType(const BlockPointerType *Ty, llvm::DIFile F);
129 llvm::DIType CreateType(const FunctionType *Ty, llvm::DIFile F);
130 llvm::DIType CreateType(const RecordType *Tyg);
131 llvm::DIType CreateTypeDefinition(const RecordType *Ty);
132 llvm::MDCompositeType *CreateLimitedType(const RecordType *Ty);
134 llvm::MDCompositeType *CT);
135 llvm::DIType CreateType(const ObjCInterfaceType *Ty, llvm::DIFile F);
136 llvm::DIType CreateTypeDefinition(const ObjCInterfaceType *Ty, llvm::DIFile F);
137 llvm::DIType CreateType(const ObjCObjectType *Ty, llvm::DIFile F);
138 llvm::DIType CreateType(const VectorType *Ty, llvm::DIFile F);
139 llvm::DIType CreateType(const ArrayType *Ty, llvm::DIFile F);
140 llvm::DIType CreateType(const LValueReferenceType *Ty, llvm::DIFile F);
141 llvm::DIType CreateType(const RValueReferenceType *Ty, llvm::DIFile Unit);
142 llvm::DIType CreateType(const MemberPointerType *Ty, llvm::DIFile F);
143 llvm::DIType CreateType(const AtomicType *Ty, llvm::DIFile F);
144 llvm::DIType CreateEnumType(const EnumType *Ty);
145 llvm::DIType CreateTypeDefinition(const EnumType *Ty);
146 llvm::DIType CreateSelfType(const QualType &QualTy, llvm::DIType Ty);
147 llvm::DIType getTypeOrNull(const QualType);
148 llvm::MDSubroutineType *getOrCreateMethodType(const CXXMethodDecl *Method,
149 llvm::DIFile F);
150 llvm::MDSubroutineType *
152 llvm::DIFile Unit);
153 llvm::MDSubroutineType *
154 getOrCreateFunctionType(const Decl *D, QualType FnType, llvm::DIFile F);
155 llvm::DIType getOrCreateVTablePtrType(llvm::DIFile F);
156 llvm::DINameSpace getOrCreateNameSpace(const NamespaceDecl *N);
157 llvm::DIType getOrCreateTypeDeclaration(QualType PointeeTy, llvm::DIFile F);
158 llvm::DIType CreatePointerLikeType(llvm::dwarf::Tag Tag,
160 llvm::DIFile F);
162 llvm::Value *getCachedInterfaceTypeOrNull(const QualType Ty);
163 llvm::DIType getOrCreateStructPtrType(StringRef Name, llvm::DIType &Cache);
165 llvm::DISubprogram CreateCXXMemberFunction(const CXXMethodDecl *Method,
166 llvm::DIFile F,
167 llvm::DIType RecordTy);
169 void CollectCXXMemberFunctions(const CXXRecordDecl *Decl, llvm::DIFile F,
170 SmallVectorImpl<llvm::Metadata *> &E,
171 llvm::DIType T);
173 void CollectCXXBases(const CXXRecordDecl *Decl, llvm::DIFile F,
174 SmallVectorImpl<llvm::Metadata *> &EltTys,
175 llvm::DIType RecordTy);
177 llvm::DIArray
180 llvm::DIFile Unit);
181 llvm::DIArray
182 CollectFunctionTemplateParams(const FunctionDecl *FD, llvm::DIFile Unit);
183 llvm::DIArray
185 llvm::DIFile F);
187 llvm::DIType createFieldType(StringRef name, QualType type,
191 llvm::DIFile tunit,
192 llvm::DIScope scope,
197 SmallVectorImpl<llvm::Metadata *> &E,
198 llvm::DIType RecordTy);
199 llvm::DIDerivedType CreateRecordStaticField(const VarDecl *Var,
200 llvm::DIType RecordTy,
203 llvm::DIFile F,
204 SmallVectorImpl<llvm::Metadata *> &E,
205 llvm::DIType RecordTy, const RecordDecl *RD);
206 void CollectRecordFields(const RecordDecl *Decl, llvm::DIFile F,
207 SmallVectorImpl<llvm::Metadata *> &E,
208 llvm::DICompositeType RecordTy);
210 void CollectVTableInfo(const CXXRecordDecl *Decl, llvm::DIFile F,
211 SmallVectorImpl<llvm::Metadata *> &EltTys);
237 QualType FnType, llvm::Function *Fn,
253 void EmitDeclareOfAutoVariable(const VarDecl *Decl, llvm::Value *AI,
259 llvm::Value *storage,
262 llvm::Instruction *InsertPoint = 0);
266 void EmitDeclareOfArgVariable(const VarDecl *Decl, llvm::Value *AI,
273 llvm::Value *Arg, unsigned ArgNo,
274 llvm::Value *LocalAddr,
278 void EmitGlobalVariable(llvm::GlobalVariable *GV, const VarDecl *Decl);
281 void EmitGlobalVariable(const ValueDecl *VD, llvm::Constant *Init);
293 llvm::DIImportedEntity EmitNamespaceAlias(const NamespaceAliasDecl &NA);
296 llvm::DIType getOrCreateRecordType(QualType Ty, SourceLocation L);
300 llvm::DIType getOrCreateInterfaceType(QualType Ty,
314 void EmitDeclare(const VarDecl *decl, llvm::dwarf::Tag Tag, llvm::Value *AI,
319 llvm::DIType EmitTypeForVarWithBlocksAttr(const VarDecl *VD,
323 llvm::DIScope getContextDescriptor(const Decl *Decl);
325 llvm::DIScope getCurrentContextDescriptor(const Decl *Decl);
328 llvm::MDCompositeType *getOrCreateRecordFwdDecl(const RecordType *,
329 llvm::MDScope *);
332 llvm::DIDescriptor createContextChain(const Decl *Decl);
342 llvm::DIFile getOrCreateFile(SourceLocation Loc);
345 llvm::DIFile getOrCreateMainFile();
349 llvm::DIType getOrCreateType(QualType Ty, llvm::DIFile Fg);
353 llvm::DIType getOrCreateLimitedType(const RecordType *Ty, llvm::DIFile F);
356 llvm::DIType CreateTypeNode(QualType Ty, llvm::DIFile Fg);
363 llvm::DIType CreateMemberType(llvm::DIFile Unit, QualType FType,
368 llvm::DebugNode *getDeclarationOrDefinition(const Decl *D);
372 llvm::DISubprogram getFunctionDeclaration(const Decl *D);
376 llvm::DIDerivedType
381 llvm::DISubprogram getFunctionForwardDeclaration(const FunctionDecl *FD);
385 llvm::DIGlobalVariable getGlobalVariableForwardDeclaration(const VarDecl *VD);
389 llvm::DIGlobalVariable
390 CollectAnonRecordDecls(const RecordDecl *RD, llvm::DIFile Unit,
392 llvm::GlobalVariable *Var, llvm::MDScope *DContext);
424 void collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile Unit,
426 llvm::MDScope *&FDContext,
427 llvm::DIArray &TParamsArray, unsigned &Flags);
430 void collectVarDeclProps(const VarDecl *VD, llvm::DIFile &Unit,
432 StringRef &LinkageName, llvm::MDScope *&VDContext);
453 llvm::DebugLoc OriginalLocation;
460 ApplyDebugLocation(CodeGenFunction &CGF, llvm::DebugLoc Loc);