Lines Matching refs:GlobalVariable
49 bool operator()(const GlobalVariable *LHS, const GlobalVariable *RHS) const { in operator ()()
105 std::vector<GlobalVariable *> MergeableStrings;
111 void replaceUsesWithGEP(GlobalVariable *GlobalToReplace, GlobalVariable *GPool,
119 static bool hasReplaceableUsers(GlobalVariable &GV) { in hasReplaceableUsers()
166 for (GlobalVariable &Global : M.globals()) { in collectCandidateConstants()
251 for (GlobalVariable *GV : MergeableStrings) in mergeModuleStringPool()
264 GlobalVariable *PooledGlobal = in mergeModuleStringPool()
265 new GlobalVariable(M, PooledStructType, in mergeModuleStringPool()
275 for (GlobalVariable *GV : MergeableStrings) { in mergeModuleStringPool()
309 void PPCMergeStringPool::replaceUsesWithGEP(GlobalVariable *GlobalToReplace, in replaceUsesWithGEP()
310 GlobalVariable *GPool, in replaceUsesWithGEP()