Francis Visoiu Mistrih
ca0df55065
[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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319665 91177308-0d34-0410-b5e6-96231b3b80d8
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
2014-02-13 14:44:26 +00:00
2014-02-13 14:44:26 +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
2011-09-26 06:13:20 +00:00
2011-01-06 23:04:29 +00:00
2017-07-16 23:33:50 +00:00
2015-02-27 21:17:42 +00:00
2013-03-20 06:18:06 +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
2014-02-13 14:44:26 +00:00
2014-07-25 21:13:35 +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
2012-06-08 23:15:12 +00:00
2014-09-20 00:10:47 +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
2014-02-13 14:44:26 +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
2011-12-12 11:59:10 +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
2013-12-13 16:05:32 +00:00
2017-05-18 17:21:13 +00:00
2010-12-19 20:01: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
2012-04-10 00:16:22 +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
2014-02-28 19:08:01 +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
2011-05-13 15:18:06 +00:00