1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 05:52:53 +02:00
llvm-mirror/test/MC/Mips
David Blaikie 3ea2df7c7b [opaque pointer type] Add textual IR support for explicit type parameter to gep operator
Similar to gep (r230786) and load (r230794) changes.

Similar migration script can be used to update test cases, which
successfully migrated all of LLVM and Polly, but about 4 test cases
needed manually changes in Clang.

(this script will read the contents of stdin and massage it into stdout
- wrap it in the 'apply.sh' script shown in previous commits + xargs to
apply it over a large set of test cases)

import fileinput
import sys
import re

rep = re.compile(r"(getelementptr(?:\s+inbounds)?\s*\()((<\d*\s+x\s+)?([^@]*?)(|\s*addrspace\(\d+\))\s*\*(?(3)>)\s*)(?=$|%|@|null|undef|blockaddress|getelementptr|addrspacecast|bitcast|inttoptr|zeroinitializer|<|\[\[[a-zA-Z]|\{\{)", re.MULTILINE | re.DOTALL)

def conv(match):
  line = match.group(1)
  line += match.group(4)
  line += ", "
  line += match.group(2)
  return line

line = sys.stdin.read()
off = 0
for match in re.finditer(rep, line):
  sys.stdout.write(line[off:match.start()])
  sys.stdout.write(conv(match))
  off = match.end()
sys.stdout.write(line[off:])

