Skip to content
  1. Sep 28, 2009
  2. Sep 27, 2009
  3. Sep 24, 2009
  4. Sep 22, 2009
  5. Sep 19, 2009
  6. Sep 18, 2009
    • Victor Hernandez's avatar
      Update malloc call creation code (AllocType is now the element type of the... · 788eaabd
      Victor Hernandez authored
      Update malloc call creation code (AllocType is now the element type of the malloc, not the resulting type).
      
      In getMallocArraySize(), fix bug in the case that array size is the product of 2 constants.
      
      Extend isArrayMalloc() and getMallocArraySize() to handle case where malloc is used as char array.
      
      Ensure that ArraySize in LowerAllocations::runOnBasicBlock() is correct type.
      
      Extend Instruction::isSafeToSpeculativelyExecute() to handle malloc calls.
      
      Add verification for malloc calls.
      
      Reviewed by Dan Gohman.
      
      llvm-svn: 82257
      788eaabd
  7. Sep 16, 2009
  8. Sep 10, 2009
  9. Sep 09, 2009
  10. Sep 08, 2009
    • Dan Gohman's avatar
      Re-apply r80926, with fixes: keep the domtree informed of new blocks · 3ddbc242
      Dan Gohman authored
      that get created during loop unswitching, and fix SplitBlockPredecessors'
      LCSSA updating code to create new PHIs instead of trying to just move
      existing ones.
      
      Also, optimize Loop::verifyLoop, since it gets called a lot. Use
      searches on a sorted list of blocks instead of calling the "contains"
      function, as is done in other places in the Loop class, since "contains"
      does a linear search. Also, don't call verifyLoop from LoopSimplify or
      LCSSA, as the PassManager is already calling verifyLoop as part of
      LoopInfo's verifyAnalysis.
      
      llvm-svn: 81221
      3ddbc242
  11. Sep 07, 2009
  12. Sep 06, 2009
  13. Sep 03, 2009
  14. Sep 01, 2009
  15. Aug 29, 2009
  16. Aug 27, 2009
  17. Aug 26, 2009
  18. Aug 25, 2009
  19. Aug 23, 2009
Loading