Lines Matching refs:GlobalVariable
49 bool operator()(const GlobalVariable *LHS, const GlobalVariable *RHS) const { in operator ()()
104 std::vector<GlobalVariable *> MergeableStrings;
110 void replaceUsesWithGEP(GlobalVariable *GlobalToReplace, GlobalVariable *GPool,
118 static bool hasReplaceableUsers(GlobalVariable &GV) { in hasReplaceableUsers()
165 for (GlobalVariable &Global : M.globals()) { in collectCandidateConstants()
249 for (GlobalVariable *GV : MergeableStrings) in mergeModuleStringPool()
262 GlobalVariable *PooledGlobal = in mergeModuleStringPool()
263 new GlobalVariable(M, PooledStructType, in mergeModuleStringPool()
273 for (GlobalVariable *GV : MergeableStrings) { in mergeModuleStringPool()
296 void PPCMergeStringPool::replaceUsesWithGEP(GlobalVariable *GlobalToReplace, in replaceUsesWithGEP()
297 GlobalVariable *GPool, in replaceUsesWithGEP()