Skip to content
  1. Feb 26, 2012
  2. Feb 23, 2012
  3. Feb 22, 2012
  4. Feb 19, 2012
  5. Feb 10, 2012
    • Andrew Trick's avatar
      RegAlloc superpass: includes phi elimination, coalescing, and scheduling. · d3f8fe81
      Andrew Trick authored
      Creates a configurable regalloc pipeline.
      
      Ensure specific llc options do what they say and nothing more: -reglloc=... has no effect other than selecting the allocator pass itself. This patch introduces a new umbrella flag, "-optimize-regalloc", to enable/disable the optimizing regalloc "superpass". This allows for example testing coalscing and scheduling under -O0 or vice-versa.
      
      When a CodeGen pass requires the MachineFunction to have a particular property, we need to explicitly define that property so it can be directly queried rather than naming a specific Pass. For example, to check for SSA, use MRI->isSSA, not addRequired<PHIElimination>.
      
      CodeGen transformation passes are never "required" as an analysis
      
      ProcessImplicitDefs does not require LiveVariables.
      
      We have a plan to massively simplify some of the early passes within the regalloc superpass.
      
      llvm-svn: 150226
      d3f8fe81
  6. Feb 07, 2012
  7. Feb 06, 2012
  8. Feb 05, 2012
    • Chris Lattner's avatar
      reapply the patches reverted in r149470 that reenable ConstantDataArray, · cf9e8f69
      Chris Lattner authored
      but with a critical fix to the SelectionDAG code that optimizes copies
      from strings into immediate stores: the previous code was stopping reading
      string data at the first nul.  Address this by adding a new argument to
      llvm::getConstantStringInfo, preserving the behavior before the patch.
      
      llvm-svn: 149800
      cf9e8f69
  9. Feb 03, 2012
  10. Feb 01, 2012
    • Stepan Dyatkovskiy's avatar
      SwitchInst refactoring. · 513aaa56
      Stepan Dyatkovskiy authored
      The purpose of refactoring is to hide operand roles from SwitchInst user (programmer). If you want to play with operands directly, probably you will need lower level methods than SwitchInst ones (TerminatorInst or may be User). After this patch we can reorganize SwitchInst operands and successors as we want.
      
      What was done:
      
      1. Changed semantics of index inside the getCaseValue method:
      getCaseValue(0) means "get first case", not a condition. Use getCondition() if you want to resolve the condition. I propose don't mix SwitchInst case indexing with low level indexing (TI successors indexing, User's operands indexing), since it may be dangerous.
      2. By the same reason findCaseValue(ConstantInt*) returns actual number of case value. 0 means first case, not default. If there is no case with given value, ErrorIndex will returned.
      3. Added getCaseSuccessor method. I propose to avoid usage of TerminatorInst::getSuccessor if you want to resolve case successor BB. Use getCaseSuccessor instead, since internal SwitchInst organization of operands/successors is hidden and may be changed in any moment.
      4. Added resolveSuccessorIndex and resolveCaseIndex. The main purpose of these methods is to see how case successors are really mapped in TerminatorInst.
      4.1 "resolveSuccessorIndex" was created if you need to level down from SwitchInst to TerminatorInst. It returns TerminatorInst's successor index for given case successor.
      4.2 "resolveCaseIndex" converts low level successors index to case index that curresponds to the given successor.
      
      Note: There are also related compatability fix patches for dragonegg, klee, llvm-gcc-4.0, llvm-gcc-4.2, safecode, clang.
      llvm-svn: 149481
      513aaa56
    • Argyrios Kyrtzidis's avatar
      Revert Chris' commits up to r149348 that started causing VMCoreTests unit test to fail. · 17c981a4
      Argyrios Kyrtzidis authored
      These are:
      
      r149348
      r149351
      r149352
      r149354
      r149356
      r149357
      r149361
      r149362
      r149364
      r149365
      
      llvm-svn: 149470
      17c981a4
    • Hal Finkel's avatar
      Add a basic-block autovectorization pass. · c34e5113
      Hal Finkel authored
      This is the initial checkin of the basic-block autovectorization pass along with some supporting vectorization infrastructure.
      Special thanks to everyone who helped review this code over the last several months (especially Tobias Grosser).
      
      llvm-svn: 149468
      c34e5113
  11. Jan 31, 2012
  12. Jan 30, 2012
  13. Jan 27, 2012
  14. Jan 26, 2012
  15. Jan 20, 2012
  16. Jan 19, 2012
  17. Jan 17, 2012
  18. Jan 16, 2012
    • Jim Grosbach's avatar
      MCJIT support for non-function sections. · eff0a40d
      Jim Grosbach authored
      Move to a by-section allocation and relocation scheme. This allows
      better support for sections which do not contain externally visible
      symbols.
      
      Flesh out the relocation address vs. local storage address separation a
      bit more as well. Remote process JITs use this to tell the relocation
      resolution code where the code will live when it executes.
      
      The startFunctionBody/endFunctionBody interfaces to the JIT and the
      memory manager are deprecated. They'll stick around for as long as the
      old JIT does, but the MCJIT doesn't use them anymore.
      
      llvm-svn: 148258
      eff0a40d
    • Eli Bendersky's avatar
      Adding a basic ELF dynamic loader and MC-JIT for ELF. Functionality is... · 4c647587
      Eli Bendersky authored
      Adding a basic ELF dynamic loader and MC-JIT for ELF. Functionality is currently basic and will be enhanced with future patches.
      Patch developed by Andy Kaylor and Daniel Malea. Reviewed on llvm-commits.
      
      llvm-svn: 148231
      4c647587
  19. Jan 11, 2012
  20. Jan 10, 2012
  21. Jan 07, 2012
  22. Dec 30, 2011
  23. Dec 25, 2011
  24. Dec 23, 2011
  25. Dec 20, 2011
Loading