/external/clang/include/clang/AST/ |
D | GlobalDecl.h | 29 class GlobalDecl { 40 GlobalDecl() {} in GlobalDecl() function 42 GlobalDecl(const VarDecl *D) { Init(D);} in GlobalDecl() function 43 GlobalDecl(const FunctionDecl *D) { Init(D); } in GlobalDecl() function 44 GlobalDecl(const BlockDecl *D) { Init(D); } in GlobalDecl() function 45 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl() function 46 GlobalDecl(const ObjCMethodDecl *D) { Init(D); } in GlobalDecl() function 47 GlobalDecl(const OMPDeclareReductionDecl *D) { Init(D); } in GlobalDecl() function 49 GlobalDecl(const CXXConstructorDecl *D, CXXCtorType Type) in GlobalDecl() function 51 GlobalDecl(const CXXDestructorDecl *D, CXXDtorType Type) in GlobalDecl() function [all …]
|
D | VTableBuilder.h | 316 virtual const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) { in getThunkInfo() 339 typedef llvm::DenseMap<GlobalDecl, int64_t> MethodVTableIndicesTy; 380 uint64_t getMethodVTableIndex(GlobalDecl GD); 503 typedef llvm::DenseMap<GlobalDecl, MethodVFTableLocation> 542 const MethodVFTableLocation &getMethodVFTableLocation(GlobalDecl GD); 544 const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) override { in getThunkInfo()
|
/external/clang/lib/CodeGen/ |
D | CGCXX.cpp | 112 return TryEmitDefinitionAsAlias(GlobalDecl(D, Dtor_Base), in TryEmitBaseDestructorAsAlias() 113 GlobalDecl(BaseD, Dtor_Base), in TryEmitBaseDestructorAsAlias() 120 bool CodeGenModule::TryEmitDefinitionAsAlias(GlobalDecl AliasDecl, in TryEmitDefinitionAsAlias() 121 GlobalDecl TargetDecl, in TryEmitDefinitionAsAlias() 225 GlobalDecl GD; in codegenCXXStructor() 227 GD = GlobalDecl(DD, toCXXDtorType(Type)); in codegenCXXStructor() 230 GD = GlobalDecl(CD, toCXXCtorType(Type)); in codegenCXXStructor() 245 GlobalDecl GD; in getAddrOfCXXStructor() 247 GD = GlobalDecl(CD, toCXXCtorType(Type)); in getAddrOfCXXStructor() 249 GD = GlobalDecl(cast<CXXDestructorDecl>(MD), toCXXDtorType(Type)); in getAddrOfCXXStructor() [all …]
|
D | CodeGenModule.h | 308 std::map<StringRef, GlobalDecl> DeferredDecls; 313 DeferredGlobal(llvm::GlobalValue *GV, GlobalDecl GD) : GV(GV), GD(GD) {} in DeferredGlobal() 315 GlobalDecl GD; 318 void addDeferredDeclToEmit(llvm::GlobalValue *GV, GlobalDecl GD) { in addDeferredDeclToEmit() 324 std::vector<GlobalDecl> Aliases; 338 llvm::DenseSet<GlobalDecl> DiagnosedConflictingDefinitions; 358 llvm::MapVector<GlobalDecl, StringRef> MangledDeclNames; 359 llvm::StringMap<GlobalDecl, llvm::BumpPtrAllocator> Manglings; 454 bool shouldEmitFunction(GlobalDecl GD); 478 GlobalDecl initializedGlobalDecl; [all …]
|
D | CGCXXABI.h | 88 virtual bool isThisCompleteObject(GlobalDecl GD) const = 0; 105 virtual bool HasThisReturn(GlobalDecl GD) const { return false; } in HasThisReturn() 107 virtual bool hasMostDerivedReturn(GlobalDecl GD) const { return false; } in hasMostDerivedReturn() 321 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, in adjustThisArgumentForVirtualFunctionCall() 341 virtual CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) { in getVirtualFunctionPrologueThisAdjustment() 348 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) { in adjustThisParameterInVirtualFunctionPrologue() 407 GlobalDecl GD, 419 GlobalDecl GD, in adjustCallArgsForDestructorThunk() 428 GlobalDecl GD, bool ReturnAdjustment) = 0; 500 virtual bool NeedsVTTParameter(GlobalDecl GD);
|
D | CGVTables.h | 53 void emitThunk(GlobalDecl GD, const ThunkInfo &Thunk, bool ForVTable); 57 void maybeEmitThunkForVTable(GlobalDecl GD, const ThunkInfo &Thunk); 106 void EmitThunks(GlobalDecl GD);
|
D | CGVTables.cpp | 35 llvm::Constant *CodeGenModule::GetAddrOfThunk(GlobalDecl GD, in GetAddrOfThunk() 60 GlobalDecl GD) { in setThunkProperties() 146 GlobalDecl GD, const ThunkInfo &Thunk) { in GenerateVarArgsThunk() 208 void CodeGenFunction::StartThunk(llvm::Function *Fn, GlobalDecl GD, in StartThunk() 235 StartFunction(GlobalDecl(), ResultType, Fn, FnInfo, FunctionArgs, in StartThunk() 398 GlobalDecl GD, const ThunkInfo &Thunk) { in generateThunk() 410 void CodeGenVTables::emitThunk(GlobalDecl GD, const ThunkInfo &Thunk, in emitThunk() 485 void CodeGenVTables::maybeEmitThunkForVTable(GlobalDecl GD, in maybeEmitThunkForVTable() 504 void CodeGenVTables::EmitThunks(GlobalDecl GD) in EmitThunks() 565 GlobalDecl GD; in CreateVTableInitializer() [all …]
|
D | ModuleBuilder.cpp | 100 GlobalDecl Result; in GetDeclForMangledName() 114 llvm::Constant *GetAddrOfGlobal(GlobalDecl global, bool isForDefinition) { in GetAddrOfGlobal() 306 llvm::Constant *CodeGenerator::GetAddrOfGlobal(GlobalDecl global, in GetAddrOfGlobal()
|
D | CodeGenTypes.h | 202 llvm::FunctionType *GetFunctionType(GlobalDecl GD); 218 llvm::Type *GetFunctionTypeForVTable(GlobalDecl GD); 250 const CGFunctionInfo &arrangeGlobalDeclaration(GlobalDecl GD);
|
D | CodeGenModule.cpp | 283 for (const GlobalDecl &GD : Aliases) { in checkAliases() 345 for (const GlobalDecl &GD : Aliases) { in checkAliases() 642 StringRef CodeGenModule::getMangledName(GlobalDecl GD) { in getMangledName() 643 GlobalDecl CanonicalGD = GD.getCanonicalDecl(); in getMangledName() 652 CanonicalGD = GlobalDecl(CD, Ctor_Complete); in getMangledName() 683 StringRef CodeGenModule::getBlockMangledName(GlobalDecl GD, in getBlockMangledName() 754 CodeGenModule::getFunctionLinkage(GlobalDecl GD) { in getFunctionLinkage() 780 void CodeGenModule::setFunctionDLLStorageClass(GlobalDecl GD, llvm::Function *F) { in setFunctionDLLStorageClass() 1031 void CodeGenModule::SetFunctionAttributes(GlobalDecl GD, llvm::Function *F, in SetFunctionAttributes() 1277 GlobalDecl D = G.GD; in EmitDeferred() [all …]
|
D | ItaniumCXXABI.cpp | 72 bool isThisCompleteObject(GlobalDecl GD) const override { in isThisCompleteObject() 264 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD, 278 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, GlobalDecl GD, in setThunkLinkage() 330 bool NeedsVTTParameter(GlobalDecl GD) override; 407 bool HasThisReturn(GlobalDecl GD) const override { in HasThisReturn() 441 bool HasThisReturn(GlobalDecl GD) const override { in HasThisReturn() 1332 CGM.EmitGlobal(GlobalDecl(D, Ctor_Base)); in EmitCXXConstructors() 1338 CGM.EmitGlobal(GlobalDecl(D, Ctor_Complete)); in EmitCXXConstructors() 1359 CGM.EmitGlobal(GlobalDecl(D, Dtor_Base)); in EmitCXXDestructors() 1363 CGM.EmitGlobal(GlobalDecl(D, Dtor_Complete)); in EmitCXXDestructors() [all …]
|
D | MicrosoftCXXABI.cpp | 51 bool HasThisReturn(GlobalDecl GD) const override; 52 bool hasMostDerivedReturn(GlobalDecl GD) const override; 60 bool isThisCompleteObject(GlobalDecl GD) const override { in isThisCompleteObject() 235 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, 243 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) override; 287 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD, 297 void adjustCallArgsForDestructorThunk(CodeGenFunction &CGF, GlobalDecl GD, in adjustCallArgsForDestructorThunk() 358 GlobalDecl GD, bool ReturnAdjustment) override { in setThunkLinkage() 554 CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) override; 1065 bool MicrosoftCXXABI::HasThisReturn(GlobalDecl GD) const { in HasThisReturn() [all …]
|
D | CGDebugInfo.h | 37 class GlobalDecl; variable 307 void EmitFunctionStart(GlobalDecl GD, SourceLocation Loc, 312 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, QualType FnType); 513 void collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit,
|
D | CGOpenMPRuntime.h | 39 class GlobalDecl; variable 962 virtual bool emitTargetFunctions(GlobalDecl GD); 967 virtual bool emitTargetGlobalVariable(GlobalDecl GD); 972 virtual bool emitTargetGlobal(GlobalDecl GD);
|
D | CGDeclCXX.cpp | 95 GlobalDecl(Record->getDestructor(), Dtor_Complete)) || in EmitDeclDestroy() 505 StartFunction(GlobalDecl(D), getContext().VoidTy, Fn, in GenerateCXXGlobalVarDeclInitFunc() 528 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalInitFunc() 579 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalDtorsFunc()
|
D | CodeGenPGO.h | 89 void assignRegionCounters(GlobalDecl GD, llvm::Function *Fn);
|
D | CodeGenFunction.h | 159 GlobalDecl CurGD; 1083 InlinedInheritingConstructorScope(CodeGenFunction &CGF, GlobalDecl GD) in InlinedInheritingConstructorScope() 1123 GlobalDecl OldCurGD; 1339 llvm::Function *GenerateBlockFunction(GlobalDecl GD, 1376 QualType BuildFunctionArgList(GlobalDecl GD, FunctionArgList &Args); 1378 void GenerateCode(GlobalDecl GD, llvm::Function *Fn, 1383 void StartFunction(GlobalDecl GD, 1415 void StartThunk(llvm::Function *Fn, GlobalDecl GD, 1428 GlobalDecl GD, const ThunkInfo &Thunk); 1432 GlobalDecl GD, const ThunkInfo &Thunk); [all …]
|
D | CGDecl.cpp | 176 ContextName = CGM.getBlockMangledName(GlobalDecl(), BD); in getStaticDeclName() 261 GlobalDecl GD; in getOrCreateStaticVarDecl() 263 GD = GlobalDecl(CD, Ctor_Base); in getOrCreateStaticVarDecl() 265 GD = GlobalDecl(DD, Dtor_Base); in getOrCreateStaticVarDecl() 267 GD = GlobalDecl(FD); in getOrCreateStaticVarDecl()
|
D | CGOpenMPRuntime.cpp | 763 CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, FnInfo, Args); in emitCombinerOrInitializer() 1798 CtorCGF.StartFunction(GlobalDecl(), CGM.getContext().VoidPtrTy, Fn, FI, in emitThreadPrivateVarDefinition() 1830 DtorCGF.StartFunction(GlobalDecl(), CGM.getContext().VoidTy, Fn, FI, Args, in emitThreadPrivateVarDefinition() 1873 InitCGF.StartFunction(GlobalDecl(), CGM.getContext().VoidTy, InitFunction, in emitThreadPrivateVarDefinition() 2184 CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args); in emitCopyprivateCopyFunction() 2770 GlobalDecl(); in createOffloadingBinaryDescriptorFunction() 2775 CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, FI, Args, SourceLocation()); in createOffloadingBinaryDescriptorFunction() 3287 CGF.StartFunction(GlobalDecl(), KmpInt32Ty, TaskEntry, TaskEntryFnInfo, Args); in emitProxyTaskFunction() 3383 CGF.StartFunction(GlobalDecl(), KmpInt32Ty, DestructorFn, DestructorFnInfo, in emitDestructorsFunction() 3471 CGF.StartFunction(GlobalDecl(), C.VoidTy, TaskPrivatesMap, in emitTaskPrivateMappingFunction() [all …]
|
D | CGCXXABI.cpp | 315 bool CGCXXABI::NeedsVTTParameter(GlobalDecl GD) { in NeedsVTTParameter()
|
/external/clang/include/clang/CodeGen/ |
D | ModuleBuilder.h | 30 class GlobalDecl; variable 81 llvm::Constant *GetAddrOfGlobal(GlobalDecl decl, bool isForDefinition);
|
/external/clang/test/CodeGen/ |
D | dllimport.c | 26 __declspec(dllimport) int GlobalDecl; 27 USEVAR(GlobalDecl)
|
/external/clang/test/Sema/ |
D | dllimport.c | 24 __declspec(dllimport) int GlobalDecl; variable 29 int *VarForInit = &GlobalDecl; // expected-error{{initializer element is not a compile-time constan…
|
/external/clang/lib/AST/ |
D | VTableBuilder.cpp | 784 typedef llvm::DenseMap<GlobalDecl, int64_t> MethodVTableIndicesTy; 1683 MethodVTableIndices[GlobalDecl(DD, Dtor_Complete)] in LayoutPrimaryAndSecondaryVTables() 1685 MethodVTableIndices[GlobalDecl(DD, Dtor_Deleting)] in LayoutPrimaryAndSecondaryVTables() 2176 GlobalDecl GD(DD, Dtor_Complete); in dumpLayout() 2241 uint64_t ItaniumVTableContext::getMethodVTableIndex(GlobalDecl GD) { in getMethodVTableIndex() 2389 typedef llvm::DenseMap<GlobalDecl, MethodVFTableLocation> 2532 MethodVFTableLocations[GlobalDecl(DD, Dtor_Deleting)] = Loc; in LayoutVFTable() 3600 GlobalDecl GD = Loc.first; in computeVTableRelatedInformation() 3742 MicrosoftVTableContext::getMethodVFTableLocation(GlobalDecl GD) { in getMethodVFTableLocation()
|
/external/clang/test/CodeGenCXX/ |
D | dllimport.cpp | 48 __declspec(dllimport) int GlobalDecl; 49 USEVAR(GlobalDecl)
|