Searched refs:ImportGV (Results 1 – 2 of 2) sorted by relevance
45 GlobalValue *ImportGV = nullptr; in promoteInternals() local47 ImportGV = ImportM.getNamedValue(Name); in promoteInternals()48 if (!ImportGV) in promoteInternals()50 ImportGV->removeDeadConstantUsers(); in promoteInternals()51 if (ImportGV->use_empty()) { in promoteInternals()52 ImportGV->eraseFromParent(); in promoteInternals()67 if (ImportGV) { in promoteInternals()68 ImportGV->setName(NewName); in promoteInternals()69 ImportGV->setVisibility(GlobalValue::HiddenVisibility); in promoteInternals()