Skip to content
  1. Jul 23, 2012
  2. Jul 16, 2012
  3. Jul 03, 2012
  4. Jul 02, 2012
    • Stepan Dyatkovskiy's avatar
      IntRange: · 8b9ecca4
      Stepan Dyatkovskiy authored
        - Changed isSingleNumber method behaviour. Now this flag is calculated on demand.
      IntegersSubsetMapping
        - Optimized diff operation.
        - Replaced type of Items field from std::list with std::map.
        - Added new methods:
          bool isOverlapped(self &RHS)
          void add(self& RHS, SuccessorClass *S)
          void detachCase(self& NewMapping, SuccessorClass *Succ)
          void removeCase(SuccessorClass *Succ)
          SuccessorClass *findSuccessor(const IntTy& Val)
          const IntTy* getCaseSingleNumber(SuccessorClass *Succ)
      IntegersSubsetTest
        - DiffTest: Added checks for successors.
      SimplifyCFG
        Updated SwitchInst usage (now it is case-ragnes compatible) for
          - SimplifyEqualityComparisonWithOnlyPredecessor
          - FoldValueComparisonIntoPredecessors
      
      llvm-svn: 159527
      8b9ecca4
  5. Jun 29, 2012
    • Chandler Carruth's avatar
      Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.h · aafe0918
      Chandler Carruth authored
      This was always part of the VMCore library out of necessity -- it deals
      entirely in the IR. The .cpp file in fact was already part of the VMCore
      library. This is just a mechanical move.
      
      I've tried to go through and re-apply the coding standard's preferred
      header sort, but at 40-ish files, I may have gotten some wrong. Please
      let me know if so.
      
      I'll be committing the corresponding updates to Clang and Polly, and
      Duncan has DragonEgg.
      
      Thanks to Bill and Eric for giving the green light for this bit of cleanup.
      
      llvm-svn: 159421
      aafe0918
    • Bill Wendling's avatar
      The DIBuilder class is just a wrapper around debug info creation · f799efde
      Bill Wendling authored
      (a.k.a. MDNodes). The module doesn't belong in Analysis. Move it to the VMCore
      instead.
      
      llvm-svn: 159414
      f799efde
  6. Jun 28, 2012
  7. Jun 26, 2012
  8. Jun 24, 2012
  9. Jun 22, 2012
  10. Jun 21, 2012
  11. Jun 20, 2012
  12. Jun 19, 2012
    • Chandler Carruth's avatar
      Fix PR13148, an inf-loop in StringMap. · 198422a4
      Chandler Carruth authored
      StringMap suffered from the same bug as DenseMap: when you explicitly
      construct it with a small number of buckets, you can arrange for the
      tombstone-based growth path to be followed when the number of buckets
      was less than '8'. In that case, even with a full map, it would compare
      '0' as not less than '0', and refuse to grow the table, leading to
      inf-loops trying to find an empty bucket on the next insertion. The fix
      is very simple: use '<=' as the comparison. The same fix was applied to
      DenseMap as well during its recent refactoring.
      
      Thanks to Alex Bolz for the great report and test case. =]
      
      llvm-svn: 158725
      198422a4
    • Chandler Carruth's avatar
      Remove some superfluous SCOPED_TRACEs from this unit test. · fc3856d9
      Chandler Carruth authored
      GoogleTest already prints errors with all the information about which
      test case contained the error.
      
      llvm-svn: 158724
      fc3856d9
  13. Jun 17, 2012
Loading