Lines Matching full:uses
67 // DAH uses this to specify a different ID.
234 // Loop over the argument list, transferring uses of the old arguments over to in deleteDeadVarargs()
315 for (Use &U : F.uses()) { in removeDeadArgumentsFromCallers()
392 // that U is really a use of an insertvalue instruction that uses the in surveyUse()
419 // depends on all uses of that aggregate, but if it is used as a return in surveyUse()
424 // we don't change RetValNum, but do survey all our uses. in surveyUse()
427 for (const Use &UU : IV->uses()) { in surveyUse()
467 /// Looks at all the uses of the given value
468 /// Returns the Liveness deduced from the uses of this value.
470 /// Adds all uses that cause the result to be MaybeLive to MaybeLiveRetUses. If
476 // Assume it's dead (which will only hold if there are no uses at all..). in surveyUses()
479 for (const Use &U : V->uses()) { in surveyUses()
488 /// it uses any of its incoming arguments or whether any callers use the return
489 /// value. This fills in the LiveValues set and Uses map.
519 // These vectors map each return value to the uses that make it MaybeLive, so in surveyFunction()
520 // we can add those to the Uses map if the return value really turns out to be in surveyFunction()
559 // Loop all uses of the function. in surveyFunction()
560 for (const Use &U : F.uses()) { in surveyFunction()
582 // Check all uses of the return value. in surveyFunction()
583 for (const Use &UU : CB->uses()) { in surveyFunction()
585 // This use uses a part of our return value, survey the uses of in surveyFunction()
645 // See what the effect of this use is (recording any uses that cause in surveyFunction()
658 /// all uses in MaybeLiveUses and records them in Uses, such that RA will be
674 // Note any uses of this value, so this value can be in markValue()
675 // marked live whenever one of the uses becomes live. in markValue()
676 Uses.emplace(MaybeLiveUse, RA); in markValue()
684 /// parameters or by its return values (according to Uses) live as well.
699 /// values that are used by this value (according to Uses) live as well.
716 /// it uses (according to Uses).
721 UseMap::iterator Begin = Uses.lower_bound(RA); in propagateLiveness()
722 UseMap::iterator E = Uses.end(); in propagateLiveness()
727 // Erase RA from the Uses map (from the lower bound to wherever we ended up in propagateLiveness()
729 Uses.erase(Begin, I); in propagateLiveness()
791 // even in the absence of explicit uses of the return value, code generation in removeDeadStuffFromFunction()
963 // If the return value is dead, replace any uses of it with poison in removeDeadStuffFromFunction()
964 // (any non-debug value uses will get removed later on). in removeDeadStuffFromFunction()
979 // with all the uses, we will just rebuild it using extract/insertvalue in removeDeadStuffFromFunction()
998 // Now, replace all uses of the old call instruction with the return in removeDeadStuffFromFunction()
1015 // Loop over the argument list, transferring uses of the old arguments over to in removeDeadStuffFromFunction()
1028 // If this argument is dead, replace any uses of it with poison in removeDeadStuffFromFunction()
1029 // (any non-debug value uses will get removed later on). in removeDeadStuffFromFunction()