llvm.org GIT mirror llvm / 79223ed
Added comma after `i.e.' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7367 91177308-0d34-0410-b5e6-96231b3b80d8 Misha Brukman 17 years ago
1 changed file(s) with 3 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
640640
641641 Say that you're writing a FunctionPass and would like to count all the
642642 locations in the entire module (that is, across every
643 Function) where a certain function (i.e. some
644 Function*) already in scope. As you'll learn later, you may
643 Function) where a certain function (i.e., some
644 Function*) is already in scope. As you'll learn later, you may
645645 want to use an InstVisitor to accomplish this in a much more
646646 straightforward manner, but this example will allow us to explore how
647647 you'd do it if you didn't have InstVisitor around. In
868868

Replacing individual instructions

869869

870870 Including "
871 href="/doxygen/BasicBlockUtils_8h-source.html">llvm/Transforms/Utils/BasicBlockUtils.h
872 " permits use of two very useful replace functions:
871 href="/doxygen/BasicBlockUtils_8h-source.html">llvm/Transforms/Utils/BasicBlockUtils.h" permits use of two very useful replace functions:
873872 ReplaceInstWithValue and ReplaceInstWithInst.
874873
875874