Lines Matching refs:GlobalValue
19 static bool shouldReduceDSOLocal(GlobalValue &GV) { in shouldReduceDSOLocal()
23 static bool shouldReduceVisibility(GlobalValue &GV) { in shouldReduceVisibility()
24 return GV.getVisibility() != GlobalValue::VisibilityTypes::DefaultVisibility; in shouldReduceVisibility()
27 static bool shouldReduceUnnamedAddress(GlobalValue &GV) { in shouldReduceUnnamedAddress()
28 return GV.getUnnamedAddr() != GlobalValue::UnnamedAddr::None; in shouldReduceUnnamedAddress()
31 static bool shouldReduceDLLStorageClass(GlobalValue &GV) { in shouldReduceDLLStorageClass()
33 GlobalValue::DLLStorageClassTypes::DefaultStorageClass; in shouldReduceDLLStorageClass()
36 static bool shouldReduceThreadLocal(GlobalValue &GV) { in shouldReduceThreadLocal()
46 GV.setVisibility(GlobalValue::VisibilityTypes::DefaultVisibility); in reduceGVs()
51 GV.setUnnamedAddr(GlobalValue::UnnamedAddr::None); in reduceGVs()
54 GlobalValue::DLLStorageClassTypes::DefaultStorageClass); in reduceGVs()