From b114a8068777bc6aaaacbae3dafddd6fd131a5df Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Fri, 26 Mar 2010 19:35:48 +0000 Subject: fix formatting and a validation fail git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99640 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/ProgrammersManual.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/ProgrammersManual.html') diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index b6c9a87..a2d32d4 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 -- cgit v1.1