mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
a2d7c39420
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 |
||
---|---|---|
.. | ||
SVE | ||
adrp-relocation.s | ||
alias-addsubimm.s | ||
alias-logicalimm.s | ||
arm32-elf-relocs.s | ||
arm64-adr.s | ||
arm64-advsimd.s | ||
arm64-aliases.s | ||
arm64-arithmetic-encoding.s | ||
arm64-arm64-fixup.s | ||
arm64-basic-a64-instructions.s | ||
arm64-be-datalayout.s | ||
arm64-bitfield-encoding.s | ||
arm64-branch-encoding.s | ||
arm64-condbr-without-dots.s | ||
arm64-crypto.s | ||
arm64-diagno-predicate.s | ||
arm64-diags.s | ||
arm64-directive_loh.s | ||
arm64-elf-reloc-condbr.s | ||
arm64-elf-relocs.s | ||
arm64-fp-encoding-error.s | ||
arm64-fp-encoding.s | ||
arm64-ilp32.s | ||
arm64-large-relocs.s | ||
arm64-leaf-compact-unwind.s | ||
arm64-logical-encoding.s | ||
arm64-mapping-across-sections.s | ||
arm64-mapping-within-section.s | ||
arm64-memory.s | ||
arm64-nv-cond.s | ||
arm64-optional-hash.s | ||
arm64-separator.s | ||
arm64-simd-ldst.s | ||
arm64-small-data-fixups.s | ||
arm64-spsel-sysreg.s | ||
arm64-system-encoding.s | ||
arm64-target-specific-sysreg.s | ||
arm64-tls-modifiers-darwin.s | ||
arm64-tls-relocs.s | ||
arm64-v128_lo-diagnostics.s | ||
arm64-variable-exprs.s | ||
arm64-vector-lists.s | ||
arm64-verbose-vector-case.s | ||
arm64v8.1-diagno-predicate.s | ||
armv8.1a-atomic.s | ||
armv8.1a-lor.s | ||
armv8.1a-lse.s | ||
armv8.1a-pan.s | ||
armv8.1a-rdma.s | ||
armv8.1a-vhe.s | ||
armv8.2a-at.s | ||
armv8.2a-dotprod-errors.s | ||
armv8.2a-dotprod.s | ||
armv8.2a-mmfr2.s | ||
armv8.2a-persistent-memory.s | ||
armv8.2a-statistical-profiling.s | ||
armv8.2a-uao.s | ||
armv8.3a-complex.s | ||
armv8.3a-diagnostics.s | ||
armv8.3a-ID_ISAR6_EL1.s | ||
armv8.3a-js.s | ||
armv8.3a-rcpc.s | ||
armv8.3a-signed-pointer.s | ||
basic-a64-diagnostics.s | ||
basic-a64-instructions.s | ||
basic-pic.s | ||
case-insen-reg-names.s | ||
cfi.s | ||
coff-align.s | ||
coff-basic.ll | ||
coff-debug.ll | ||
coff-gnu.s | ||
coff-relocations.s | ||
crc.s | ||
darwin-reloc-addsubimm.s | ||
directive-arch-negative.s | ||
directive-arch.s | ||
directive-cpu-err.s | ||
directive-cpu.s | ||
dot-req-case-insensitive.s | ||
dot-req-diagnostics.s | ||
dot-req.s | ||
elf_osabi_flags.s | ||
elf-extern.s | ||
elf-globaladdress.ll | ||
elf-objdump.s | ||
elf-reloc-addsubimm.s | ||
elf-reloc-ldrlit.s | ||
elf-reloc-ldstunsimm.s | ||
elf-reloc-movw.s | ||
elf-reloc-pcreladdressing.s | ||
elf-reloc-tstb.s | ||
elf-reloc-uncondbrimm.s | ||
error-location-during-layout.s | ||
error-location-ldr-pseudo.s | ||
error-location-post-layout.s | ||
error-location.s | ||
expr-shr.s | ||
fixup-out-of-range.s | ||
fullfp16-diagnostics.s | ||
fullfp16-neon-neg.s | ||
gicv3-regs-diagnostics.s | ||
gicv3-regs.s | ||
ilp32-diagnostics.s | ||
inline-asm-modifiers.s | ||
inst-directive-diagnostic.s | ||
inst-directive.s | ||
invalid-instructions-spellcheck.s | ||
jump-table.s | ||
label-arithmetic-darwin.s | ||
label-arithmetic-diags-darwin.s | ||
label-arithmetic-diags-elf.s | ||
label-arithmetic-elf.s | ||
ldr-pseudo-diagnostics.s | ||
ldr-pseudo-obj-errors.s | ||
ldr-pseudo.s | ||
lit.local.cfg | ||
macho-adrp-missing-reloc.s | ||
macho-adrp-page.s | ||
mapping-across-sections.s | ||
mapping-within-section.s | ||
neon-2velem.s | ||
neon-3vdiff.s | ||
neon-aba-abd.s | ||
neon-across.s | ||
neon-add-pairwise.s | ||
neon-add-sub-instructions.s | ||
neon-bitwise-instructions.s | ||
neon-compare-instructions.s | ||
neon-crypto.s | ||
neon-diagnostics.s | ||
neon-extract.s | ||
neon-facge-facgt.s | ||
neon-frsqrt-frecp.s | ||
neon-halving-add-sub.s | ||
neon-max-min-pairwise.s | ||
neon-max-min.s | ||
neon-mla-mls-instructions.s | ||
neon-mov.s | ||
neon-mul-div-instructions.s | ||
neon-perm.s | ||
neon-rounding-halving-add.s | ||
neon-rounding-shift.s | ||
neon-saturating-add-sub.s | ||
neon-saturating-rounding-shift.s | ||
neon-saturating-shift.s | ||
neon-scalar-abs.s | ||
neon-scalar-add-sub.s | ||
neon-scalar-by-elem-mla.s | ||
neon-scalar-by-elem-mul.s | ||
neon-scalar-by-elem-saturating-mla.s | ||
neon-scalar-by-elem-saturating-mul.s | ||
neon-scalar-compare.s | ||
neon-scalar-cvt.s | ||
neon-scalar-dup.s | ||
neon-scalar-extract-narrow.s | ||
neon-scalar-fp-compare.s | ||
neon-scalar-mul.s | ||
neon-scalar-neg.s | ||
neon-scalar-recip.s | ||
neon-scalar-reduce-pairwise.s | ||
neon-scalar-rounding-shift.s | ||
neon-scalar-saturating-add-sub.s | ||
neon-scalar-saturating-rounding-shift.s | ||
neon-scalar-saturating-shift.s | ||
neon-scalar-shift-imm.s | ||
neon-scalar-shift.s | ||
neon-shift-left-long.s | ||
neon-shift.s | ||
neon-simd-copy.s | ||
neon-simd-ldst-multi-elem.s | ||
neon-simd-ldst-one-elem.s | ||
neon-simd-misc.s | ||
neon-simd-post-ldst-multi-elem.s | ||
neon-simd-shift.s | ||
neon-sxtl.s | ||
neon-tbl.s | ||
neon-uxtl.s | ||
nofp-crypto-diagnostic.s | ||
noneon-diagnostics.s | ||
optional-hash.s | ||
ras-extension.s | ||
shift_extend_op_w_symbol.s | ||
single-slash.s | ||
tls-add-shift.s | ||
tls-relocs.s | ||
trace-regs-diagnostics.s | ||
trace-regs.s |