Lines Matching full:globals
70 DenseSet<const GlobalVariable *> &Globals) {
72 Globals.insert(GV);
76 DiscoverDependentGlobals(U->getOperand(i), Globals);
906 // As ptxas does not support forward references of globals, we need to first
907 // sort the list of module-level globals in def-use order. We visit each
909 // globals. We use a little extra memory maintaining both a set and a list to
911 SmallVector<const GlobalVariable *, 8> Globals;
918 VisitGlobalVariableForEmission(I, Globals, GVVisited, GVVisiting);
925 for (unsigned i = 0, e = Globals.size(); i != e; ++i)
926 printModuleLevelGV(Globals[i], OS2);