/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/llvm-project/clang/include/clang/AST/ |
D | GlobalDecl.h | 55 class GlobalDecl { 68 GlobalDecl() = default; 69 GlobalDecl(const VarDecl *D) { Init(D);} in GlobalDecl() function 70 GlobalDecl(const FunctionDecl *D, unsigned MVIndex = 0) 78 GlobalDecl(const FunctionDecl *D, KernelReferenceKind Kind) in GlobalDecl() function 82 GlobalDecl(const NamedDecl *D) { Init(D); } in GlobalDecl() function 83 GlobalDecl(const BlockDecl *D) { Init(D); } in GlobalDecl() function 84 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl() function 85 GlobalDecl(const ObjCMethodDecl *D) { Init(D); } in GlobalDecl() function 86 GlobalDecl(const OMPDeclareReductionDecl *D) { Init(D); } in GlobalDecl() function [all …]
|
D | VTableBuilder.h | 152 GlobalDecl getGlobalDecl() const { in getGlobalDecl() 159 return GlobalDecl(getFunctionDecl()); in getGlobalDecl() 161 return GlobalDecl(DtorDecl, CXXDtorType::Dtor_Complete); in getGlobalDecl() 163 return GlobalDecl(DtorDecl, CXXDtorType::Dtor_Deleting); in getGlobalDecl() 341 virtual const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) { in getThunkInfo() 367 typedef llvm::DenseMap<GlobalDecl, int64_t> MethodVTableIndicesTy; 417 uint64_t getMethodVTableIndex(GlobalDecl GD); 549 typedef llvm::DenseMap<GlobalDecl, MethodVFTableLocation> 590 MethodVFTableLocation getMethodVFTableLocation(GlobalDecl GD); 592 const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) override { in getThunkInfo()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenModule.h | 344 std::map<StringRef, GlobalDecl> DeferredDecls; 348 std::vector<GlobalDecl> DeferredDeclsToEmit; 349 void addDeferredDeclToEmit(GlobalDecl GD) { in addDeferredDeclToEmit() 355 std::vector<GlobalDecl> Aliases; 359 std::vector<GlobalDecl> MultiVersionFuncs; 377 llvm::DenseSet<GlobalDecl> DiagnosedConflictingDefinitions; 400 llvm::MapVector<GlobalDecl, StringRef> MangledDeclNames; 401 llvm::StringMap<GlobalDecl, llvm::BumpPtrAllocator> Manglings; 405 llvm::MapVector<std::pair<GlobalDecl, unsigned>, StringRef> 407 llvm::StringMap<std::pair<GlobalDecl, unsigned>, llvm::BumpPtrAllocator> [all …]
|
D | CGCXX.cpp | 112 GlobalDecl AliasDecl(D, Dtor_Base); in TryEmitBaseDestructorAsAlias() 113 GlobalDecl TargetDecl(BaseD, Dtor_Base); in TryEmitBaseDestructorAsAlias() 207 llvm::Function *CodeGenModule::codegenCXXStructor(GlobalDecl GD) { in codegenCXXStructor() 222 GlobalDecl GD, const CGFunctionInfo *FnInfo, llvm::FunctionType *FnType, in getAddrAndTypeOfCXXStructor() 248 GlobalDecl GD, in BuildAppleKextVirtualCall() 304 GlobalDecl(DD, Dtor_Complete)); in BuildAppleKextVirtualDestructorCall() 306 return ::BuildAppleKextVirtualCall(*this, GlobalDecl(DD, Type), Ty, RD); in BuildAppleKextVirtualDestructorCall()
|
D | CGCXXABI.h | 90 virtual bool isThisCompleteObject(GlobalDecl GD) const = 0; 107 virtual bool HasThisReturn(GlobalDecl GD) const { return false; } in HasThisReturn() 109 virtual bool hasMostDerivedReturn(GlobalDecl GD) const { return false; } in hasMostDerivedReturn() 325 buildStructorSignature(GlobalDecl GD, 358 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, in adjustThisArgumentForVirtualFunctionCall() 378 virtual CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) { in getVirtualFunctionPrologueThisAdjustment() 449 GlobalDecl GD, Address This, 464 GlobalDecl GD, in adjustCallArgsForDestructorThunk() 474 GlobalDecl GD, bool ReturnAdjustment) = 0; 546 virtual bool NeedsVTTParameter(GlobalDecl GD); [all …]
|
D | CGCall.h | 49 GlobalDecl CalleeDecl; 53 CGCalleeInfo(const FunctionProtoType *calleeProtoTy, GlobalDecl calleeDecl) in CGCalleeInfo() 57 CGCalleeInfo(GlobalDecl calleeDecl) in CGCalleeInfo() 63 const GlobalDecl getCalleeDecl() const { return CalleeDecl; } in getCalleeDecl() 86 GlobalDecl MD; 144 static CGCallee forVirtual(const CallExpr *CE, GlobalDecl MD, Address Addr, in forVirtual() 199 GlobalDecl getVirtualMethodDecl() const { in getVirtualMethodDecl()
|
D | CodeGenTypes.h | 48 class GlobalDecl; variable 142 llvm::FunctionType *GetFunctionType(GlobalDecl GD); 158 llvm::Type *GetFunctionTypeForVTable(GlobalDecl GD); 190 const CGFunctionInfo &arrangeGlobalDeclaration(GlobalDecl GD); 240 const CGFunctionInfo &arrangeCXXStructorDeclaration(GlobalDecl GD);
|
D | CGDebugInfo.h | 40 class GlobalDecl; variable 416 void EmitFunctionStart(GlobalDecl GD, SourceLocation Loc, 422 void EmitInlineFunctionStart(CGBuilderTy &Builder, GlobalDecl GD); 428 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, 643 llvm::DISubprogram *getFunctionFwdDeclOrStub(GlobalDecl GD, bool Stub); 647 llvm::DISubprogram *getFunctionForwardDeclaration(GlobalDecl GD); 651 llvm::DISubprogram *getFunctionStub(GlobalDecl GD); 714 void collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit, 805 ApplyInlineDebugLocation(CodeGenFunction &CGF, GlobalDecl InlinedFn);
|
D | CodeGenModule.cpp | 312 for (const GlobalDecl &GD : Aliases) { in checkAliases() 372 for (const GlobalDecl &GD : Aliases) { in checkAliases() 995 GlobalDecl GD) const { in setDLLImportDLLExport() 1016 GlobalDecl GD) const { in setGVProperties() 1121 static std::string getMangledNameImpl(const CodeGenModule &CGM, GlobalDecl GD, in getMangledNameImpl() 1165 void CodeGenModule::UpdateMultiVersionNames(GlobalDecl GD, in UpdateMultiVersionNames() 1175 GlobalDecl OtherGD; in UpdateMultiVersionNames() 1205 StringRef CodeGenModule::getMangledName(GlobalDecl GD) { in getMangledName() 1206 GlobalDecl CanonicalGD = GD.getCanonicalDecl(); in getMangledName() 1215 CanonicalGD = GlobalDecl(CD, Ctor_Complete); in getMangledName() [all …]
|
D | CGVTables.h | 60 llvm::Constant *maybeEmitThunk(GlobalDecl GD, 136 void EmitThunks(GlobalDecl GD);
|
D | CGVTables.cpp | 35 GlobalDecl GD) { in GetAddrOfThunk() 42 GlobalDecl GD) { in setThunkProperties() 159 GlobalDecl GD, const ThunkInfo &Thunk) { in GenerateVarArgsThunk() 236 void CodeGenFunction::StartThunk(llvm::Function *Fn, GlobalDecl GD, in StartThunk() 271 StartFunction(GlobalDecl(), ResultType, Fn, FnInfo, FunctionArgs, in StartThunk() 392 void CodeGenFunction::EmitMustTailThunk(GlobalDecl GD, in EmitMustTailThunk() 447 const CGFunctionInfo &FnInfo, GlobalDecl GD, in generateThunk() 491 llvm::Constant *CodeGenVTables::maybeEmitThunk(GlobalDecl GD, in maybeEmitThunk() 604 void CodeGenVTables::EmitThunks(GlobalDecl GD) { in EmitThunks() 730 GlobalDecl GD; in addVTableComponent() [all …]
|
D | CGDeclCXX.cpp | 110 GlobalDecl(Record->getDestructor(), Dtor_Complete)) || in EmitDeclDestroy() 120 Func = CGM.getAddrAndTypeOfCXXStructor(GlobalDecl(Dtor, Dtor_Complete)); in EmitDeclDestroy() 247 CGF.StartFunction(GlobalDecl(&VD, DynamicInitKind::AtExit), in createAtExitStub() 383 SetInternalFunctionAttributes(GlobalDecl(), Fn, FI); in CreateGlobalInitOrCleanUpFunction() 679 StartFunction(GlobalDecl(D, DynamicInitKind::Initializer), in GenerateCXXGlobalVarDeclInitFunc() 709 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalInitFunc() 768 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalCleanUpFunc() 817 StartFunction(GlobalDecl(VD, DynamicInitKind::GlobalArrayDestructor), in generateDestroyHelper()
|
/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 …]
|
/external/llvm-project/clang/lib/AST/ |
D | Mangle.cpp | 135 void MangleContext::mangleName(GlobalDecl GD, raw_ostream &Out) { in mangleName() 258 mangleName(GlobalDecl(CD, CT), Out); in mangleCtorBlock() 267 mangleName(GlobalDecl(DD, DT), Out); in mangleDtorBlock() 507 GlobalDecl GD; in writeFuncOrVarName() 509 GD = GlobalDecl(CtorD, Ctor_Complete); in writeFuncOrVarName() 511 GD = GlobalDecl(DtorD, Dtor_Complete); in writeFuncOrVarName() 513 GD = GlobalDecl(cast<FunctionDecl>(D)); in writeFuncOrVarName() 515 GD = GlobalDecl(D); in writeFuncOrVarName() 536 GlobalDecl GD; in getMangledStructor() 538 GD = GlobalDecl(CD, static_cast<CXXCtorType>(StructorType)); in getMangledStructor() [all …]
|
D | ItaniumMangle.cpp | 140 void mangleCXXName(GlobalDecl GD, raw_ostream &) override; 419 void mangle(GlobalDecl GD); 424 void mangleFunctionEncoding(GlobalDecl GD); 426 void mangleName(GlobalDecl GD); 463 void mangleNameWithAbiTags(GlobalDecl GD, 470 void mangleUnqualifiedName(GlobalDecl GD, in mangleUnqualifiedName() 475 void mangleUnqualifiedName(GlobalDecl GD, DeclarationName Name, 478 void mangleUnscopedName(GlobalDecl GD, 480 void mangleUnscopedTemplateName(GlobalDecl GD, 487 void mangleLocalName(GlobalDecl GD, [all …]
|
/external/clang/include/clang/CodeGen/ |
D | ModuleBuilder.h | 30 class GlobalDecl; variable 81 llvm::Constant *GetAddrOfGlobal(GlobalDecl decl, bool isForDefinition);
|
/external/llvm-project/clang/include/clang/CodeGen/ |
D | ModuleBuilder.h | 30 class GlobalDecl; variable 85 llvm::Constant *GetAddrOfGlobal(GlobalDecl decl, bool isForDefinition);
|
/external/clang/test/CodeGen/ |
D | dllimport.c | 26 __declspec(dllimport) int GlobalDecl; 27 USEVAR(GlobalDecl)
|
/external/llvm-project/clang/test/CodeGen/ |
D | dllimport.c | 26 __declspec(dllimport) int GlobalDecl; 27 USEVAR(GlobalDecl)
|