Home | History | Annotate | Download | only in Linker

Lines Matching refs:GlobalValue

395     bool getLinkageResult(GlobalValue *Dest, const GlobalValue *Src,
396 GlobalValue::LinkageTypes &LT,
397 GlobalValue::VisibilityTypes &Vis,
402 GlobalValue *getLinkedToGlobal(GlobalValue *SrcGV) {
409 GlobalValue *DGV = DstM->getNamedValue(SrcGV->getName());
447 static void forceRenaming(GlobalValue *GV, StringRef Name) {
456 if (GlobalValue *ConflictGV = M->getNamedValue(Name)) {
466 /// a GlobalValue) from the SrcGV to the DestGV.
467 static void copyGVAttributes(GlobalValue *DestGV, const GlobalValue *SrcGV) {
476 static bool isLessConstraining(GlobalValue::VisibilityTypes a,
477 GlobalValue::VisibilityTypes b) {
478 if (a == GlobalValue::HiddenVisibility)
480 if (b == GlobalValue::HiddenVisibility)
482 if (a == GlobalValue::ProtectedVisibility)
484 if (b == GlobalValue::ProtectedVisibility)
494 bool ModuleLinker::getLinkageResult(GlobalValue *Dest, const GlobalValue *Src,
495 GlobalValue::LinkageTypes &LT,
496 GlobalValue::VisibilityTypes &Vis,
546 LT = GlobalValue::ExternalLinkage;
573 GlobalValue *DGV = getLinkedToGlobal(I);
589 if (GlobalValue *DGV = getLinkedToGlobal(I))
714 GlobalValue *DGV = getLinkedToGlobal(SGV);
715 llvm::Optional<GlobalValue::VisibilityTypes> NewVisibility;
724 GlobalValue::LinkageTypes NewLinkage = GlobalValue::InternalLinkage;
725 GlobalValue::VisibilityTypes NV;
781 GlobalValue *DGV = getLinkedToGlobal(SF);
782 llvm::Optional<GlobalValue::VisibilityTypes> NewVisibility;
785 GlobalValue::LinkageTypes NewLinkage = GlobalValue::InternalLinkage;
787 GlobalValue::VisibilityTypes NV;
836 GlobalValue *DGV = getLinkedToGlobal(SGA);
837 llvm::Optional<GlobalValue::VisibilityTypes> NewVisibility;
840 GlobalValue::LinkageTypes NewLinkage = GlobalValue::InternalLinkage;
841 GlobalValue::VisibilityTypes NV;