Home | History | Annotate | Download | only in IPO

Lines Matching full:globals

10 // This transform is designed to eliminate unreachable internal globals from the
11 // program. It uses an aggressive algorithm, searching out globals that are
12 // known to be alive. After it finds all of the globals which are needed, it
65 // Loop over the module, adding globals which are obviously necessary.
77 // Externally visible & appending globals are needed, if they have an
92 // Now that all globals which are needed are in the AliveGlobals set, we loop
97 std::vector<GlobalVariable*> DeadGlobalVars; // Keep track of dead globals
101 DeadGlobalVars.push_back(I); // Keep track of dead globals
109 DeadFunctions.push_back(I); // Keep track of dead globals
179 // any globals used will be marked as needed.
196 // Loop over all of the operands of the constant, adding any globals they
197 // use to the list of needed globals.