Lines Matching defs:Globals
69 DenseSet<const GlobalVariable *> &Globals) {
71 Globals.insert(GV);
75 DiscoverDependentGlobals(U->getOperand(i), Globals);
863 // As ptxas does not support forward references of globals, we need to first
864 // sort the list of module-level globals in def-use order. We visit each
866 // globals. We use a little extra memory maintaining both a set and a list to
868 SmallVector<const GlobalVariable *, 8> Globals;
875 VisitGlobalVariableForEmission(I, Globals, GVVisited, GVVisiting);
882 for (unsigned i = 0, e = Globals.size(); i != e; ++i)
883 printModuleLevelGV(Globals[i], OS2);