X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FProgrammersManual.html;h=716d364ed5699a2c73ca2c84ca93dbf3aee094be;hb=93c534623c4691d255ea6c870347482ff8752313;hp=bacb0d6b81bf0946016ae4ac59c1f4ea2b4abb4d;hpb=4bf44c294b096a9000ce8fb9a25ad352ad540d0e;p=oota-llvm.git diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index bacb0d6b81b..716d364ed56 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, + Joel Stanley, and + Reid Spencer

+
- -
-Introduction -
-
-General Information -
-
   - -The C++ Standard Template Library -
-
   - -Other useful references -
-
-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 Instruction class

-
   - -The BasicBlock 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! + + Dinakar Dhurjati and + Chris Lattner
+ The LLVM Compiler Infrastructure
+ Last modified: $Date$ +
+ + +