llvm-project/llvm/test/CodeGen/AVR
Francis Visoiu Mistrih a8a83d150f [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'

llvm-svn: 320022
2017-12-07 10:40:31 +00:00
..
atomics [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
calling-conv/c [AVR] Save/restore the frame pointer for all functions 2017-05-02 01:57:48 +00:00
features
inline-asm [AVR] Reserve the Y register in all functions 2017-05-03 11:56:01 +00:00
integration
intrinsics [AVR] Implement stacksave/stackrestore by expanding (PR31342) 2017-02-05 21:35:45 +00:00
pseudo [AVR] Elaborate LDWRdPtr into `ld r, X++; ld r+1, X` 2017-10-04 10:33:36 +00:00
relax-mem MIRTests: Remove unnecessary 2>&1 redirection 2017-02-22 18:47:41 +00:00
PR31344.ll
PR31345.ll
add.ll
alloca.ll [AVR] Fix the test suite 2017-04-19 12:02:52 +00:00
and.ll
branch-relaxation-long.ll [AVR] Insert JMP for long branches 2017-10-04 09:51:28 +00:00
branch-relaxation.ll [AVR] Fix a typo in the tests 2017-07-16 22:31:07 +00:00
brind.ll [AVR] Reserve the Y register in all functions 2017-05-03 11:56:01 +00:00
call.ll [AVR] Fix the build after setting alignment to 1 in r314179 2017-09-26 02:07:54 +00:00
clear-bss.ll [AVR] Enable the '__do_copy_data' function 2017-09-11 10:32:51 +00:00
cmp.ll
com.ll
copy-data-to-ram.ll [AVR] Enable the '__do_copy_data' function 2017-09-11 10:32:51 +00:00
ctlz.ll [AVR] Use the generic branch relaxer 2017-07-11 04:17:13 +00:00
ctpop.ll
cttz.ll [AVR] Use the generic branch relaxer 2017-07-11 04:17:13 +00:00
directmem.ll [AVR] Fix the build after setting alignment to 1 in r314179 2017-09-26 02:07:54 +00:00
div.ll
dynalloca.ll [AVR] Reserve the Y register in all functions 2017-05-03 11:56:01 +00:00
eor.ll
expand-integer-failure.ll
frame.ll
frmidx-iterator-bug.ll [AVR] Fix bug which caused assertion errors for some FRMIDX instructions 2017-07-04 04:40:06 +00:00
high-pressure-on-ptrregs.ll
icall-func-pointer-correct-addr-space.ll [AVR] Improve the 'icall-func-pointer-correct-addr-space.ll' test 2017-07-23 23:00:55 +00:00
impossible-reg-to-reg-copy.ll
interrupts.ll [AVR] Use the short form of 'clr <reg>' 2017-11-24 15:36:43 +00:00
io.ll
issue-cannot-select-bswap.ll
large-return-size.ll
lit.local.cfg
load.ll [AVR] Elaborate LDWRdPtr into `ld r, X++; ld r+1, X` 2017-10-04 10:33:36 +00:00
lower-formal-arguments-assertion.ll
mul.ll [AVR] Use the short form of 'clr <reg>' 2017-11-24 15:36:43 +00:00
neg.ll
no-print-operand-twice.ll
or.ll
progmem-extended.ll
progmem.ll
rem.ll
return.ll [AVR] Save/restore the frame pointer for all functions 2017-05-02 01:57:48 +00:00
rot.ll [AVR] Fix a big in shift operator lowering; Authored by Dr. Gergo Erdi 2017-05-31 06:27:46 +00:00
runtime-trig.ll
select-must-add-unconditional-jump.ll [CodeGen] Use MachineOperand::print in the MIRPrinter for MO_Register. 2017-12-07 10:40:31 +00:00
sext.ll
shift.ll
sign-extension.ll
smul-with-overflow.ll
std-ldd-immediate-overflow.ll [AVR] Fix displacement overflow for LDDW/STDW 2017-10-04 09:51:21 +00:00
store-undef.ll
store.ll
sub.ll
trunc.ll
umul-with-overflow.ll
varargs.ll [AVR] Fix the build after setting alignment to 1 in r314179 2017-09-26 02:07:54 +00:00
xor.ll
zext.ll [AVR] Use the short form of 'clr <reg>' 2017-11-24 15:36:43 +00:00