Skip to content
  1. Feb 06, 2008
  2. Feb 05, 2008
  3. Jan 26, 2008
  4. Jan 12, 2008
  5. Jan 03, 2008
  6. Dec 29, 2007
  7. Dec 18, 2007
  8. Dec 02, 2007
  9. Nov 28, 2007
  10. Oct 31, 2007
  11. Oct 30, 2007
  12. Sep 13, 2007
    • Steve Naroff's avatar
      · 9def2b15
      Steve Naroff authored
      Phase 2 of making the Decl class more lightweight...
      
      Move Identifier/Loc instance variables (and associated getters/setters) down from Decl to ScopedDecl/FieldDecl.
      
      Objc AST's can now inherit from Decl without getting instance variables and types that are C specific. For now, I am keeping NextDeclarator, since I believe it may be useful to ObjC. If not, it can be moved later.
      
      llvm-svn: 41934
      9def2b15
  13. Aug 31, 2007
  14. Aug 21, 2007
  15. Jul 14, 2007
  16. Jul 13, 2007
  17. Jun 22, 2007
  18. Jun 20, 2007
    • Chris Lattner's avatar
      Hook up global function and variable handling. We can now compile: · b6984c48
      Chris Lattner authored
      int X, bar(int,int,int);
      short Y;
      
      double foo() {
        return bar(X, Y, 3);
      }
      
      into:
      
      @X = external global i32                ; <i32*> [#uses=1]
      @Y = external global i16                ; <i16*> [#uses=1]
      
      define double @foo() {
      entry:
              %tmp = load i32* @X             ; <i32> [#uses=1]
              %tmp1 = load i16* @Y            ; <i16> [#uses=1]
              %promote = sext i16 %tmp1 to i32                ; <i32> [#uses=1]
              %call = tail call i32 @bar( i32 %tmp, i32 %promote, i32 3 )             ; <i32> [#uses=1]
              %conv = sitofp i32 %call to double              ; <double> [#uses=1]
              ret double %conv
      }
      
      declare i32 @bar(i32, i32, i32)
      
      llvm-svn: 39663
      b6984c48
  19. Jun 16, 2007
  20. May 30, 2007
  21. May 28, 2007
  22. May 24, 2007
Loading