X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FProgrammersManual.html;h=46b82ddc21fb6f23c335d58a578b248562ae68c7;hb=04eeefb32a3ae7de4cde1908d30bff61e0d6b86e;hp=8aeec6ea2ba26e51c829d31e3b76ec445b0daaae;hpb=f1972c6aa2629d64edff0baba84a00d171557bdc;p=oota-llvm.git diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index 8aeec6ea2ba..46b82ddc21f 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -1,68 +1,122 @@ - -LLVM Programmer's Manual + + + + LLVM Programmer's Manual + + + + +
+ LLVM Programmer's Manual +
- - - - -
  LLVM Programmer's Manual
-
    -
  1. Introduction +
  2. Introduction
  3. General Information - +
  4. Important and useful LLVM APIs - +
  5. +
  6. Picking the Right Data Structure for a Task + +
  7. Helpful Hints for Common Operations - -
  8. The Core LLVM Class Hierarchy Reference +--> + +
  9. + +
  10. Advanced Topics
  11. + +
  12. The Core LLVM Class Hierarchy Reference -
  13. The SymbolTable class -
  14. The ilist and iplist classes - -
  15. Important iterator invalidation semantics to be aware of - - -

    Written by Chris Lattner, - Dinakar Dhurjati, and - Joel Stanley

    +

+
+

Written by Chris Lattner, + Dinakar Dhurjati, + Gabor Greif, + Joel Stanley and + Reid Spencer

+
- -
-Introduction -
-
-General Information -
-
   - -The C++ Standard Template Library -
-
-Important and useful LLVM APIs -
-
   - -The isa<>, cast<> and dyn_cast<> templates -
-
   - -The DEBUG() macro & -debug option -


Fine grained debug info with - DEBUG_TYPE() and the -debug-only option

-
   - -The Statistic template & -stats -option -
-
-Helpful Hints for Common Operations -
-
   - -Basic Inspection and Traversal Routines -


Iterating over the
BasicBlocks in a Function


Iterating over the
Instructions in a BasicBlock


Iterating over the
Instructions in a Function


Turning an iterator into a class -pointer (and vice-versa)


Finding call sites: a slightly -more complex example


Treating calls and -invokes the same way


Iterating over def-use & -use-def chains

-
   - -Making simple changes -


Creating and inserting - new Instructions


Deleting -Instructions


Replacing an - Instruction with another Value

-
-The Core LLVM Class Hierarchy Reference -
-
   - -The Value class -


Important Public Members of -the Value class

-
   - -The User class -


Important Public Members of -the User class

-
   - -The Instruction class -


Important Public Members of -the BasicBlock class

-
   - -The GlobalValue class -


Important Public Members of -the GlobalValue class

-
   - -The Function class -


Important Public Members of -the Function class

-
   - -The GlobalVariable class -


Important Public Members of the -GlobalVariable class

-
   - -The Module class -
-
   - -The Constant class and subclasses -


Important Public Methods

-
   - -The Argument class -
- -
-
By: Dinakar Dhurjati and -Chris Lattner
-The LLVM Compiler Infrastructure -
- - -Last modified: Fri Nov 7 13:24:22 CST 2003 - -
+
+
+ Valid CSS! + Valid HTML 4.01 Strict + + Dinakar Dhurjati and + Chris Lattner
+ The LLVM Compiler Infrastructure
+ Last modified: $Date$ +
+ + +