Skip to content
  1. Jul 27, 2013
  2. Jun 24, 2013
    • Chandler Carruth's avatar
      Add a flag to defer vectorization into a phase after the inliner and its · 08e1b874
      Chandler Carruth authored
      CGSCC pass manager. This should insulate the inlining decisions from the
      vectorization decisions, however it may have both compile time and code
      size problems so it is just an experimental option right now.
      
      Adding this based on a discussion with Arnold and it seems at least
      worth having this flag for us to both run some experiments to see if
      this strategy is workable. It may solve some of the regressions seen
      with the loop vectorizer.
      
      llvm-svn: 184698
      08e1b874
  3. Jun 20, 2013
    • Meador Inge's avatar
      Remove the simplify-libcalls pass (finally) · dfb08a2c
      Meador Inge authored
      This commit completely removes what is left of the simplify-libcalls
      pass.  All of the functionality has now been migrated to the instcombine
      and functionattrs passes.  The following C API functions are now NOPs:
      
        1. LLVMAddSimplifyLibCallsPass
        2. LLVMPassManagerBuilderSetDisableSimplifyLibCalls
      
      llvm-svn: 184459
      dfb08a2c
  4. Jun 17, 2013
  5. Jun 07, 2013
  6. May 01, 2013
    • Filip Pizlo's avatar
      This patch breaks up Wrap.h so that it does not have to include all of · dec20e43
      Filip Pizlo authored
      the things, and renames it to CBindingWrapping.h.  I also moved 
      CBindingWrapping.h into Support/.
      
      This new file just contains the macros for defining different wrap/unwrap 
      methods.
      
      The calls to those macros, as well as any custom wrap/unwrap definitions 
      (like for array of Values for example), are put into corresponding C++ 
      headers.
      
      Doing this required some #include surgery, since some .cpp files relied 
      on the fact that including Wrap.h implicitly caused the inclusion of a 
      bunch of other things.
      
      This also now means that the C++ headers will include their corresponding 
      C API headers; for example Value.h must include llvm-c/Core.h.  I think 
      this is harmless, since the C API headers contain just external function 
      declarations and some C types, so I don't believe there should be any 
      nasty dependency issues here.
      
      llvm-svn: 180881
      dec20e43
  7. Apr 23, 2013
  8. Apr 16, 2013
  9. Apr 15, 2013
  10. Mar 10, 2013
  11. Mar 06, 2013
  12. Jan 29, 2013
    • Hal Finkel's avatar
      Unroll again after running BBVectorize · bf4db4fe
      Hal Finkel authored
      Because BBVectorize may significantly shorten a loop body, unroll
      again after vectorization. This is especially important when using
      runtime or partial unrolling.
      
      llvm-svn: 173730
      bf4db4fe
  13. Jan 07, 2013
  14. Jan 04, 2013
  15. Dec 21, 2012
  16. Dec 19, 2012
  17. Dec 18, 2012
  18. Dec 15, 2012
  19. Dec 14, 2012
  20. Dec 12, 2012
  21. Dec 10, 2012
  22. Dec 03, 2012
    • Chandler Carruth's avatar
      Use the new script to sort the includes of every file under lib. · ed0881b2
      Chandler Carruth authored
      Sooooo many of these had incorrect or strange main module includes.
      I have manually inspected all of these, and fixed the main module
      include to be the nearest plausible thing I could find. If you own or
      care about any of these source files, I encourage you to take some time
      and check that these edits were sensible. I can't have broken anything
      (I strictly added headers, and reordered them, never removed), but they
      may not be the headers you'd really like to identify as containing the
      API being implemented.
      
      Many forward declarations and missing includes were added to a header
      files to allow them to parse cleanly when included first. The main
      module rule does in fact have its merits. =]
      
      llvm-svn: 169131
      ed0881b2
  23. Nov 29, 2012
  24. Nov 15, 2012
  25. Oct 30, 2012
  26. Oct 29, 2012
  27. Oct 26, 2012
  28. Oct 25, 2012
  29. Oct 18, 2012
    • Chandler Carruth's avatar
      Introduce a BarrierNoop pass, a hack designed to allow *some* control · e8479e15
      Chandler Carruth authored
      over the implicitly-formed-and-nesting CGSCC pass manager and function
      pass managers, especially when using them on the opt commandline or
      using extension points in the module builder. The '-barrier' opt flag
      (or the pass itself) will create a no-op module pass in the pipeline,
      resetting the pass manager stack, and allowing the creation of a new
      pipeline of function passes or CGSCC passes to be created that is
      independent from any previous pipelines.
      
      For example, this can be used to test running two CGSCC passes in
      independent CGSCC pass managers as opposed to in the same CGSCC pass
      manager. It also allows us to introduce a further hack into the
      PassManagerBuilder to separate the O0 pipeline extension passes from the
      always-inliner's CGSCC pass manager, which they likely do not want to
      participate in... At the very least none of the Sanitizer passes want
      this behavior.
      
      This fixes a bug with ASan at O0 currently, and I'll commit the ASan
      test which covers this pass. I'm happy to add a test case that this pass
      exists and works, but not sure how much time folks would like me to
      spend adding test cases for the details of its behavior of partition
      pass managers.... The whole thing is just vile, and mostly intended to
      unblock ASan, so I'm hoping to rip this all out in a brave new pass
      manager world.
      
      llvm-svn: 166172
      e8479e15
  30. Oct 17, 2012
Loading