Lines Matching refs:GlobalValue
392 static unsigned getEncodedLinkage(const GlobalValue *GV) { in getEncodedLinkage()
395 case GlobalValue::ExternalLinkage: return 0; in getEncodedLinkage()
396 case GlobalValue::WeakAnyLinkage: return 1; in getEncodedLinkage()
397 case GlobalValue::AppendingLinkage: return 2; in getEncodedLinkage()
398 case GlobalValue::InternalLinkage: return 3; in getEncodedLinkage()
399 case GlobalValue::LinkOnceAnyLinkage: return 4; in getEncodedLinkage()
400 case GlobalValue::DLLImportLinkage: return 5; in getEncodedLinkage()
401 case GlobalValue::DLLExportLinkage: return 6; in getEncodedLinkage()
402 case GlobalValue::ExternalWeakLinkage: return 7; in getEncodedLinkage()
403 case GlobalValue::CommonLinkage: return 8; in getEncodedLinkage()
404 case GlobalValue::PrivateLinkage: return 9; in getEncodedLinkage()
405 case GlobalValue::WeakODRLinkage: return 10; in getEncodedLinkage()
406 case GlobalValue::LinkOnceODRLinkage: return 11; in getEncodedLinkage()
407 case GlobalValue::AvailableExternallyLinkage: return 12; in getEncodedLinkage()
408 case GlobalValue::LinkerPrivateLinkage: return 13; in getEncodedLinkage()
409 case GlobalValue::LinkerPrivateWeakLinkage: return 14; in getEncodedLinkage()
410 case GlobalValue::LinkerPrivateWeakDefAutoLinkage: return 15; in getEncodedLinkage()
414 static unsigned getEncodedVisibility(const GlobalValue *GV) { in getEncodedVisibility()
417 case GlobalValue::DefaultVisibility: return 0; in getEncodedVisibility()
418 case GlobalValue::HiddenVisibility: return 1; in getEncodedVisibility()
419 case GlobalValue::ProtectedVisibility: return 2; in getEncodedVisibility()
527 GV->getVisibility() != GlobalValue::DefaultVisibility || in WriteModuleInfo()
1007 if (!isa<GlobalValue>(Vals[i].first)) { in WriteModuleConstants()