Skip to content
  1. Jan 07, 2014
  2. Dec 05, 2013
  3. Nov 18, 2013
  4. Nov 04, 2013
  5. Oct 29, 2013
  6. Sep 07, 2013
  7. Aug 13, 2013
  8. Jun 07, 2013
  9. Apr 11, 2013
  10. Apr 03, 2013
  11. Feb 11, 2013
    • Akira Hatanaka's avatar
      [mips] Expand pseudo instructions before they are emitted in · bf1af1ac
      Akira Hatanaka authored
      MipsCodeEmitter.cpp.
      
      JALR and NOP are expanded by function emitPseudoExpansionLowering, which is not
      called when the old JIT is used.
      
      This fixes the following tests which have been failing on
      llvm-mips-linux builder:
      
      LLVM :: ExecutionEngine__2003-01-04-LoopTest.ll
      LLVM :: ExecutionEngine__2003-05-06-LivenessClobber.ll
      LLVM :: ExecutionEngine__2003-06-04-bzip2-bug.ll
      LLVM :: ExecutionEngine__2005-12-02-TailCallBug.ll
      LLVM :: ExecutionEngine__2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll
      LLVM :: ExecutionEngine__hello2.ll
      LLVM :: ExecutionEngine__stubs.ll
      LLVM :: ExecutionEngine__test-branch.ll
      LLVM :: ExecutionEngine__test-call.ll
      LLVM :: ExecutionEngine__test-common-symbols.ll
      LLVM :: ExecutionEngine__test-loadstore.ll
      LLVM :: ExecutionEngine__test-loop.ll
      
      llvm-svn: 174912
      bf1af1ac
    • Akira Hatanaka's avatar
      [mips] Fix indentation. · 3d38609f
      Akira Hatanaka authored
      llvm-svn: 174907
      3d38609f
  12. Jan 14, 2013
  13. Jan 02, 2013
    • Chandler Carruth's avatar
      Move all of the header files which are involved in modelling the LLVM IR · 9fb823bb
      Chandler Carruth authored
      into their new header subdirectory: include/llvm/IR. This matches the
      directory structure of lib, and begins to correct a long standing point
      of file layout clutter in LLVM.
      
      There are still more header files to move here, but I wanted to handle
      them in separate commits to make tracking what files make sense at each
      layer easier.
      
      The only really questionable files here are the target intrinsic
      tablegen files. But that's a battle I'd rather not fight today.
      
      I've updated both CMake and Makefile build systems (I think, and my
      tests think, but I may have missed something).
      
      I've also re-sorted the includes throughout the project. I'll be
      committing updates to Clang, DragonEgg, and Polly momentarily.
      
      llvm-svn: 171366
      9fb823bb
  14. Dec 10, 2012
  15. Dec 04, 2012
  16. Dec 03, 2012
    • Akira Hatanaka's avatar
      Functions in MipsCodeEmitter.cpp that expand unaligned loads/stores are dead · 60c2837e
      Akira Hatanaka authored
      code. Removing it.
      
      Patch by Petar Jovanovic.
      
      llvm-svn: 169174
      60c2837e
    • 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
  17. Oct 08, 2012
  18. Sep 15, 2012
  19. Aug 22, 2012
  20. Jul 24, 2012
  21. Jun 19, 2012
  22. Feb 17, 2012
  23. Jan 24, 2012
  24. Dec 30, 2011
  25. Dec 19, 2011
  26. Dec 07, 2011
    • Evan Cheng's avatar
      Add bundle aware API for querying instruction properties and switch the code · 7f8e563a
      Evan Cheng authored
      generator to it. For non-bundle instructions, these behave exactly the same
      as the MC layer API.
      
      For properties like mayLoad / mayStore, look into the bundle and if any of the
      bundled instructions has the property it would return true.
      For properties like isPredicable, only return true if *all* of the bundled
      instructions have the property.
      For properties like canFoldAsLoad, isCompare, conservatively return false for
      bundles.
      
      llvm-svn: 146026
      7f8e563a
  27. Dec 06, 2011
    • Evan Cheng's avatar
      First chunk of MachineInstr bundle support. · 2a81dd4a
      Evan Cheng authored
      1. Added opcode BUNDLE
      2. Taught MachineInstr class to deal with bundled MIs
      3. Changed MachineBasicBlock iterator to skip over bundled MIs; added an iterator to walk all the MIs
      4. Taught MachineBasicBlock methods about bundled MIs
      
      llvm-svn: 145975
      2a81dd4a
  28. Nov 11, 2011
    • Bruno Cardoso Lopes's avatar
      Mips MC object code emission improvements: · c85e3ff3
      Bruno Cardoso Lopes authored
      "With this patch we can now generate runnable Mips code through LLVM
      direct object emission. We have run numerous simple programs, both C
      and C++ and with -O0 and -O3 from the output. The code is not production
      ready, but quite useful for experimentation." Patch and message by
      Jack Carter
      
      llvm-svn: 144414
      c85e3ff3
  29. Nov 08, 2011
    • Bruno Cardoso Lopes's avatar
      This patch handles unaligned loads and stores in Mips JIT. Mips backend · 71133fe9
      Bruno Cardoso Lopes authored
      implements unaligned loads and stores with assembler macro-instructions
      ulw, usw, ulh, ulhu, ush, and this patch emits corresponding instructions
      instead of these macros. Since each unaligned load/store is expanded
      into two corresponding loads/stores where offset for second load/store is
      modified by +3 (for words) or +1 (for halfwords).
      
      Patch by Petar Jovanovic and Sasa Stankovic.
      
      llvm-svn: 144081
      71133fe9
  30. Oct 18, 2011
    • Bruno Cardoso Lopes's avatar
      Final patch that completes old JIT support for Mips: · 2312a3aa
      Bruno Cardoso Lopes authored
      -Fix binary codes and rename operands in .td files so that automatically
      generated function MipsCodeEmitter::getBinaryCodeForInstr gives correct
      encoding for instructions.
      -Define new class FMem for instructions that access memory.
      -Define new class FFRGPR for instructions that move data between GPR and
      FPU general and control registers.
      -Define custom encoder methods for memory operands, and also for size
      operands of ext and ins instructions.
      -Only static relocation model is currently implemented.
      
      Patch by Sasa Stankovic
      
      llvm-svn: 142378
      2312a3aa
  31. Sep 14, 2011
    • Bruno Cardoso Lopes's avatar
      One more patch towards JIT support for Mips. · 483c269a
      Bruno Cardoso Lopes authored
      - Add TSFlags for the instruction formats. The idea here is to use
        as much encoding as possible from getBinaryCodeForInstr, and having
        TSFLags formats for that would make it easier to encode most part
        of the instructions (since Mips encodings are pretty straightforward)
      - Improve the mips mechanism for compilation callback
      - Add Mips specific code for invalidating the instruction cache
      - Next patch will address wrong tablegen encoding
      
      Commit msg added by my own but the patch is from Sasa Stankovic.
      
      llvm-svn: 139688
      483c269a
  32. Jul 21, 2011
Loading