llvm-svn: 232184
2015-03-13 18:20:45 +00:00
..
mips1 [mips] Add support for COP1's Branch-On-Cond-Likely instructions 2014-10-17 14:08:28 +00:00
mips2 [mips] Add support for COP1's Branch-On-Cond-Likely instructions 2014-10-17 14:08:28 +00:00
mips3 [mips] Add support for COP1's Branch-On-Cond-Likely instructions 2014-10-17 14:08:28 +00:00
mips4 [MIPS]Multiple and add instructions for Mips are currently available in mips32r2/mips64r2 and later but should also be available in mips4, mips5, and mips64. This patch fixes the requested features and updates the corresponding test files. 2015-02-25 15:24:37 +00:00
mips5 [MIPS]Multiple and add instructions for Mips are currently available in mips32r2/mips64r2 and later but should also be available in mips4, mips5, and mips64. This patch fixes the requested features and updates the corresponding test files. 2015-02-25 15:24:37 +00:00
mips32 [mips] Add support for COP1's Branch-On-Cond-Likely instructions 2014-10-17 14:08:28 +00:00
mips32r2 [mips] Add synci instruction. 2014-11-27 17:28:10 +00:00
mips32r3 [mips] Add backend support for Mips32r[35] and Mips64r[35]. 2015-02-18 16:24:50 +00:00
mips32r5 [mips] Add backend support for Mips32r[35] and Mips64r[35]. 2015-02-18 16:24:50 +00:00
mips32r6 Recommit "[mips] Add names and tests for the hardware registers" 2014-11-11 10:31:31 +00:00
mips64 [MIPS]Multiple and add instructions for Mips are currently available in mips32r2/mips64r2 and later but should also be available in mips4, mips5, and mips64. This patch fixes the requested features and updates the corresponding test files. 2015-02-25 15:24:37 +00:00
mips64r2 [MIPS]Multiple and add instructions for Mips are currently available in mips32r2/mips64r2 and later but should also be available in mips4, mips5, and mips64. This patch fixes the requested features and updates the corresponding test files. 2015-02-25 15:24:37 +00:00
mips64r3 [MIPS]Multiple and add instructions for Mips are currently available in mips32r2/mips64r2 and later but should also be available in mips4, mips5, and mips64. This patch fixes the requested features and updates the corresponding test files. 2015-02-25 15:24:37 +00:00
mips64r5 [MIPS]Multiple and add instructions for Mips are currently available in mips32r2/mips64r2 and later but should also be available in mips4, mips5, and mips64. This patch fixes the requested features and updates the corresponding test files. 2015-02-25 15:24:37 +00:00
mips64r6 Recommit "[mips] Add names and tests for the hardware registers" 2014-11-11 10:31:31 +00:00
msa [mips] Add assembler support for .set msa/nomsa directive. 2014-08-07 12:03:36 +00:00
cfi.s
cpload-bad.s [mips] Improve error/warning messages and testing for the .cpload assembler directive. 2014-11-06 10:02:45 +00:00
cpload.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
cpsetup-bad.s [mips] [IAS] Fix using .cpsetup with local labels (PR22518). 2015-02-18 13:46:53 +00:00
cpsetup.s [mips] [IAS] Fix using .cpsetup with local labels (PR22518). 2015-02-18 13:46:53 +00:00
do_switch1.s
do_switch2.s
do_switch3.s Replace obsolete -mattr=n64 command line option with -target-abi=n64. No functional changes. 2015-02-26 12:29:48 +00:00
eh-frame.s
elf_basic.s
elf_eflags_abicalls.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_micromips.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_mips16.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_nan2008.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_nanlegacy.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_noreorder.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_pic0.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_pic2.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags.s [mips] Add backend support for Mips32r[35] and Mips64r[35]. 2015-02-18 16:24:50 +00:00
elf_reginfo.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
elf_st_other.s
elf-bigendian.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
elf-gprel-32-64.s
elf-N64.s
elf-relsym.s
elf-tls.s
expr1.s
higher-highest-addressing.s
hilo-addressing.s
lit.local.cfg
llvm-mc-fixup-endianness.s
micromips-16-bit-instructions.s [mips][microMIPS] Implement movep instruction 2015-02-10 16:36:20 +00:00
micromips-alias.s
micromips-alu-instructions.s [mips][microMIPS] Implement ADDIUPC instruction 2015-01-21 12:10:11 +00:00
micromips-bad-branches.s [mips][microMIPS] Implement BEQZ16 and BNEZ16 instructions 2015-01-12 12:03:34 +00:00
micromips-branch-fixup.s [mips][microMIPS] MicroMIPS 16-bit unconditional branch instruction B 2015-01-21 12:39:30 +00:00
micromips-branch-instructions.s [mips][microMIPS] MicroMIPS 16-bit unconditional branch instruction B 2015-01-21 12:39:30 +00:00
micromips-control-instructions.s [mips][microMIPS] Implement CACHE, PREF, SSNOP, EHB and PAUSE instructions 2014-12-23 19:55:34 +00:00
micromips-diagnostic-fixup.s [mips][microMIPS] MicroMIPS 16-bit unconditional branch instruction B 2015-01-21 12:39:30 +00:00
micromips-el-fixup-data.s
micromips-expansions.s
micromips-expressions.s
micromips-fpu-instructions.s [mips][microMIPS] Fix opcodes of MFHC1 and MTHC1 instructions. 2014-11-19 13:37:51 +00:00
micromips-func-addr.s [mips][microMIPS] Relocate with symbol for micromips symbols 2014-12-30 22:04:16 +00:00
micromips-invalid.s [mips][microMIPS] Implement movep instruction 2015-02-10 16:36:20 +00:00
micromips-jump26.s
micromips-jump-instructions.s [mips][microMIPS] Implement JALX instruction 2015-02-18 17:15:48 +00:00
micromips-label-test-sections.s [mips][microMIPS] Mark symbols as microMIPS if necessary 2014-11-05 16:35:20 +00:00
micromips-label-test.s [mips][microMIPS] Mark symbols as microMIPS if necessary 2014-11-05 16:35:20 +00:00
micromips-loadstore-instructions.s [mips][microMIPS] Implement SWM and LWM aliases 2015-01-28 21:52:27 +00:00
micromips-loadstore-unaligned.s
micromips-movcond-instructions.s
micromips-multiply-instructions.s
micromips-pc16-fixup.s
micromips-relocations.s
micromips-shift-instructions.s
micromips-tailr.s
micromips-trap-instructions.s
mips64-alu-instructions.s Revert "[mips] Add names and tests for the hardware registers" 2014-11-04 22:15:05 +00:00
mips64-expansions.s
mips64-instructions.s
mips64-register-names-n32-n64.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
mips64-register-names-o32.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
mips64eb-fixups.s
mips64extins.ll Replace obsolete -mattr=n64 command line option with -target-abi=n64. No functional changes. 2015-02-26 12:29:48 +00:00
mips64shift.ll
mips_abi_flags_xx_set.s Re-commit: [mips] Correct section alignments and EntrySizes for .bss, .text, .data, .reginfo, .MIPS.options, and .MIPS.abiflags 2014-07-14 15:05:51 +00:00
mips_abi_flags_xx.s [mips] Correct .MIPS.abiflags for -mfpxx on MIPS32r6 2014-07-17 09:57:23 +00:00
mips_directives_bad.s [mips] Improve the error messages given by MipsAsmParser. 2014-09-16 15:00:52 +00:00
mips_directives.s
mips_gprel16.s
mips-abi-bad.s [mips] [IAS] Add missing constraints and improve testing for the .module directive. 2015-03-06 12:15:12 +00:00
mips-alu-instructions.s Revert "[mips] Add names and tests for the hardware registers" 2014-11-04 22:15:05 +00:00
mips-bad-branches.s
mips-control-instructions.s
mips-coprocessor-encodings.s
mips-data-directives.s Mips.abiflags is a new implicitly generated section that will be present on all new modules. The section contains a versioned data structure which represents essentially information to allow a program loader to determine the requirements of the application. This patch implements mips.abiflags section and provides test cases for it. 2014-07-08 08:59:22 +00:00
mips-diagnostic-fixup.s
mips-dsp-instructions.s
mips-expansions-bad.s [mips] Improve the error messages given by MipsAsmParser. 2014-09-16 15:00:52 +00:00
mips-expansions.s [mips] Add assembler support for the "la $reg,symbol" pseudo-instruction. 2014-08-14 10:29:17 +00:00
mips-fpu-instructions.s
mips-hwr-register-names.s [mips] Add hardware register name "hwr_ulr" ($29) 2014-11-11 11:22:39 +00:00
mips-jump-delay-slots.s [mips] Add support for COP1's Branch-On-Cond-Likely instructions 2014-10-17 14:08:28 +00:00
mips-jump-instructions.s
mips-memory-instructions.s
mips-noat.s [mips] Improve support for the .set at/noat assembler directives. 2015-02-13 10:30:57 +00:00
mips-pc16-fixup.s
mips-pdr-bad.s Re-commit: [mips] Implement .ent, .end, .frame, .mask and .fmask. 2014-08-13 10:07:34 +00:00
mips-pdr.s Re-commit: [mips] Implement .ent, .end, .frame, .mask and .fmask. 2014-08-13 10:07:34 +00:00
mips-reginfo-fp32.s [mips] Add MipsOptionRecord abstraction and use it to implement .reginfo/.MIPS.options 2014-07-21 13:30:55 +00:00
mips-reginfo-fp64.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
mips-register-names-invalid.s
mips-register-names-o32.s
mips-relocations.s
module-directive-bad.s [mips] [IAS] Add missing constraints and improve testing for the .module directive. 2015-03-06 12:15:12 +00:00
multi-64bit-func.ll
nabi-regs.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
nacl-mask.s Fix Mips nacl-mask test for new bundle-aligned label behavior 2014-10-22 23:32:00 +00:00
nooddspreg-cmdarg.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
nooddspreg-error.s [mips] Add support for -modd-spreg/-mno-odd-spreg 2014-07-10 13:38:23 +00:00
nooddspreg.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
octeon-instructions.s [mips] Add range checks and transformation to octeon instructions in AsmParser. 2015-01-27 19:11:28 +00:00
oddspreg.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
pr11877.s
r-mips-got-disp.s
set-arch.s [mips] Add backend support for Mips32r[35] and Mips64r[35]. 2015-02-18 16:24:50 +00:00
set-at-directive-explicit-at.s [mips] Improve support for the .set at/noat assembler directives. 2015-02-13 10:30:57 +00:00
set-at-directive.s [mips] Improve support for the .set at/noat assembler directives. 2015-02-13 10:30:57 +00:00
set-at-noat-bad-syntax.s [mips] Improve support for the .set at/noat assembler directives. 2015-02-13 10:30:57 +00:00
set-mips0-directive.s [mips] Add assembler support for .set mips0 directive. 2014-09-09 12:52:14 +00:00
set-mips16-directive.s [mips] Improve support for the .set mips16/nomips16 assembler directives. 2014-11-04 17:18:07 +00:00
set-mips-directives-bad.s [mips] Add backend support for Mips32r[35] and Mips64r[35]. 2015-02-18 16:24:50 +00:00
set-mips-directives.s [mips] Add backend support for Mips32r[35] and Mips64r[35]. 2015-02-18 16:24:50 +00:00
set-nodsp.s [mips] Add assembler support for the .set nodsp directive. 2014-09-17 09:01:54 +00:00
set-push-pop-directives-bad.s [mips] Add assembler support for .set push/pop directive. 2014-09-09 10:15:38 +00:00
set-push-pop-directives.s [mips] Add assembler support for .set push/pop directive. 2014-09-09 10:15:38 +00:00
sext_64_32.ll
sym-expr.s
sym-offset.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
unaligned-nops.s Support padding unaligned data in .text. 2014-10-02 13:41:42 +00:00
xgot.s