From: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
To: linux-sparse@vger.kernel.org
Cc: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Subject: [PATCH 0/9] dump IR
Date: Wed, 8 Nov 2017 11:27:53 +0100 [thread overview]
Message-ID: <20171108102802.43987-1-luc.vanoostenryck@gmail.com> (raw)
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
next reply other threads:[~2017-11-08 10:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-08 10:27 Luc Van Oostenryck [this message]
2017-11-08 10:27 ` [PATCH 1/9] dump-ir: add defines for the compilation passes Luc Van Oostenryck
2017-11-08 10:27 ` [PATCH 2/9] dump-ir: allow to specify the passes to execute via cli's options Luc Van Oostenryck
2017-11-08 10:27 ` [PATCH 3/9] dump-ir: activate/deactive pass 'mem2reg' Luc Van Oostenryck
2017-11-08 10:27 ` [PATCH 4/9] dump-ir: set the default optimization level to 2 Luc Van Oostenryck
2017-11-08 10:27 ` [PATCH 5/9] dump-ir: use -O0 Luc Van Oostenryck
2017-11-08 10:27 ` [PATCH 6/9] dump-ir: saner use of fdump_linearize Luc Van Oostenryck
2017-11-08 10:28 ` [PATCH 7/9] dump-ir: rename -fdump-linearize to -fdump-ir Luc Van Oostenryck
2017-11-08 10:28 ` [PATCH 8/9] dump-ir: make it more flexible Luc Van Oostenryck
2017-11-08 10:28 ` [PATCH 9/9] dump-ir: activate -fdump-ir=mem2reg Luc Van Oostenryck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171108102802.43987-1-luc.vanoostenryck@gmail.com \
--to=luc.vanoostenryck@gmail.com \
--cc=linux-sparse@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).