Commit Graph

6 Commits

Author SHA1 Message Date
Michael Gottesman
93b92a8f9f Add in Passes.def for metaprogramming with SILPassKinds.
This simplifies some code in SILOpt and SILPasses. The real reason to do it is
to use it to procedurally generate random pipelines.

Swift SVN r23996
2014-12-17 23:56:26 +00:00
Arnold Schwaighofer
666f8f0f4a Move view-cfg-only-for-function into SILFunction::viewCFG
Swift SVN r21923
2014-09-12 21:05:19 +00:00
Michael Gottesman
4f474696bc [cfg-printer] Add SILFunction::viewCFG() and move the implementation of view cfg into SILFunction. Have CFGPrinter call it.
Swift SVN r19183
2014-06-25 21:36:38 +00:00
Michael Gottesman
09bd502f68 [cfg-printer] Create options for controlling long lines, max columns, and removal of use list comments.
Swift SVN r19176
2014-06-25 20:47:50 +00:00
Michael Gottesman
c5cf8a04d5 [cfg-printer] Add an option to only dump the CFG of a specific function.
This is useful if one wants to view the CFG of only one function from a large
SIL file (e.g. the stdlib).

Swift SVN r19169
2014-06-25 17:38:42 +00:00
Michael Gottesman
90f578f047 Add a CFG Printer pass. This should make it easier to visualize SIL Code.
Swift SVN r19156
2014-06-25 10:14:29 +00:00