/llvm-project/clang/lib/CodeGen/ |
H A D | CGCXXABI.h | 123 virtual bool HasThisReturn(GlobalDecl GD) const { in HasThisReturn() argument 131 virtual bool hasMostDerivedReturn(GlobalDecl GD) const { return false; } in hasMostDerivedReturn() argument 387 virtual const CXXRecordDecl *getThisArgumentTypeForMethod(GlobalDecl GD) { in getThisArgumentTypeForMethod() argument 395 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, in adjustThisArgumentForVirtualFunctionCall() argument 415 getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) getVirtualFunctionPrologueThisAdjustment() argument 495 adjustCallArgsForDestructorThunk(CodeGenFunction & CGF,GlobalDecl GD,CallArgList & CallArgs) adjustCallArgsForDestructorThunk() argument [all...] |
H A D | CGCXX.cpp | 221 auto *MD = cast<CXXMethodDecl>(GD.getDecl()); in getAddrAndTypeOfCXXStructor() argument 206 codegenCXXStructor(GlobalDecl GD) codegenCXXStructor() argument 247 BuildAppleKextVirtualCall(CodeGenFunction & CGF,GlobalDecl GD,llvm::Type * Ty,const CXXRecordDecl * RD) BuildAppleKextVirtualCall() argument [all...] |
H A D | CGVTables.cpp | 36 return GetOrCreateLLVMFunction(Name, FnTy, GD, /*ForVTable=*/true, in GetAddrOfThunk() argument 43 CGM.setFunctionLinkage(GD, ThunkFn); in setThunkProperties() argument 168 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in GenerateVarArgsThunk() argument 248 StartThunk(llvm::Function * Fn,GlobalDecl GD,const CGFunctionInfo & FnInfo,bool IsUnprototyped) StartThunk() argument 409 EmitMustTailThunk(GlobalDecl GD,llvm::Value * AdjustedThisPtr,llvm::FunctionCallee Callee) EmitMustTailThunk() argument 463 generateThunk(llvm::Function * Fn,const CGFunctionInfo & FnInfo,GlobalDecl GD,const ThunkInfo & Thunk,bool IsUnprototyped) generateThunk() argument 503 maybeEmitThunk(GlobalDecl GD,const ThunkInfo & TI,bool ForVTable) maybeEmitThunk() argument 625 EmitThunks(GlobalDecl GD) EmitThunks() argument 773 GlobalDecl GD = component.getGlobalDecl(); addVTableComponent() local [all...] |
H A D | CodeGenModule.cpp | 665 for (const GlobalDecl &GD : Aliases) { checkAliases() local 730 for (const GlobalDecl &GD : Aliases) { checkAliases() local 940 GlobalDecl GD; Release() local 1821 isUniqueInternalLinkageDecl(GlobalDecl GD,CodeGenModule & CGM) isUniqueInternalLinkageDecl() argument 1828 getMangledNameImpl(CodeGenModule & CGM,GlobalDecl GD,const NamedDecl * ND,bool OmitMultiVersionMangling=false) getMangledNameImpl() argument 1920 UpdateMultiVersionNames(GlobalDecl GD,const FunctionDecl * FD,StringRef & CurName) UpdateMultiVersionNames() argument 1965 getMangledName(GlobalDecl GD) getMangledName() argument 2017 getBlockMangledName(GlobalDecl GD,const BlockDecl * BD) getBlockMangledName() argument 2114 getFunctionLinkage(GlobalDecl GD) getFunctionLinkage() argument 2150 SetLLVMFunctionAttributes(GlobalDecl GD,const CGFunctionInfo & Info,llvm::Function * F,bool IsThunk) SetLLVMFunctionAttributes() argument 2588 SetCommonAttributes(GlobalDecl GD,llvm::GlobalValue * GV) SetCommonAttributes() argument 2608 GetCPUAndFeaturesAttributes(GlobalDecl GD,llvm::AttrBuilder & Attrs,bool SetTargetFeatures) GetCPUAndFeaturesAttributes() argument 2681 setNonAliasAttributes(GlobalDecl GD,llvm::GlobalObject * GO) setNonAliasAttributes() argument 2730 SetInternalFunctionAttributes(GlobalDecl GD,llvm::Function * F,const CGFunctionInfo & FI) SetInternalFunctionAttributes() argument 2822 SetFunctionAttributes(GlobalDecl GD,llvm::Function * F,bool IsIncompleteFunction,bool IsThunk) SetFunctionAttributes() argument 3556 GetAddrOfMSGuidDecl(const MSGuidDecl * GD) GetAddrOfMSGuidDecl() argument 3705 EmitGlobal(GlobalDecl GD) EmitGlobal() argument 4010 shouldEmitFunction(GlobalDecl GD) shouldEmitFunction() argument 4077 EmitMultiVersionFunctionDefinition(GlobalDecl GD,llvm::GlobalValue * GV) EmitMultiVersionFunctionDefinition() argument 4102 EmitGlobalDefinition(GlobalDecl GD,llvm::GlobalValue * GV) EmitGlobalDefinition() argument 4178 getMultiversionLinkage(CodeGenModule & CGM,GlobalDecl GD) getMultiversionLinkage() argument 4205 for (GlobalDecl GD : MVFuncsToEmit) { emitMultiVersionFunctions() local 4333 emitCPUDispatchDefinition(GlobalDecl GD) emitCPUDispatchDefinition() argument 4458 AddDeferredMultiVersionResolverToEmit(GlobalDecl GD) AddDeferredMultiVersionResolverToEmit() argument 4473 GetOrCreateMultiVersionResolver(GlobalDecl GD) GetOrCreateMultiVersionResolver() argument 4560 GetOrCreateLLVMFunction(StringRef MangledName,llvm::Type * Ty,GlobalDecl GD,bool ForVTable,bool DontDefer,bool IsThunk,llvm::AttributeList ExtraAttrs,ForDefinition_t IsForDefinition) GetOrCreateLLVMFunction() argument 4749 GetAddrOfFunction(GlobalDecl GD,llvm::Type * Ty,bool ForVTable,bool DontDefer,ForDefinition_t IsForDefinition) GetAddrOfFunction() argument 5083 GetAddrOfGlobal(GlobalDecl GD,ForDefinition_t IsForDefinition) GetAddrOfGlobal() argument 5946 EmitGlobalFunctionDefinition(GlobalDecl GD,llvm::GlobalValue * GV) EmitGlobalFunctionDefinition() argument 5991 EmitAliasDefinition(GlobalDecl GD) EmitAliasDefinition() argument 6078 emitIFuncDefinition(GlobalDecl GD) emitIFuncDefinition() argument 7202 GlobalDecl GD(cast<FunctionDecl>(D)); EmitDeferredUnusedCoverageMappings() local 7209 GlobalDecl GD(cast<CXXConstructorDecl>(D), Ctor_Base); EmitDeferredUnusedCoverageMappings() local 7216 GlobalDecl GD(cast<CXXDestructorDecl>(D), Dtor_Base); EmitDeferredUnusedCoverageMappings() local 7406 GlobalDecl GD = GlobalDecl(cast<VarDecl>(D)); EmitDeclMetadata() local [all...] |
H A D | ModuleBuilder.cpp | 128 llvm::StringRef GetMangledName(GlobalDecl GD) { in GetMangledName() 348 llvm::StringRef CodeGenerator::GetMangledName(GlobalDecl GD) { in GetMangledName()
|
H A D | CGPointerAuth.cpp | 179 getFunctionPointer(GlobalDecl GD,llvm::Type * Ty) getFunctionPointer() argument
|
H A D | MicrosoftCXXABI.cpp | 250 const CXXRecordDecl *getThisArgumentTypeForMethod(GlobalDecl GD) override { in getThisArgumentTypeForMethod() argument 342 adjustCallArgsForDestructorThunk(CodeGenFunction & CGF,GlobalDecl GD,CallArgList & CallArgs) adjustCallArgsForDestructorThunk() argument 403 setThunkLinkage(llvm::Function * Thunk,bool ForVTable,GlobalDecl GD,bool ReturnAdjustment) setThunkLinkage() argument 1097 isDeletingDtor(GlobalDecl GD) isDeletingDtor() argument 1345 buildStructorSignature(GlobalDecl GD,SmallVectorImpl<CanQualType> & ArgTys) buildStructorSignature() argument 1436 getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) getVirtualFunctionPrologueThisAdjustment() argument 1471 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction & CGF,GlobalDecl GD,Address This,bool VirtualCall) adjustThisArgumentForVirtualFunctionCall() argument 1667 GlobalDecl GD(DD, Type); EmitDestructorCall() local 1953 getVirtualFunctionPointer(CodeGenFunction & CGF,GlobalDecl GD,Address This,llvm::Type * Ty,SourceLocation Loc) getVirtualFunctionPointer() argument 2013 GlobalDecl GD(Dtor, Dtor_Deleting); EmitVirtualDestructorCall() local 4038 emitCXXStructor(GlobalDecl GD) emitCXXStructor() argument [all...] |
H A D | CodeGenModule.h | 356 addDeferredDeclToEmit(GlobalDecl GD) addDeferredDeclToEmit() argument 364 addEmittedDeferredDecl(GlobalDecl GD) addEmittedDeferredDecl() argument 1367 setFunctionLinkage(GlobalDecl GD,llvm::Function * F) setFunctionLinkage() argument [all...] |
H A D | ItaniumCXXABI.cpp | 328 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, GlobalDecl GD, in setThunkLinkage() argument 1680 buildStructorSignature(GlobalDecl GD,SmallVectorImpl<CanQualType> & ArgTys) buildStructorSignature() argument 1785 GlobalDecl GD(DD, Type); getCXXDestructorImplicitParam() local 1794 GlobalDecl GD(DD, Type); EmitDestructorCall() local 2027 getVirtualFunctionPointer(CodeGenFunction & CGF,GlobalDecl GD,Address This,llvm::Type * Ty,SourceLocation Loc) getVirtualFunctionPointer() argument 2096 GlobalDecl GD(Dtor, DtorType); EmitVirtualDestructorCall() local 3157 NeedsVTTParameter(GlobalDecl GD) NeedsVTTParameter() argument 4439 emitCXXStructor(GlobalDecl GD) emitCXXStructor() argument [all...] |
H A D | CGCUDANV.cpp | 266 GlobalDecl GD; getDeviceSideName() local 1211 getKernelHandle(llvm::Function * F,GlobalDecl GD) getKernelHandle() argument
|
H A D | CGCXXABI.cpp | 327 bool CGCXXABI::NeedsVTTParameter(GlobalDecl GD) { in NeedsVTTParameter()
|
H A D | CGDebugInfo.cpp | 2069 GlobalDecl GD = DD ? GlobalDecl(DD, Dtor_Deleting) : GlobalDecl(Method); CreateCXXMemberFunction() local 2296 } else if (const auto *GD = dyn_cast<MSGuidDecl>(D)) { CollectTemplateParams() local 3987 collectFunctionDeclProps(GlobalDecl GD,llvm::DIFile * Unit,StringRef & Name,StringRef & LinkageName,llvm::DIScope * & FDContext,llvm::DINodeArray & TParamsArray,llvm::DINode::DIFlags & Flags) collectFunctionDeclProps() argument 4089 getFunctionFwdDeclOrStub(GlobalDecl GD,bool Stub) getFunctionFwdDeclOrStub() argument 4136 getFunctionForwardDeclaration(GlobalDecl GD) getFunctionForwardDeclaration() argument 4140 getFunctionStub(GlobalDecl GD) getFunctionStub() argument 4366 emitFunctionStart(GlobalDecl GD,SourceLocation Loc,SourceLocation ScopeLoc,QualType FnType,llvm::Function * Fn,bool CurFuncIsThunk) emitFunctionStart() argument 4475 EmitFunctionDecl(GlobalDecl GD,SourceLocation Loc,QualType FnType,llvm::Function * Fn) EmitFunctionDecl() argument 4572 EmitInlineFunctionStart(CGBuilderTy & Builder,GlobalDecl GD) EmitInlineFunctionStart() argument 5823 EmitGlobalAlias(const llvm::GlobalValue * GV,const GlobalDecl GD) EmitGlobalAlias() argument [all...] |
H A D | CodeGenFunction.cpp | 736 StartFunction(GlobalDecl GD,QualType RetTy,llvm::Function * Fn,const CGFunctionInfo & FnInfo,const FunctionArgList & Args,SourceLocation Loc,SourceLocation StartLoc) StartFunction() argument 1353 BuildFunctionArgList(GlobalDecl GD,FunctionArgList & Args) BuildFunctionArgList() argument 1396 GenerateCode(GlobalDecl GD,llvm::Function * Fn,const CGFunctionInfo & FnInfo) GenerateCode() argument [all...] |
/llvm-project/clang/lib/AST/ |
H A D | Mangle.cpp | 176 return mangleMSGuidDecl(GD, Out); in mangleName() local 139 mangleName(GlobalDecl GD,raw_ostream & Out) mangleName() argument 244 mangleMSGuidDecl(const MSGuidDecl * GD,raw_ostream & Out) mangleMSGuidDecl() argument 538 GlobalDecl GD; writeFuncOrVarName() local 567 GlobalDecl GD; getMangledStructor() local [all...] |
H A D | ItaniumMangle.cpp | 515 mangleUnqualifiedName(GlobalDecl GD,const DeclContext * DC,const AbiTagList * AdditionalAbiTags) mangleUnqualifiedName() argument 815 mangle(GlobalDecl GD) mangle() argument 832 mangleFunctionEncoding(GlobalDecl GD) mangleFunctionEncoding() argument 978 isTemplate(GlobalDecl GD,const TemplateArgumentList * & TemplateArgs) isTemplate() argument 1005 asTemplateName(GlobalDecl GD) asTemplateName() argument 1010 mangleName(GlobalDecl GD) mangleName() argument 1055 mangleNameWithAbiTags(GlobalDecl GD,const AbiTagList * AdditionalAbiTags) mangleNameWithAbiTags() argument 1158 mangleUnscopedName(GlobalDecl GD,const DeclContext * DC,const AbiTagList * AdditionalAbiTags) mangleUnscopedName() argument 1171 mangleUnscopedTemplateName(GlobalDecl GD,const DeclContext * DC,const AbiTagList * AdditionalAbiTags) mangleUnscopedTemplateName() argument 1463 mangleUnqualifiedName(GlobalDecl GD,DeclarationName Name,const DeclContext * DC,unsigned KnownArity,const AbiTagList * AdditionalAbiTags) mangleUnqualifiedName() argument 1504 if (auto *GD = dyn_cast<MSGuidDecl>(ND)) { mangleUnqualifiedName() local 1771 mangleNestedName(GlobalDecl GD,const DeclContext * DC,const AbiTagList * AdditionalAbiTags,bool NoFunction) mangleNestedName() argument 1818 mangleNestedNameWithClosurePrefix(GlobalDecl GD,const NamedDecl * PrefixND,const AbiTagList * AdditionalAbiTags) mangleNestedNameWithClosurePrefix() argument 1835 GlobalDecl GD; getParentOfLocalEntity() local 1849 mangleLocalName(GlobalDecl GD,const AbiTagList * AdditionalAbiTags) mangleLocalName() argument 2256 mangleTemplatePrefix(GlobalDecl GD,bool NoFunction) mangleTemplatePrefix() argument 7008 mangleCXXName(GlobalDecl GD,raw_ostream & Out) mangleCXXName() argument [all...] |
H A D | MicrosoftMangle.cpp | 48 GD = GlobalDecl(CD, Ctor_Complete); in getGlobalDeclAsDeclContext() local 419 mangleUnqualifiedName(GlobalDecl GD) mangleUnqualifiedName() argument 567 mangle(GlobalDecl GD,StringRef Prefix) mangle() argument 593 mangleFunctionEncoding(GlobalDecl GD,bool ShouldMangle) mangleFunctionEncoding() argument 932 mangleName(GlobalDecl GD) mangleName() argument 1016 isTemplate(GlobalDecl GD,const TemplateArgumentList * & TemplateArgs) isTemplate() argument 1044 mangleUnqualifiedName(GlobalDecl GD,DeclarationName Name) mangleUnqualifiedName() argument 1169 if (const MSGuidDecl *GD = dyn_cast<MSGuidDecl>(ND)) { mangleUnqualifiedName() local 1332 mangleNestedName(GlobalDecl GD) mangleNestedName() argument 1610 mangleTemplateInstantiationName(GlobalDecl GD,const TemplateArgumentList & TemplateArgs) mangleTemplateInstantiationName() argument 1635 mangleUnscopedTemplateName(GlobalDecl GD) mangleUnscopedTemplateName() argument 3644 mangleCXXName(GlobalDecl GD,raw_ostream & Out) mangleCXXName() argument [all...] |
H A D | VTableBuilder.cpp | 2249 GlobalDecl GD(DD, Dtor_Complete); in dumpLayout() local 2338 uint64_t ItaniumVTableContext::getMethodVTableIndex(GlobalDecl GD) { in getMethodVTableIndex() argument 2381 GlobalDecl ItaniumVTableContext::findOriginalMethod(GlobalDecl GD) { in findOriginalMethod() argument 3872 getMethodVFTableLocation(GlobalDecl GD) getMethodVFTableLocation() argument [all...] |
/llvm-project/clang/lib/AST/Interp/ |
H A D | Pointer.cpp |
|
H A D | Program.cpp |
|
/llvm-project/clang/include/clang/AST/ |
H A D | GlobalDecl.h | 157 GlobalDecl GD; in getFromOpaquePtr() local
|
H A D | VTableBuilder.h | 342 virtual const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) { in getThunkInfo() 620 const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) override { in getThunkInfo()
|
/llvm-project/clang/lib/InstallAPI/ |
H A D | Visitor.cpp | 468 GlobalDecl GD; in getMangledCtorDtor() local 496 auto AddThunk = [&](GlobalDecl GD) { in emitVTableSymbols()
|
/llvm-project/llvm/lib/Analysis/ |
H A D | MemorySSAUpdater.cpp | 837 applyInsertUpdates(InsertUpdates, DT, &GD); in applyInsertUpdates() local 814 GraphDiff<BasicBlock *> GD(RevDeleteUpdates); applyUpdates() local 826 GraphDiff<BasicBlock *> GD; applyUpdates() local 843 applyInsertUpdates(ArrayRef<CFGUpdate> Updates,DominatorTree & DT,const GraphDiff<BasicBlock * > * GD) applyInsertUpdates() argument [all...] |
/llvm-project/clang/test/Layout/ |
H A D | ms-x86-vtordisp.cpp | 301 struct GD: public virtual GC, public virtual GB {}; struct
|
/llvm-project/clang/unittests/Interpreter/ |
H A D | InterpreterTest.cpp | 211 GlobalDecl GD(FD); in TEST_F() local
|