Skip to content
  1. Sep 19, 2009
  2. 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
  3. Sep 17, 2009
  4. Sep 16, 2009
  5. Sep 15, 2009
  6. Sep 11, 2009
  7. Sep 10, 2009
  8. Sep 09, 2009
  9. Sep 08, 2009
  10. Sep 07, 2009
  11. Sep 06, 2009
  12. Sep 04, 2009
    • Andreas Neustifter's avatar
      Converted MaximumSpanningTree algorithm to a generic template, this could go · 18156bd7
      Andreas Neustifter authored
      into llvm/ADT.
      
      llvm-svn: 81001
      18156bd7
    • Dan Gohman's avatar
      Include optional subclass flags, such as inbounds, nsw, etc., in the · 0c2477c2
      Dan Gohman authored
      Constant uniquing tables. This allows distinct ConstantExpr objects
      with the same operation and different flags.
      
      Even though a ConstantExpr "a + b" is either always overflowing or
      never overflowing (due to being a ConstantExpr), it's still necessary
      to be able to represent it both with and without overflow flags at
      the same time within the IR, because the safety of the flag may
      depend on the context of the use. If the constant really does overflow,
      it wouldn't ever be safe to use with the flag set, however the use
      may be in code that is never actually executed.
      
      This also makes it possible to merge all the flags tests into a single test.
      
      llvm-svn: 80998
      0c2477c2
Loading