Home
last modified time | relevance | path

Searched refs:ImportGV (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp45 GlobalValue *ImportGV = nullptr; in promoteInternals() local
47 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()
/external/llvm-project/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp45 GlobalValue *ImportGV = nullptr; in promoteInternals() local
47 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()