Home | History | Annotate | Download | only in NVPTX

Lines Matching defs:Globals

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