diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index b6c9a8793c2..a2d32d4e985 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -1960,12 +1960,12 @@ for (Value::use_iterator i = F->use_begin(), e = F->use_end(); i != e; ++i errs() << *Inst << "\n"; } -Note that dereferencing a Value::use_iterator + +Note that dereferencing a Value::use_iterator is not a very cheap operation. Instead of performing *i above several times, consider doing it only once in the loop body and reusing its result. - -

Alternatively, it's common to have an instance of the User Class and need to know what Values are used by it. The list of all Values used by a