Francis Visoiu Mistrih
fd11bc0813
[CodeGen] Use MachineOperand::print in the MIRPrinter for MO_Register.
Work towards the unification of MIR and debug output by refactoring the
interfaces.
For MachineOperand::print, keep a simple version that can be easily called
from `dump()`, and a more complex one which will be called from both the
MIRPrinter and MachineInstr::print.
Add extra checks inside MachineOperand for detached operands (operands
with getParent() == nullptr).
https://reviews.llvm.org/D40836
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" -o -name "*.s" \) -type f -print0 | xargs -0 sed -i '' -E 's/kill: ([^ ]+) ([^ ]+)<def> ([^ ]+)/kill: \1 def \2 \3/g'
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" -o -name "*.s" \) -type f -print0 | xargs -0 sed -i '' -E 's/kill: ([^ ]+) ([^ ]+) ([^ ]+)<def>/kill: \1 \2 def \3/g'
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" -o -name "*.s" \) -type f -print0 | xargs -0 sed -i '' -E 's/kill: def ([^ ]+) ([^ ]+) ([^ ]+)<def>/kill: def \1 \2 def \3/g'
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" -o -name "*.s" \) -type f -print0 | xargs -0 sed -i '' -E 's/<def>//g'
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" -o -name "*.s" \) -type f -print0 | xargs -0 sed -i '' -E 's/([^ ]+)<kill>/killed \1/g'
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" -o -name "*.s" \) -type f -print0 | xargs -0 sed -i '' -E 's/([^ ]+)<imp-use,kill>/implicit killed \1/g'
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" -o -name "*.s" \) -type f -print0 | xargs -0 sed -i '' -E 's/([^ ]+)<dead>/dead \1/g'
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" -o -name "*.s" \) -type f -print0 | xargs -0 sed -i '' -E 's/([^ ]+)<def[ ]*,[ ]*dead>/dead \1/g'
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" -o -name "*.s" \) -type f -print0 | xargs -0 sed -i '' -E 's/([^ ]+)<imp-def[ ]*,[ ]*dead>/implicit-def dead \1/g'
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" -o -name "*.s" \) -type f -print0 | xargs -0 sed -i '' -E 's/([^ ]+)<imp-def>/implicit-def \1/g'
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" -o -name "*.s" \) -type f -print0 | xargs -0 sed -i '' -E 's/([^ ]+)<imp-use>/implicit \1/g'
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" -o -name "*.s" \) -type f -print0 | xargs -0 sed -i '' -E 's/([^ ]+)<internal>/internal \1/g'
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" -o -name "*.s" \) -type f -print0 | xargs -0 sed -i '' -E 's/([^ ]+)<undef>/undef \1/g'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320022 91177308-0d34-0410-b5e6-96231b3b80d8
2017-12-07 10:40:31 +00:00
..
2015-02-27 21:17:42 +00:00
2016-08-23 09:19:22 +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-04-16 23:24:18 +00:00
2015-04-16 23:24:18 +00:00
2015-02-27 21:17:42 +00:00
2015-11-19 05:56:52 +00:00
2015-04-23 20:31:26 +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
2016-06-23 16:07:10 +00:00
2013-07-14 06:24:09 +00:00
2015-02-27 21:17:42 +00:00
2016-02-04 01:27:38 +00:00
2015-03-13 18:20:45 +00:00
2015-02-27 19:29:02 +00:00
2016-05-10 19:17:47 +00:00
2015-03-13 18:20:45 +00:00
2016-05-10 19:17:47 +00:00
2014-05-30 10:09:59 +00:00
2017-12-07 10:40:31 +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
2017-08-22 11:02:37 +00:00
2013-07-14 06:24:09 +00:00
2015-04-23 20:31:30 +00:00
2015-02-27 21:17:42 +00:00
2015-11-19 05:56:52 +00:00
2015-02-27 21:17:42 +00:00
2015-03-19 22:48:57 +00:00
2013-07-13 20:38:47 +00:00
2015-07-21 00:18:59 +00:00
2016-01-26 00:03:25 +00:00
2016-08-23 09:19:22 +00:00
2015-02-27 21:17:42 +00:00
2014-04-03 23:47:24 +00:00
2017-11-30 16:12:24 +00:00
2014-05-30 10:09:59 +00:00
2016-01-28 18:59:04 +00:00
2017-01-31 23:48:32 +00:00
2015-05-31 19:22:07 +00:00
2015-02-27 21:17:42 +00:00
2017-06-28 07:07:03 +00:00
2017-08-01 22:20:49 +00:00
2017-08-01 22:20:49 +00:00
2015-09-30 10:56:37 +00:00
2015-02-27 21:17:42 +00:00
2015-04-09 14:07:28 +00:00
2016-04-11 22:27:40 +00:00
2017-02-13 12:32:47 +00:00
2017-01-13 16:25:33 +00:00
2017-01-13 16:25:33 +00:00
2016-12-15 09:38:59 +00:00
2016-10-11 21:14:03 +00:00
2015-02-27 21:17:42 +00:00
2017-01-31 23:48:32 +00:00
2017-11-30 16:12:24 +00:00
2017-07-12 13:23:10 +00:00
2017-12-04 17:18:51 +00:00
2016-09-02 18:29:26 +00:00
2015-02-27 21:17:42 +00:00
2012-05-09 19:07:04 +00:00
2017-10-26 21:42:32 +00:00
2017-08-01 22:20:49 +00:00
2015-04-16 23:24:18 +00:00
2017-08-01 22:20:49 +00:00
2017-05-16 19:43:56 +00:00
2014-06-09 22:42:55 +00:00
2014-04-03 23:47:24 +00:00
2016-09-09 12:52:24 +00:00
2016-12-23 02:56:07 +00:00
2014-04-03 23:47:24 +00:00
2015-07-17 23:18:26 +00:00
2017-08-01 22:20:49 +00:00
2015-07-16 22:34:20 +00:00
2017-04-10 20:18:21 +00:00
2015-02-27 21:17:42 +00:00
2017-11-30 16:12:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-05-30 10:09:59 +00:00
2015-02-27 21:17:42 +00:00
2016-05-10 19:17:47 +00:00
2016-06-24 18:16:36 +00:00
2014-04-03 23:47:24 +00:00
2016-09-09 12:52:24 +00:00
2014-12-15 19:07:53 +00:00
2014-04-03 23:47:24 +00:00
2016-05-10 17:57:27 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2015-02-27 21:17:42 +00:00
2016-08-24 21:34:27 +00:00
2017-06-28 07:07:03 +00:00
2015-02-27 21:17:42 +00:00
2016-11-01 13:37:41 +00:00
2016-08-23 09:19:22 +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-02-27 21:17:42 +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
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-04 01:19:56 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2015-10-23 17:19:19 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2017-03-09 15:14:32 +00:00
2017-08-01 22:20:49 +00:00
2017-03-09 15:14:32 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 17:35:22 +00:00
2014-04-03 23:47:24 +00:00
2017-03-09 15:14:32 +00:00
2017-03-09 15:14:32 +00:00
2015-09-30 10:56:37 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 19:29:02 +00:00
2015-02-27 19:29:02 +00:00
2015-02-27 19:29:02 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2017-02-17 15:42:44 +00:00
2017-02-17 15:42:44 +00:00
2016-11-01 13:37:41 +00:00
2016-11-01 13:37:41 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2017-02-17 15:42:44 +00:00
2017-02-17 15:42:44 +00:00
2015-02-27 21:17:42 +00:00
2016-06-16 16:09:53 +00:00
2015-04-23 20:31:26 +00:00
2015-09-30 10:56:37 +00:00
2015-02-27 21:17:42 +00:00
2017-11-13 20:45:38 +00:00
2017-01-31 23:48:32 +00:00
2017-08-15 18:14:57 +00:00
2014-02-26 11:27:28 +00:00