From c9d9b92dc119dbfce7201100991a281d93f4f191 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 27 Mar 2012 11:25:16 +0000 Subject: llvm/docs/*.html: Fix markups. llvm-svn: 153508 --- llvm/docs/ProgrammersManual.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'llvm/docs/ProgrammersManual.html') diff --git a/llvm/docs/ProgrammersManual.html b/llvm/docs/ProgrammersManual.html index f4c03222b20..1a7f215ae0a 100644 --- a/llvm/docs/ProgrammersManual.html +++ b/llvm/docs/ProgrammersManual.html @@ -2567,7 +2567,7 @@ block but not delete it, you can use the removeFromParent() method.

-

Replacing individual instructions

+
Replacing individual instructions

Including "llvm/Transforms/Utils/BasicBlockUtils.h" permits use of two very useful replace functions: ReplaceInstWithValue @@ -2575,6 +2575,7 @@ and ReplaceInstWithInst.

Deleting Instructions
+
  • ReplaceInstWithValue @@ -2611,7 +2612,9 @@ ReplaceInstWithInst(instToReplace->getParent()->getInstList(), ii,
-

Replacing multiple uses of Users and Values

+
+ +
Replacing multiple uses of Users and Values

You can use Value::replaceAllUsesWith and User::replaceUsesOfWith to change more than one use at a time. See the @@ -3305,13 +3308,12 @@ helpful member functions that try to make common operations easy.

+
  • Module::Module(std::string name = "") -

    Constructing a Module is easy. You can optionally +

    Constructing a Module is easy. You can optionally provide a name for it (probably based on the name of the translation unit).

    +
  • -