Lines Matching refs:GlobalValue
28 static void makeVisible(GlobalValue &GV, bool Delete) { in makeVisible()
31 GV.setLinkage(GlobalValue::ExternalLinkage); in makeVisible()
33 GV.setVisibility(GlobalValue::HiddenVisibility); in makeVisible()
46 case GlobalValue::LinkOnceAnyLinkage: in makeVisible()
47 GV.setLinkage(GlobalValue::WeakAnyLinkage); in makeVisible()
49 case GlobalValue::LinkOnceODRLinkage: in makeVisible()
50 GV.setLinkage(GlobalValue::WeakODRLinkage); in makeVisible()
58 SetVector<GlobalValue *> Named;
67 explicit GVExtractorPass(std::vector<GlobalValue*>& GVs, bool deleteS = true) in GVExtractorPass()
139 Declaration = Function::Create(FTy, GlobalValue::ExternalLinkage, in runOnModule()
144 new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, in runOnModule()
160 ModulePass *llvm::createGVExtractionPass(std::vector<GlobalValue *> &GVs, in createGVExtractionPass()