llvm-6502/test/ExecutionEngine/MCJIT
David Blaikie 5a70dd1d82 [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:])

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232184 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-13 18:20:45 +00:00
..
Inputs Renaming MCJIT .ir files to .ll and moving them to Inputs 2013-10-28 23:51:03 +00:00
remote [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2002-12-16-ArgTest.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2003-01-04-ArgumentBug.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
2003-01-04-LoopTest.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
2003-01-04-PhiTest.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
2003-01-09-SARTest.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
2003-01-10-FUCOM.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
2003-01-15-AlignmentTest.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
2003-05-06-LivenessClobber.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
2003-05-07-ArgumentTest.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
2003-05-11-PHIRegAllocBug.ll [MCJIT] Remove a few redundant MCJIT tests, and drop the extraneous datalayout 2015-01-08 18:52:15 +00:00
2003-06-04-bzip2-bug.ll [MCJIT] Remove a few redundant MCJIT tests, and drop the extraneous datalayout 2015-01-08 18:52:15 +00:00
2003-06-05-PHIBug.ll [MCJIT] Remove a few redundant MCJIT tests, and drop the extraneous datalayout 2015-01-08 18:52:15 +00:00
2003-08-15-AllocaAssertion.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
2003-08-21-EnvironmentTest.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
2003-08-23-RegisterAllocatePhysReg.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
2005-12-02-TailCallBug.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
2007-12-10-APIntLoadStore.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
2008-06-05-APInt-OverAShr.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
2013-04-04-RelocAddend.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
cross-module-a.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
cross-module-sm-pic-a.ll MCJIT tests passing on ARM after r222414 fixed the relocation 2014-11-20 13:32:16 +00:00
eh-lg-pic.ll XFAIL several MCJIT EH tests under ASan and MSan bootstrap. 2015-01-07 21:27:26 +00:00
eh-sm-pic.ll XFAIL several MCJIT EH tests under ASan and MSan bootstrap. 2015-01-07 21:27:26 +00:00
eh.ll XFAIL several MCJIT EH tests under ASan and MSan bootstrap. 2015-01-07 21:27:26 +00:00
fpbitcast.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
hello2.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
hello-sm-pic.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
hello.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
lit.local.cfg Reverting r226937: lit: Make MCJIT's supported arch check case insensitive 2015-01-24 01:42:44 +00:00
load-object-a.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
multi-module-a.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
multi-module-eh-a.ll XFAIL several MCJIT EH tests under ASan and MSan bootstrap. 2015-01-07 21:27:26 +00:00
multi-module-sm-pic-a.ll MCJIT tests passing on ARM after r222414 fixed the relocation 2014-11-20 13:32:16 +00:00
non-extern-addend.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
pr13727.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
simplesttest.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
simpletest.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
stubs-sm-pic.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
stubs.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
test-arith.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
test-branch.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
test-call-no-external-funcs.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
test-call.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
test-cast.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
test-common-symbols-alignment.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
test-common-symbols.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
test-constantexpr.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
test-data-align.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
test-fp-no-external-funcs.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
test-fp.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
test-global-ctors.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
test-global-init-nonzero-sm-pic.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
test-global-init-nonzero.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
test-global.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
test-loadstore.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
test-local.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
test-logical.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
test-loop.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
test-phi.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
test-ptr-reloc-sm-pic.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
test-ptr-reloc.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
test-ret.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
test-return.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
test-setcond-fp.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
test-setcond-int.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
test-shift.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00