• Home
  • Raw
  • Download

Lines Matching refs:GlobalValue

95   GlobalValue::VisibilityTypes Visibility = GlobalValue::DefaultVisibility;
315 static const GlobalObject *getBaseObject(const GlobalValue &GV) { in getBaseObject()
364 static GlobalValue::VisibilityTypes
365 getMinVisibility(GlobalValue::VisibilityTypes A, in getMinVisibility()
366 GlobalValue::VisibilityTypes B) { in getMinVisibility()
367 if (A == GlobalValue::HiddenVisibility) in getMinVisibility()
369 if (B == GlobalValue::HiddenVisibility) in getMinVisibility()
371 if (A == GlobalValue::ProtectedVisibility) in getMinVisibility()
453 const GlobalValue *GV = Obj->getSymbolGV(Sym.getRawDataRefImpl()); in claim_file_hook()
472 case GlobalValue::DefaultVisibility: in claim_file_hook()
475 case GlobalValue::HiddenVisibility: in claim_file_hook()
478 case GlobalValue::ProtectedVisibility: in claim_file_hook()
524 static void internalize(GlobalValue &GV) { in internalize()
528 GV.setLinkage(GlobalValue::InternalLinkage); in internalize()
599 std::vector<GlobalValue *> &Keep) { in getModuleForFile()
624 SmallPtrSet<GlobalValue *, 8> Used; in getModuleForFile()
629 GlobalValue *GV = Obj.getSymbolGV(ObjSym.getRawDataRefImpl()); in getModuleForFile()
708 case GlobalValue::LinkOnceAnyLinkage: in getModuleForFile()
709 GV->setLinkage(GlobalValue::WeakAnyLinkage); in getModuleForFile()
711 case GlobalValue::LinkOnceODRLinkage: in getModuleForFile()
712 GV->setLinkage(GlobalValue::WeakODRLinkage); in getModuleForFile()
902 std::vector<GlobalValue *> Keep; in allSymbolsReadHook()
910 if (L.move(*M, Keep, [](GlobalValue &, IRMover::ValueAdder) {})) in allSymbolsReadHook() argument
915 GlobalValue *GV = Combined->getNamedValue(Name.first()); in allSymbolsReadHook()
921 GlobalValue *GV = Combined->getNamedValue(Name.first()); in allSymbolsReadHook()
924 GV->setLinkage(GlobalValue::LinkOnceODRLinkage); in allSymbolsReadHook()