From 9c55f5965ba337469466fafec364b0ea6eca459f 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153508 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/ProgrammersManual.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'docs/ProgrammersManual.html') diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index f4c03222b2..1a7f215ae0 100644 --- a/docs/ProgrammersManual.html +++ b/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).

    +
  • -