Francis Visoiu Mistrih
25528d6de7
[CodeGen] Unify MBB reference format in both MIR and debug output
...
As part of the unification of the debug format and the MIR format, print
MBB references as '%bb.5'.
The MIR printer prints the IR name of a MBB only for block definitions.
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" \) -type f -print0 | xargs -0 sed -i '' -E 's/BB#" << ([a-zA-Z0-9_]+)->getNumber\(\)/" << printMBBReference(*\1)/g'
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" \) -type f -print0 | xargs -0 sed -i '' -E 's/BB#" << ([a-zA-Z0-9_]+)\.getNumber\(\)/" << printMBBReference(\1)/g'
* find . \( -name "*.txt" -o -name "*.s" -o -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" \) -type f -print0 | xargs -0 sed -i '' -E 's/BB#([0-9]+)/%bb.\1/g'
* grep -nr 'BB#' and fix
Differential Revision: https://reviews.llvm.org/D40422
llvm-svn: 319665
2017-12-04 17:18:51 +00:00
..
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-04-16 23:24:18 +00:00
2015-04-16 23:24:18 +00:00
2015-04-16 23:24:18 +00:00
2017-07-16 23:33:50 +00:00
2015-02-27 21:17:42 +00:00
2015-03-13 18:20:45 +00:00
2015-04-16 23:24:18 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-04-16 23:24:18 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-03-13 18:20:45 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-06-17 20:52:32 +00:00
2017-02-08 10:24:18 +00:00
2015-06-17 20:52:32 +00:00
2015-03-16 21:36:38 +00:00
2017-02-08 10:24:18 +00:00
2015-06-17 20:52:32 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-04-16 23:24:18 +00:00
2015-03-12 20:38:10 +00:00
2015-04-16 23:24:18 +00:00
2015-03-13 18:20:45 +00:00
2015-09-11 03:22:04 +00:00
2015-05-12 01:26:05 +00:00
2015-02-27 21:17:42 +00:00
2015-06-17 20:52:32 +00:00
2017-07-16 23:33:50 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-04-16 23:24:18 +00:00
2015-04-16 23:24:18 +00:00
2015-04-16 23:24:18 +00:00
2015-03-13 18:20:45 +00:00
2015-02-27 21:17:42 +00:00
2015-04-16 23:24:18 +00:00
2015-02-27 21:17:42 +00:00
2017-11-30 11:06:22 +00:00
2015-04-16 23:24:18 +00:00
2015-04-16 23:24:18 +00:00
2017-01-05 20:55:28 +00:00
2015-04-16 23:24:18 +00:00
2015-04-16 23:24:18 +00:00
2015-03-13 18:20:45 +00:00
2015-02-27 21:17:42 +00:00
2015-08-28 20:26:49 +00:00
2015-06-17 20:52:32 +00:00
2016-04-05 14:21:32 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-06-17 20:52:32 +00:00
2017-05-10 09:42:49 +00:00
2017-03-02 12:00:10 +00:00
2015-03-13 18:20:45 +00:00
2015-11-19 05:56:52 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-04-16 23:24:18 +00:00
2017-02-27 16:09:44 +00:00
2017-02-08 10:24:18 +00:00
2017-11-08 21:59:51 +00:00
2015-11-19 05:56:52 +00:00
2015-09-16 05:34:32 +00:00
2017-11-03 12:12:27 +00:00
2017-12-04 17:18:51 +00:00
2017-04-13 16:05:35 +00:00
2015-04-16 23:24:18 +00:00
2017-05-18 17:21:13 +00:00
2017-03-01 01:56:41 +00:00
2015-04-16 23:24:18 +00:00
2015-02-27 21:17:42 +00:00
2017-03-19 16:50:25 +00:00
2017-07-09 16:01:04 +00:00
2015-04-16 23:24:18 +00:00
2015-04-16 23:24:18 +00:00
2015-04-16 23:24:18 +00:00
2015-04-16 23:24:18 +00:00
2017-06-23 14:30:46 +00:00
2017-07-16 23:33:50 +00:00
2017-07-16 23:33:50 +00:00
2017-07-16 23:33:50 +00:00
2015-03-13 18:20:45 +00:00
2017-04-13 16:05:35 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2017-07-16 23:33:50 +00:00
2015-07-03 08:02:12 +00:00
2015-02-27 21:17:42 +00:00
2017-07-16 23:33:50 +00:00
2017-07-16 23:33:50 +00:00
2017-09-01 22:17:14 +00:00