Lines Matching refs:GV
62 for (GlobalVariable *GV : Globals) { in runOnModule()
63 Tys.push_back(GV->getValueType()); in runOnModule()
64 const char *name = GV->getName().data(); in runOnModule()
210 for (GlobalVariable &GV : M.globals()) { in collectGlobals()
211 assert(!GV.hasComdat() && "global variable has a comdat section"); in collectGlobals()
212 assert(!GV.hasSection() && "global variable has a non-default section"); in collectGlobals()
213 assert(!GV.isDeclaration() && "global variable is only a declaration"); in collectGlobals()
214 assert(!GV.isThreadLocal() && "global variable is thread-local"); in collectGlobals()
215 assert(GV.getType()->getAddressSpace() == 0 && in collectGlobals()
219 if (GV.isConstant()) { in collectGlobals()
224 if (isRSAllocation(GV)) { in collectGlobals()
228 Globals.push_back(&GV); in collectGlobals()