Searched refs:hasExternalLinkage (Results 1 – 22 of 22) sorted by relevance
194 if (Globals[j]->hasExternalLinkage() && !HasExternal) { in doMerge()299 if (!(EnableGlobalMergeOnExternal && I->hasExternalLinkage()) && in doInitialization()
303 } else if (Head->hasExternalLinkage() && Head->isDeclaration()) { in doInitialization()
613 if (Kind.isMergeable2ByteCString() && !GV->hasExternalLinkage() && in SelectSectionForGlobal()
105 if (!ExternSData && ((GV->hasExternalLinkage() && GV->isDeclaration()) || in IsGlobalInSmallSectionImpl()
111 !GVRHS->hasExternalLinkage() || GVRHS->hasInitializer() || in getExecutableRelativeSymbol()
586 if (Fn->hasExternalLinkage() && Fn->getName() == "main") in EmitFunctionEntryCode()
2290 if (Fn->hasExternalLinkage() && in LowerFormalArguments()
160 else if (GVar->hasExternalLinkage()) in getKindForGlobal()
244 bool hasExternalLinkage() const { return isExternalLinkage(Linkage); } in hasExternalLinkage() function
93 assert( ( GV->hasExternalLinkage() || GV->hasWeakLinkage() || in emitArrayBound()
788 assert(Src.hasExternalLinkage()); in shouldLinkFromSource()795 assert(Dest.hasExternalLinkage() && Src.hasExternalLinkage() && in shouldLinkFromSource()
429 Assert(!GV.isDeclaration() || GV.hasExternalLinkage() || in visitGlobalValue()462 Assert(GV.hasExternalLinkage() || GV.hasExternalWeakLinkage(), in visitGlobalVariable()516 (GV.isDeclaration() && GV.hasExternalLinkage()) || in visitGlobalVariable()1675 Assert(F.hasExternalLinkage() || F.hasExternalWeakLinkage(), in visitFunction()1703 (F.isDeclaration() && F.hasExternalLinkage()) || in visitFunction()
2317 if (!GV->hasInitializer() && GV->hasExternalLinkage()) in printGlobal()
1245 if (GVEntry->hasExternalLinkage()) in emitGlobals()1250 if (GV.hasExternalLinkage() || GVEntry->hasExternalWeakLinkage()) in emitGlobals()
989 if (V->hasExternalLinkage()) { in emitLinkageDirective()1038 if (GVar->hasExternalLinkage()) { in printModuleLevelGV()
1503 if (!global_variable->hasExternalLinkage()) in MaybeHandleVariable()1561 if (!global_variable->hasExternalLinkage()) in MaybeHandleVariable()
1272 if (G->hasExternalLinkage() || G->hasLocalLinkage() || in writeThunkOrAlias()
1745 GS.AccessingFunction->hasExternalLinkage() && in ProcessInternalGlobal()
1101 if (Alias.hasExternalLinkage() || !MAI->getWeakRefDirective()) in doFinalization()
2273 if (GV->isDeclaration() && GV->hasExternalLinkage()) in configureBlocksRuntimeObject()
1762 if (!GV->hasExternalLinkage()) in getAddrOfVBTable()
3097 | ``bool hasExternalLinkage() const``