Lines Matching refs:GlobalDecl
583 const llvm::MapVector<GlobalDecl, StringRef> &MangledDeclNames, in checkAliasedGlobal() argument
665 for (const GlobalDecl &GD : Aliases) { in checkAliases()
735 for (const GlobalDecl &GD : Aliases) { in checkAliases()
945 GlobalDecl GD; in Release()
947 GD = GlobalDecl(FD, KernelReferenceKind::Kernel); in Release()
949 GD = GlobalDecl(D); in Release()
1414 StringRef MangledName = getMangledName(GlobalDecl(I.first)); in Release()
1733 GlobalDecl GD) const { in setDLLImportDLLExport()
1756 GlobalDecl GD) const { in setGVProperties()
1831 static bool isUniqueInternalLinkageDecl(GlobalDecl GD, in isUniqueInternalLinkageDecl()
1838 static std::string getMangledNameImpl(CodeGenModule &CGM, GlobalDecl GD, in getMangledNameImpl()
1930 void CodeGenModule::UpdateMultiVersionNames(GlobalDecl GD, in UpdateMultiVersionNames()
1941 GlobalDecl OtherGD; in UpdateMultiVersionNames()
1975 StringRef CodeGenModule::getMangledName(GlobalDecl GD) { in getMangledName()
1976 GlobalDecl CanonicalGD = GD.getCanonicalDecl(); in getMangledName()
1985 CanonicalGD = GlobalDecl(CD, Ctor_Complete); in getMangledName()
2027 StringRef CodeGenModule::getBlockMangledName(GlobalDecl GD, in getBlockMangledName()
2048 const GlobalDecl CodeGenModule::getMangledNameDecl(StringRef Name) { in getMangledNameDecl()
2055 return GlobalDecl(); in getMangledNameDecl()
2124 CodeGenModule::getFunctionLinkage(GlobalDecl GD) { in getFunctionLinkage()
2160 void CodeGenModule::SetLLVMFunctionAttributes(GlobalDecl GD, in SetLLVMFunctionAttributes()
2598 void CodeGenModule::SetCommonAttributes(GlobalDecl GD, llvm::GlobalValue *GV) { in SetCommonAttributes()
2618 bool CodeGenModule::GetCPUAndFeaturesAttributes(GlobalDecl GD, in GetCPUAndFeaturesAttributes()
2691 void CodeGenModule::setNonAliasAttributes(GlobalDecl GD, in setNonAliasAttributes()
2740 void CodeGenModule::SetInternalFunctionAttributes(GlobalDecl GD, in SetInternalFunctionAttributes()
2832 void CodeGenModule::SetFunctionAttributes(GlobalDecl GD, llvm::Function *F, in SetFunctionAttributes()
3201 std::vector<GlobalDecl> CurDeclsToEmit; in EmitDeferred()
3204 for (GlobalDecl &D : CurDeclsToEmit) { in EmitDeferred()
3694 GlobalDecl(cast<FunctionDecl>(VD)), in GetWeakRefReference()
3728 void CodeGenModule::EmitGlobal(GlobalDecl GD) { in EmitGlobal()
4023 bool CodeGenModule::shouldEmitFunction(GlobalDecl GD) { in shouldEmitFunction()
4090 void CodeGenModule::EmitMultiVersionFunctionDefinition(GlobalDecl GD, in EmitMultiVersionFunctionDefinition()
4115 void CodeGenModule::EmitGlobalDefinition(GlobalDecl GD, llvm::GlobalValue *GV) { in EmitGlobalDefinition()
4191 GlobalDecl GD) { in getMultiversionLinkage()
4199 std::vector<GlobalDecl> MVFuncsToEmit; in emitMultiVersionFunctions()
4201 for (GlobalDecl GD : MVFuncsToEmit) { in emitMultiVersionFunctions()
4206 GlobalDecl CurGD{Decl->isDefined() ? Decl->getDefinition() : Decl, MVIdx}; in emitMultiVersionFunctions()
4331 void CodeGenModule::emitCPUDispatchDefinition(GlobalDecl GD) { in emitCPUDispatchDefinition()
4345 GlobalDecl ResolverGD; in emitCPUDispatchDefinition()
4375 GlobalDecl ExistingDecl = Manglings.lookup(MangledName); in emitCPUDispatchDefinition()
4453 void CodeGenModule::AddDeferredMultiVersionResolverToEmit(GlobalDecl GD) { in AddDeferredMultiVersionResolverToEmit()
4469 llvm::Constant *CodeGenModule::GetOrCreateMultiVersionResolver(GlobalDecl GD) { in GetOrCreateMultiVersionResolver()
4523 MangledName + ".resolver", ResolverType, GlobalDecl{}, in GetOrCreateMultiVersionResolver()
4536 ResolverName, DeclTy, GlobalDecl{}, /*ForVTable=*/false); in GetOrCreateMultiVersionResolver()
4566 StringRef MangledName, llvm::Type *Ty, GlobalDecl GD, bool ForVTable, in GetOrCreateLLVMFunction()
4580 GlobalDecl GDDef; in GetOrCreateLLVMFunction()
4582 GDDef = GlobalDecl(CD, GD.getCtorType()); in GetOrCreateLLVMFunction()
4584 GDDef = GlobalDecl(DD, GD.getDtorType()); in GetOrCreateLLVMFunction()
4586 GDDef = GlobalDecl(FDDef); in GetOrCreateLLVMFunction()
4629 GlobalDecl OtherGD; in GetOrCreateLLVMFunction()
4766 CodeGenModule::GetAddrOfFunction(GlobalDecl GD, llvm::Type *Ty, bool ForVTable, in GetAddrOfFunction()
4782 GD = GlobalDecl(DD, Dtor_Base); in GetAddrOfFunction()
4858 GetOrCreateLLVMFunction(Name, FTy, GlobalDecl(), /*ForVTable=*/false, in CreateRuntimeFunction()
4927 GlobalDecl OtherGD; in GetOrCreateLLVMGlobal()
5100 CodeGenModule::GetAddrOfGlobal(GlobalDecl GD, ForDefinition_t IsForDefinition) { in GetAddrOfGlobal()
5463 initializedGlobalDecl = GlobalDecl(D); in EmitGlobalVarDefinition()
5968 void CodeGenModule::EmitGlobalFunctionDefinition(GlobalDecl GD, in EmitGlobalFunctionDefinition()
6013 void CodeGenModule::EmitAliasDefinition(GlobalDecl GD) { in EmitAliasDefinition()
6100 void CodeGenModule::emitIFuncDefinition(GlobalDecl GD) { in emitIFuncDefinition()
6115 GlobalDecl OtherGD; in emitIFuncDefinition()
6847 CurCGF->StartFunction(GlobalDecl(), RetTy, Fn, FnInfo, Args, in EmitTopLevelStmt()
7227 GlobalDecl GD(cast<FunctionDecl>(D)); in EmitDeferredUnusedCoverageMappings()
7234 GlobalDecl GD(cast<CXXConstructorDecl>(D), Ctor_Base); in EmitDeferredUnusedCoverageMappings()
7241 GlobalDecl GD(cast<CXXDestructorDecl>(D), Dtor_Base); in EmitDeferredUnusedCoverageMappings()
7275 GlobalDecl D, in EmitGlobalDeclMetadata()
7383 GlobalDecl &Result) const { in lookupRepresentativeDecl()
7431 GlobalDecl GD = GlobalDecl(cast<VarDecl>(D)); in EmitDeclMetadata()