[PATCH 0/9] dump IR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The goal of this series is to add finer control to the dumping
of sparse's IR. As a kind of side-effect, this series also
add the notion of 'passes' and add some control to them.

Notes:
*) this series doesn't impact the tools 'sparse', only
   test-linearize (and test-unssa).
*) the added options & control are only meant to facilite
   development concerning the generation of the IR.
*) this series depends on the previous 'option parsing
   improvements' series.


Luc Van Oostenryck (9):
  dump-ir: add defines for the compilation passes
  dump-ir: allow to specify the passes to execute via cli's options
  dump-ir: activate/deactive pass 'mem2reg'
  dump-ir: set the default optimization level to 2
  dump-ir: use -O0
  dump-ir: saner use of fdump_linearize
  dump-ir: rename -fdump-linearize to -fdump-ir
  dump-ir: make it more flexible
  dump-ir: activate -fdump-ir=mem2reg

 Documentation/options.md               |  29 +++++++++
 cgcc                                   |   3 +-
 lib.c                                  | 113 ++++++++++++++++++++++++++++++---
 lib.h                                  |  19 +++++-
 linearize.c                            |  12 ++--
 sparse.1                               |   6 --
 test-linearize.c                       |   2 +
 test-unssa.c                           |   2 +
 validation/linear/bitfield-init-mask.c |   2 +-
 9 files changed, 164 insertions(+), 24 deletions(-)
 create mode 100644 Documentation/options.md

-- 
2.14.0

--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux