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
..
2017-12-07 10:40:31 +00:00
2017-06-06 00:44:35 +00:00
2017-11-01 13:47:55 +00:00
2017-03-31 04:46:31 +00:00
2017-11-30 13:05:14 +00:00
2017-05-24 23:10:29 +00:00
2017-11-27 21:15:43 +00:00
2017-10-22 17:59:38 +00:00
2017-11-17 01:07:10 +00:00
2017-11-30 13:05:14 +00:00
2017-11-17 01:07:10 +00:00
2012-12-27 06:47:41 +00:00
2017-10-20 22:08:40 +00:00
2017-06-21 22:19:17 +00:00
2016-12-08 01:03:48 +00:00
2015-05-24 16:58:59 +00:00
2014-04-24 18:27:29 +00:00
2017-06-07 23:53:32 +00:00
2017-05-10 09:42:49 +00:00
2017-11-17 01:07:10 +00:00
2017-10-17 11:44:34 +00:00
2017-11-17 01:07:10 +00:00
2017-06-07 23:53:32 +00:00
2017-06-07 23:53:32 +00:00
2015-06-23 09:49:53 +00:00
2017-06-07 23:53:32 +00:00
2015-10-05 04:44:18 +00:00
2017-12-05 14:50:05 +00:00
2017-09-14 18:33:25 +00:00
2017-02-23 17:30:01 +00:00
2017-06-21 22:19:17 +00:00
2013-03-25 13:47:46 +00:00
2015-05-20 01:07:23 +00:00
2017-06-06 11:49:48 +00:00
2017-11-17 01:07:10 +00:00
2017-05-24 23:10:29 +00:00
2017-12-07 10:40:31 +00:00
2017-11-17 01:07:10 +00:00
2017-03-02 00:35:08 +00:00
2017-11-17 01:07:10 +00:00
2017-05-24 23:10:29 +00:00
2017-11-17 01:07:10 +00:00
2017-03-07 23:20:35 +00:00
2017-12-07 10:40:31 +00:00
2017-11-02 22:26:51 +00:00
2015-12-18 21:53:24 +00:00
2017-12-06 22:48:36 +00:00
2017-05-31 01:10:10 +00:00
2017-07-26 18:27:39 +00:00
2017-07-26 18:27:39 +00:00
2017-12-05 01:18:15 +00:00
2017-09-05 20:14:58 +00:00
2017-06-06 11:49:48 +00:00
2017-12-07 10:40:31 +00:00
2017-09-15 21:49:56 +00:00
2017-12-07 10:40:31 +00:00
2017-05-31 01:10:10 +00:00
2015-06-23 09:49:53 +00:00
2017-09-28 02:45:42 +00:00
2017-12-02 22:13:22 +00:00
2017-09-27 19:34:00 +00:00
2017-10-10 22:33:29 +00:00
2017-12-07 10:40:31 +00:00
2017-10-11 23:03:05 +00:00
2017-06-26 22:44:03 +00:00
2017-07-26 18:27:39 +00:00
2017-06-01 23:25:02 +00:00
2017-12-05 10:52:24 +00:00
2017-09-27 21:19:56 +00:00
2017-09-11 23:00:48 +00:00
2017-09-20 11:54:37 +00:00
2017-09-21 04:54:59 +00:00
2013-01-10 00:45:19 +00:00
2017-06-26 22:44:03 +00:00
2017-05-05 21:09:30 +00:00
2017-09-28 18:52:14 +00:00
2016-04-18 09:17:29 +00:00
2017-11-14 21:09:45 +00:00
2017-06-01 23:25:02 +00:00
2017-09-13 21:15:20 +00:00
2017-09-14 20:53:51 +00:00
2017-06-01 23:25:02 +00:00
2017-06-07 23:53:32 +00:00
2017-11-17 01:07:10 +00:00
2017-11-17 01:07:10 +00:00
2017-06-17 02:08:18 +00:00
2017-10-24 21:29:10 +00:00
2017-11-17 01:07:10 +00:00
2017-07-19 21:53:30 +00:00
2017-07-19 21:53:30 +00:00
2017-11-17 01:07:10 +00:00
2017-11-17 01:07:10 +00:00
2017-02-22 22:32:51 +00:00
2017-06-06 11:49:48 +00:00
2017-02-22 22:32:51 +00:00
2017-06-06 22:22:41 +00:00
2017-02-22 22:32:51 +00:00
2017-12-01 22:20:26 +00:00
2017-09-13 21:15:20 +00:00
2017-11-22 07:11:01 +00:00
2017-11-16 18:27:34 +00:00
2017-09-13 21:15:20 +00:00
2017-10-08 15:59:35 +00:00
2017-11-03 20:24:19 +00:00
2017-06-07 23:53:32 +00:00
2017-11-17 01:07:10 +00:00
2017-11-17 01:07:10 +00:00
2017-11-17 01:07:10 +00:00
2017-12-07 10:40:31 +00:00
2017-12-05 20:22:20 +00:00
2017-11-17 01:07:10 +00:00
2017-11-17 01:07:10 +00:00
2017-12-05 05:52:07 +00:00
2017-11-17 01:07:10 +00:00
2017-10-12 22:57:28 +00:00
2017-12-07 10:40:31 +00:00
2017-11-17 01:07:10 +00:00
2017-11-17 01:07:10 +00:00
2016-07-08 03:32:49 +00:00
2017-06-26 22:44:03 +00:00
2017-05-18 11:29:41 +00:00
2017-11-17 01:07:10 +00:00
2017-06-03 00:22:41 +00:00