reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
612 if (GV.isDeclaration() || GV.isThreadLocal() || GV.hasImplicitSection()) 612 if (GV.isDeclaration() || GV.isThreadLocal() || GV.hasImplicitSection()) 612 if (GV.isDeclaration() || GV.isThreadLocal() || GV.hasImplicitSection()) 616 if (TM && !TM->shouldAssumeDSOLocal(M, &GV)) 619 if (!(MergeExternalGlobals && GV.hasExternalLinkage()) && 620 !GV.hasInternalLinkage()) 623 PointerType *PT = dyn_cast<PointerType>(GV.getType()); 627 StringRef Section = GV.getSection(); 630 if (GV.getName().startswith("llvm.") || 631 GV.getName().startswith(".llvm.")) 635 if (isMustKeepGlobalVariable(&GV)) 638 Type *Ty = GV.getValueType(); 641 TargetLoweringObjectFile::getKindForGlobal(&GV, *TM).isBSS()) 642 BSSGlobals[{AddressSpace, Section}].push_back(&GV); 643 else if (GV.isConstant()) 644 ConstGlobals[{AddressSpace, Section}].push_back(&GV); 646 Globals[{AddressSpace, Section}].push_back(&GV);