Lines Matching refs:Placeholder
212 /// as a placeholder for the actual definition for forward constants defs.
285 // Create and return a placeholder, which will later be RAUW'd.
303 // Create and return a placeholder, which will later be RAUW'd.
315 /// a placeholder.
325 Constant *Placeholder = ResolveConstants.back().first;
328 // Loop over all users of the placeholder, updating them to reference the
329 // new value. If they reference more than one placeholder, update them all
331 while (!Placeholder->use_empty()) {
332 Value::use_iterator UI = Placeholder->use_begin();
342 // Otherwise, we have a constant that uses the placeholder. Replace that
343 // constant with a new constant that has *all* placeholder uses updated.
349 // Not a placeholder reference.
351 } else if (*I == Placeholder) {
352 // Common case is that it just references this one placeholder.
355 // Otherwise, look up the placeholder in ResolveConstants.
386 Placeholder->replaceAllUsesWith(RealVal);
387 delete Placeholder;
424 // Create and return a placeholder, which will later be RAUW'd.
439 // named struct. Just create a placeholder for now.