Skip to content
  1. Jan 16, 2009
  2. Jan 15, 2009
    • Mon P Wang's avatar
      Added missing support to widen an operand from a bit convert. · e248edff
      Mon P Wang authored
      llvm-svn: 62285
      e248edff
    • Dan Gohman's avatar
      Generalize the HazardRecognizer interface so that it can be used · 7e105f0b
      Dan Gohman authored
      to support MachineInstr-based scheduling in addition to
      SDNode-based scheduling.
      
      llvm-svn: 62284
      7e105f0b
    • Dan Gohman's avatar
      Simplify the MachineLICM pass by having it only traverse outer · 79618d1d
      Dan Gohman authored
      loops, hoisting instructions all the way out in one step rather
      than hoisting them one nest level at a time. Also, make a few
      other code simplifications. This speeds up MachineLICM
      by several fold.
      
      llvm-svn: 62283
      79618d1d
    • Rafael Espindola's avatar
      Fix Alpha test and support for private linkage. · f2831d6c
      Rafael Espindola authored
      llvm-svn: 62282
      f2831d6c
    • Mon P Wang's avatar
      Expand insert/extract of a <4 x i32> with a variable index. · ebfafee9
      Mon P Wang authored
      llvm-svn: 62281
      ebfafee9
    • Rafael Espindola's avatar
      Add the private linkage. · 6de96a1b
      Rafael Espindola authored
      llvm-svn: 62279
      6de96a1b
    • Nuno Lopes's avatar
      add codegen support to union casts · 7ffcf93b
      Nuno Lopes authored
      init of static vars still not working. I'll get back to it tomorrow or so
      
      llvm-svn: 62278
      7ffcf93b
    • Ted Kremenek's avatar
      PTH: Fix termination condition in binary search. · 4bbb79a6
      Ted Kremenek authored
      llvm-svn: 62277
      4bbb79a6
    • Devang Patel's avatar
      Use lightweight DebugInfo objects directly. · 851cdaf1
      Devang Patel authored
      llvm-svn: 62276
      851cdaf1
    • Dan Gohman's avatar
      Move a few containers out of ScheduleDAGInstrs::BuildSchedGraph · 619ef48a
      Dan Gohman authored
      and into the ScheduleDAGInstrs class, so that they don't get
      destructed and re-constructed for each block. This fixes a
      compile-time hot spot in the post-pass scheduler.
      
      To help facilitate this, tidy and do some minor reorganization
      in the scheduler constructor functions.
      
      llvm-svn: 62275
      619ef48a
    • Chris Lattner's avatar
      PR3330: given an enum like this: · e53c036d
      Chris Lattner authored
      enum E {
       A = 1U,
       B
      };
      
      Don't make an implicit cast expr of null for B.
      
      llvm-svn: 62274
      e53c036d
    • Ted Kremenek's avatar
      IdentifierInfo: · a705b04d
      Ted Kremenek authored
      - IdentifierInfo can now (optionally) have its string data not be
        co-located with itself.  This is for use with PTH.  This aspect is a
        little gross, as getName() and getLength() now make assumptions
        about a possible alternate representation of IdentifierInfo.
        Perhaps we should make IdentifierInfo have virtual methods?
      
      IdentifierTable:
      - Added class "IdentifierInfoLookup" that can be used by
        IdentifierTable to perform "string -> IdentifierInfo" lookups using
        an auxilliary data structure.  This is used by PTH.
      - Perform tests show that IdentifierTable::get() does not slow down
        because of the extra check for the IdentiferInfoLookup object (the
        regular StringMap lookup does enough work to mitigate the impact of
        an extra null pointer check).
      - The upshot is that now that some IdentifierInfo objects might be
        owned by the IdentiferInfoLookup object.  This should be reviewed.
      
      PTH:
      - Modified PTHManager::GetIdentifierInfo to *not* insert entries in
        IdentifierTable's string map, and instead create IdentifierInfo
        objects on the fly when mapping from persistent IDs to
        IdentifierInfos.  This saves a ton of work with string copies,
        hashing, and StringMap lookup and resizing.  This change was
        motivated because when processing source files in the PTH cache we
        don't need to do any string -> IdentifierInfo lookups.
      - PTHManager now subclasses IdentifierInfoLookup, allowing clients of
        IdentifierTable to transparently use IdentifierInfo objects managed
        by the PTH file.  PTHManager resolves "string -> IdentifierInfo"
        queries by doing a binary search over a sorted table of identifier
        strings in the PTH file (the exact algorithm we use can be changed
        as needed).
      
      These changes lead to the following performance changes when using PTH on Cocoa.h:
      - fsyntax-only: 10% performance improvement
      - Eonly: 30% performance improvement
      
      llvm-svn: 62273
      a705b04d
Loading