[opaque pointer type] Add textual IR support for explicit type parameter to gep operator
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 13 Mar 2015 18:20:45 +0000 (18:20 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 13 Mar 2015 18:20:45 +0000 (18:20 +0000)
commit5a70dd1d8286faa4713b60da7621094d892e2ffc
tree2715144202f3d14b8835880f3ebd9b53cbb0e6a2
parent300c79d840829969fba278ee59152fbfbd5c8844
[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
717 files changed:
docs/LangRef.rst
lib/AsmParser/LLParser.cpp
lib/IR/AsmWriter.cpp
test/Analysis/BasicAA/2003-12-11-ConstExprGEP.ll
test/Analysis/BasicAA/2007-10-24-ArgumentsGlobals.ll
test/Analysis/BasicAA/2008-06-02-GEPTailCrash.ll
test/Analysis/BasicAA/aligned-overread.ll
test/Analysis/BasicAA/featuretest.ll
test/Analysis/BasicAA/phi-spec-order.ll
test/Analysis/CFLAliasAnalysis/asm-global-bugfix.ll
test/Analysis/CFLAliasAnalysis/const-expr-gep.ll
test/Analysis/DependenceAnalysis/UsefulGEP.ll
test/Analysis/GlobalsModRef/volatile-instrs.ll
test/Analysis/LazyCallGraph/basic.ll
test/Analysis/ScalarEvolution/2012-03-26-LoadConstant.ll
test/Analysis/ScalarEvolution/max-trip-count.ll
test/Analysis/ScalarEvolution/pr22179.ll
test/Analysis/ScalarEvolution/sext-iv-2.ll
test/Analysis/ScalarEvolution/zext-signed-addrec.ll
test/Analysis/TypeBasedAliasAnalysis/PR17620.ll
test/Assembler/2002-08-15-ConstantExprProblem.ll
test/Assembler/2002-08-15-UnresolvedGlobalReference.ll
test/Assembler/2002-08-16-ConstExprInlined.ll
test/Assembler/2003-08-20-ConstantExprGEP-Fold.ll
test/Assembler/2004-01-11-getelementptrfolding.ll
test/Assembler/2007-01-05-Cmp-ConstExpr.ll
test/Assembler/2007-12-11-AddressSpaces.ll
test/Assembler/2009-07-24-ZeroArgGEP.ll
test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll
test/Assembler/ConstantExprFold.ll
test/Assembler/ConstantExprNoFold.ll
test/Assembler/alias-use-list-order.ll
test/Assembler/auto_upgrade_intrinsics.ll
test/Assembler/flags.ll
test/Assembler/getelementptr.ll
test/Assembler/getelementptr_vec_idx4.ll
test/Assembler/uselistorder.ll
test/Assembler/uselistorder_bb.ll
test/Bitcode/memInstructions.3.2.ll
test/Bitcode/metadata-2.ll
test/Bitcode/old-aliases.ll
test/Bitcode/use-list-order.ll
test/CodeGen/AArch64/arm64-2012-06-06-FPToUI.ll
test/CodeGen/AArch64/arm64-abi-varargs.ll
test/CodeGen/AArch64/arm64-atomic.ll
test/CodeGen/AArch64/arm64-collect-loh-str.ll
test/CodeGen/AArch64/arm64-fast-isel-addr-offset.ll
test/CodeGen/AArch64/arm64-fast-isel-intrinsic.ll
test/CodeGen/AArch64/arm64-hello.ll
test/CodeGen/AArch64/arm64-memcpy-inline.ll
test/CodeGen/AArch64/arm64-pic-local-symbol.ll
test/CodeGen/AArch64/arm64-vector-ldst.ll
test/CodeGen/AArch64/br-to-eh-lpad.ll
test/CodeGen/AArch64/dag-combine-invaraints.ll
test/CodeGen/AArch64/global-merge-4.ll
test/CodeGen/AArch64/inline-asm-globaladdress.ll
test/CodeGen/AArch64/rm_redundant_cmp.ll
test/CodeGen/ARM/2007-04-03-UndefinedSymbol.ll
test/CodeGen/ARM/2007-04-30-CombinerCrash.ll
test/CodeGen/ARM/2007-05-03-BadPostIndexedLd.ll
test/CodeGen/ARM/2007-08-15-ReuseBug.ll
test/CodeGen/ARM/2008-03-07-RegScavengerAssert.ll
test/CodeGen/ARM/2008-04-04-ScavengerAssert.ll
test/CodeGen/ARM/2008-04-10-ScavengerAssert.ll
test/CodeGen/ARM/2008-05-19-LiveIntervalsBug.ll
test/CodeGen/ARM/2008-05-19-ScavengerAssert.ll
test/CodeGen/ARM/2008-08-07-AsmPrintBug.ll
test/CodeGen/ARM/2009-02-16-SpillerBug.ll
test/CodeGen/ARM/2009-05-07-RegAllocLocal.ll
test/CodeGen/ARM/2009-05-11-CodePlacementCrash.ll
test/CodeGen/ARM/2009-06-02-ISelCrash.ll
test/CodeGen/ARM/2009-06-30-RegScavengerAssert.ll
test/CodeGen/ARM/2009-06-30-RegScavengerAssert2.ll
test/CodeGen/ARM/2009-07-18-RewriterBug.ll
test/CodeGen/ARM/2009-08-21-PostRAKill3.ll
test/CodeGen/ARM/2009-10-27-double-align.ll
test/CodeGen/ARM/2010-05-17-FastAllocCrash.ll
test/CodeGen/ARM/2010-05-18-LocalAllocCrash.ll
test/CodeGen/ARM/2010-06-21-LdStMultipleBug.ll
test/CodeGen/ARM/2010-06-21-nondarwin-tc.ll
test/CodeGen/ARM/2010-06-29-SubregImpDefs.ll
test/CodeGen/ARM/2010-07-26-GlobalMerge.ll
test/CodeGen/ARM/2011-04-26-SchedTweak.ll
test/CodeGen/ARM/2011-11-28-DAGCombineBug.ll
test/CodeGen/ARM/2012-02-01-CoalescerBug.ll
test/CodeGen/ARM/2012-10-04-FixedFrame-vs-byval.ll
test/CodeGen/ARM/2013-04-21-AAPCS-VA-C.1.cp.ll
test/CodeGen/ARM/Windows/read-only-data.ll
test/CodeGen/ARM/arm-ttype-target2.ll
test/CodeGen/ARM/cache-intrinsic.ll
test/CodeGen/ARM/crash-O0.ll
test/CodeGen/ARM/cse-call.ll
test/CodeGen/ARM/cse-ldrlit.ll
test/CodeGen/ARM/debug-info-branch-folding.ll
test/CodeGen/ARM/debug-info-d16-reg.ll
test/CodeGen/ARM/debug-info-qreg.ll
test/CodeGen/ARM/debug-info-s16-reg.ll
test/CodeGen/ARM/dwarf-eh.ll
test/CodeGen/ARM/dyn-stackalloc.ll
test/CodeGen/ARM/fast-isel-GEP-coalesce.ll
test/CodeGen/ARM/fast-isel-align.ll
test/CodeGen/ARM/fast-isel-intrinsic.ll
test/CodeGen/ARM/global-merge-1.ll
test/CodeGen/ARM/hello.ll
test/CodeGen/ARM/ifconv-regmask.ll
test/CodeGen/ARM/indirectbr-2.ll
test/CodeGen/ARM/ldm.ll
test/CodeGen/ARM/ldrd.ll
test/CodeGen/ARM/machine-cse-cmp.ll
test/CodeGen/ARM/memcpy-inline.ll
test/CodeGen/ARM/mult-alt-generic-arm.ll
test/CodeGen/ARM/neon-spfp.ll
test/CodeGen/ARM/optselect-regclass.ll
test/CodeGen/ARM/sjlj-prepare-critical-edge.ll
test/CodeGen/ARM/stack-protector-bmovpcb_call.ll
test/CodeGen/ARM/stm.ll
test/CodeGen/ARM/tls3.ll
test/CodeGen/ARM/uint64tof64.ll
test/CodeGen/ARM/vargs.ll
test/CodeGen/BPF/ex1.ll
test/CodeGen/BPF/load.ll
test/CodeGen/BPF/sanity.ll
test/CodeGen/BPF/struct_ret1.ll
test/CodeGen/Generic/2003-07-06-BadIntCmp.ll
test/CodeGen/Generic/2003-07-07-BadLongConst.ll
test/CodeGen/Generic/2003-07-08-BadCastToBool.ll
test/CodeGen/Generic/2003-07-29-BadConstSbyte.ll
test/CodeGen/Generic/2005-04-09-GlobalInPHI.ll
test/CodeGen/Generic/2005-12-01-Crash.ll
test/CodeGen/Generic/2006-09-02-LocalAllocCrash.ll
test/CodeGen/Generic/2007-05-03-EHTypeInfo.ll
test/CodeGen/Generic/2008-02-04-Ctlz.ll
test/CodeGen/Generic/2008-08-07-PtrToInt-SmallerInt.ll
test/CodeGen/Generic/ConstantExprLowering.ll
test/CodeGen/Generic/add-with-overflow-128.ll
test/CodeGen/Generic/add-with-overflow-24.ll
test/CodeGen/Generic/add-with-overflow.ll
test/CodeGen/Generic/annotate.ll
test/CodeGen/Generic/badarg6.ll
test/CodeGen/Generic/crash.ll
test/CodeGen/Generic/fastcall.ll
test/CodeGen/Generic/invalid-memcpy.ll
test/CodeGen/Generic/ptr-annotate.ll
test/CodeGen/Hexagon/gp-plus-offset-load.ll
test/CodeGen/Hexagon/gp-plus-offset-store.ll
test/CodeGen/MSP430/2009-12-22-InlineAsm.ll
test/CodeGen/MSP430/AddrMode-bis-rx.ll
test/CodeGen/MSP430/AddrMode-bis-xr.ll
test/CodeGen/MSP430/AddrMode-mov-rx.ll
test/CodeGen/MSP430/AddrMode-mov-xr.ll
test/CodeGen/MSP430/inline-asm.ll
test/CodeGen/MSP430/mult-alt-generic-msp430.ll
test/CodeGen/Mips/2008-07-15-InternalConstant.ll
test/CodeGen/Mips/2008-07-15-SmallSection.ll
test/CodeGen/Mips/2012-12-12-ExpandMemcpy.ll
test/CodeGen/Mips/Fast-ISel/loadstrconst.ll
test/CodeGen/Mips/Fast-ISel/overflt.ll
test/CodeGen/Mips/alloca.ll
test/CodeGen/Mips/and1.ll
test/CodeGen/Mips/atomic.ll
test/CodeGen/Mips/atomicops.ll
test/CodeGen/Mips/brind.ll
test/CodeGen/Mips/cache-intrinsic.ll
test/CodeGen/Mips/cconv/arguments-struct.ll
test/CodeGen/Mips/cconv/arguments-varargs-small-structs-byte.ll
test/CodeGen/Mips/cconv/arguments-varargs-small-structs-combinations.ll
test/CodeGen/Mips/cconv/arguments-varargs-small-structs-multiple-args.ll
test/CodeGen/Mips/cconv/return-struct.ll
test/CodeGen/Mips/cmov.ll
test/CodeGen/Mips/ex2.ll
test/CodeGen/Mips/fastcc.ll
test/CodeGen/Mips/fp-indexed-ls.ll
test/CodeGen/Mips/helloworld.ll
test/CodeGen/Mips/hf16call32.ll
test/CodeGen/Mips/hfptrcall.ll
test/CodeGen/Mips/i32k.ll
test/CodeGen/Mips/inlineasm-operand-code.ll
test/CodeGen/Mips/inlineasmmemop.ll
test/CodeGen/Mips/internalfunc.ll
test/CodeGen/Mips/largeimmprinting.ll
test/CodeGen/Mips/lb1.ll
test/CodeGen/Mips/lbu1.ll
test/CodeGen/Mips/lh1.ll
test/CodeGen/Mips/lhu1.ll
test/CodeGen/Mips/load-store-left-right.ll
test/CodeGen/Mips/mbrsize4a.ll
test/CodeGen/Mips/memcpy.ll
test/CodeGen/Mips/micromips-addiu.ll
test/CodeGen/Mips/micromips-andi.ll
test/CodeGen/Mips/micromips-delay-slot-jr.ll
test/CodeGen/Mips/mips16_32_8.ll
test/CodeGen/Mips/mips16_fpret.ll
test/CodeGen/Mips/mips16ex.ll
test/CodeGen/Mips/neg1.ll
test/CodeGen/Mips/not1.ll
test/CodeGen/Mips/or1.ll
test/CodeGen/Mips/prevent-hoisting.ll
test/CodeGen/Mips/sb1.ll
test/CodeGen/Mips/selnek.ll
test/CodeGen/Mips/sh1.ll
test/CodeGen/Mips/sll1.ll
test/CodeGen/Mips/sll2.ll
test/CodeGen/Mips/sra1.ll
test/CodeGen/Mips/sra2.ll
test/CodeGen/Mips/srl1.ll
test/CodeGen/Mips/srl2.ll
test/CodeGen/Mips/stchar.ll
test/CodeGen/Mips/stldst.ll
test/CodeGen/Mips/sub1.ll
test/CodeGen/Mips/sub2.ll
test/CodeGen/Mips/ul1.ll
test/CodeGen/Mips/unalignedload.ll
test/CodeGen/Mips/xor1.ll
test/CodeGen/NVPTX/access-non-generic.ll
test/CodeGen/NVPTX/nvvm-reflect.ll
test/CodeGen/NVPTX/symbol-naming.ll
test/CodeGen/PowerPC/2007-02-23-lr-saved-twice.ll
test/CodeGen/PowerPC/2007-05-03-InlineAsm-S-Constraint.ll
test/CodeGen/PowerPC/2007-10-21-LocalRegAllocAssert.ll
test/CodeGen/PowerPC/2007-10-21-LocalRegAllocAssert2.ll
test/CodeGen/PowerPC/2008-02-05-LiveIntervalsAssert.ll
test/CodeGen/PowerPC/2008-04-23-CoalescerCrash.ll
test/CodeGen/PowerPC/2008-07-24-PPC64-CCBug.ll
test/CodeGen/PowerPC/2009-01-16-DeclareISelBug.ll
test/CodeGen/PowerPC/2011-12-05-NoSpillDupCR.ll
test/CodeGen/PowerPC/2011-12-06-SpillAndRestoreCR.ll
test/CodeGen/PowerPC/2013-07-01-PHIElimBug.ll
test/CodeGen/PowerPC/cr-spills.ll
test/CodeGen/PowerPC/cr1eq-no-extra-moves.ll
test/CodeGen/PowerPC/cr1eq.ll
test/CodeGen/PowerPC/cr_spilling.ll
test/CodeGen/PowerPC/ctrloop-s000.ll
test/CodeGen/PowerPC/ctrloop-sums.ll
test/CodeGen/PowerPC/fast-isel-GEP-coalesce.ll
test/CodeGen/PowerPC/fast-isel-load-store.ll
test/CodeGen/PowerPC/hello.ll
test/CodeGen/PowerPC/isel-rc-nox0.ll
test/CodeGen/PowerPC/load-shift-combine.ll
test/CodeGen/PowerPC/mult-alt-generic-powerpc.ll
test/CodeGen/PowerPC/mult-alt-generic-powerpc64.ll
test/CodeGen/PowerPC/ppc64le-aggregates.ll
test/CodeGen/PowerPC/pr16556-2.ll
test/CodeGen/PowerPC/pr17168.ll
test/CodeGen/PowerPC/pr17354.ll
test/CodeGen/PowerPC/remat-imm.ll
test/CodeGen/PowerPC/resolvefi-basereg.ll
test/CodeGen/PowerPC/resolvefi-disp.ll
test/CodeGen/PowerPC/s000-alias-misched.ll
test/CodeGen/PowerPC/sjlj.ll
test/CodeGen/PowerPC/stack-protector.ll
test/CodeGen/PowerPC/structsinmem.ll
test/CodeGen/PowerPC/structsinregs.ll
test/CodeGen/PowerPC/stwu-gta.ll
test/CodeGen/PowerPC/tls-cse.ll
test/CodeGen/PowerPC/toc-load-sched-bug.ll
test/CodeGen/PowerPC/trampoline.ll
test/CodeGen/PowerPC/vsx-spill-norwstore.ll
test/CodeGen/R600/32-bit-local-address-space.ll
test/CodeGen/R600/big_alu.ll
test/CodeGen/R600/dot4-folding.ll
test/CodeGen/R600/ds_read2.ll
test/CodeGen/R600/ds_write2.ll
test/CodeGen/R600/fetch-limits.r600.ll
test/CodeGen/R600/fetch-limits.r700+.ll
test/CodeGen/R600/jump-address.ll
test/CodeGen/R600/kcache-fold.ll
test/CodeGen/R600/large-constant-initializer.ll
test/CodeGen/R600/llvm.AMDGPU.cube.ll
test/CodeGen/R600/load-input-fold.ll
test/CodeGen/R600/no-initializer-constant-addrspace.ll
test/CodeGen/R600/pv-packing.ll
test/CodeGen/R600/pv.ll
test/CodeGen/R600/r600-export-fix.ll
test/CodeGen/R600/schedule-if-2.ll
test/CodeGen/R600/schedule-if.ll
test/CodeGen/R600/schedule-vs-if-nested-loop-failure.ll
test/CodeGen/R600/schedule-vs-if-nested-loop.ll
test/CodeGen/R600/swizzle-export.ll
test/CodeGen/SPARC/exception.ll
test/CodeGen/SPARC/mult-alt-generic-sparc.ll
test/CodeGen/SPARC/setjmp.ll
test/CodeGen/Thumb/2007-05-05-InvalidPushPop.ll
test/CodeGen/Thumb/2009-08-12-RegInfoAssert.ll
test/CodeGen/Thumb/2011-05-11-DAGLegalizer.ll
test/CodeGen/Thumb/asmprinter-bug.ll
test/CodeGen/Thumb/dyn-stackalloc.ll
test/CodeGen/Thumb/ldm-merge-struct.ll
test/CodeGen/Thumb/thumb-ldm.ll
test/CodeGen/Thumb/vargs.ll
test/CodeGen/Thumb2/2009-07-21-ISelBug.ll
test/CodeGen/Thumb2/2009-08-04-CoalescerAssert.ll
test/CodeGen/Thumb2/2009-08-04-CoalescerBug.ll
test/CodeGen/Thumb2/2009-08-04-ScavengerAssert.ll
test/CodeGen/Thumb2/2009-08-21-PostRAKill4.ll
test/CodeGen/Thumb2/2009-09-01-PostRAProlog.ll
test/CodeGen/Thumb2/2010-01-06-TailDuplicateLabels.ll
test/CodeGen/Thumb2/2010-03-08-addi12-ccout.ll
test/CodeGen/Thumb2/2010-06-14-NEONCoalescer.ll
test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll
test/CodeGen/Thumb2/2010-08-10-VarSizedAllocaBug.ll
test/CodeGen/Thumb2/constant-islands.ll
test/CodeGen/Thumb2/crash.ll
test/CodeGen/Thumb2/thumb2-ldm.ll
test/CodeGen/Thumb2/thumb2-tbh.ll
test/CodeGen/Thumb2/v8_IT_3.ll
test/CodeGen/X86/2005-02-14-IllegalAssembler.ll
test/CodeGen/X86/2006-10-13-CycleInDAG.ll
test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll
test/CodeGen/X86/2007-02-16-BranchFold.ll
test/CodeGen/X86/2007-03-26-CoalescerBug.ll
test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll
test/CodeGen/X86/2007-05-05-VecCastExpand.ll
test/CodeGen/X86/2007-07-10-StackerAssert.ll
test/CodeGen/X86/2007-08-09-IllegalX86-64Asm.ll
test/CodeGen/X86/2007-08-13-AppendingLinkage.ll
test/CodeGen/X86/2007-10-15-CoalescerCrash.ll
test/CodeGen/X86/2007-11-04-rip-immediate-constant.ll
test/CodeGen/X86/2008-02-18-TailMergingBug.ll
test/CodeGen/X86/2008-03-31-SpillerFoldingBug.ll
test/CodeGen/X86/2008-04-17-CoalescerBug.ll
test/CodeGen/X86/2008-05-28-LocalRegAllocBug.ll
test/CodeGen/X86/2008-07-16-CoalescerCrash.ll
test/CodeGen/X86/2008-08-06-CmpStride.ll
test/CodeGen/X86/2008-08-06-RewriterBug.ll
test/CodeGen/X86/2008-09-29-ReMatBug.ll
test/CodeGen/X86/2008-12-01-SpillerAssert.ll
test/CodeGen/X86/2008-12-19-EarlyClobberBug.ll
test/CodeGen/X86/2009-01-18-ConstantExprCrash.ll
test/CodeGen/X86/2009-02-04-sext-i64-gep.ll
test/CodeGen/X86/2009-03-23-LinearScanBug.ll
test/CodeGen/X86/2009-03-25-TestBug.ll
test/CodeGen/X86/2009-05-08-InlineAsmIOffset.ll
test/CodeGen/X86/2009-10-19-atomic-cmp-eflags.ll
test/CodeGen/X86/2009-11-16-MachineLICM.ll
test/CodeGen/X86/2009-11-16-UnfoldMemOpBug.ll
test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll
test/CodeGen/X86/2010-06-15-FastAllocEarlyCLobber.ll
test/CodeGen/X86/2010-06-24-g-constraint-crash.ll
test/CodeGen/X86/2010-07-06-DbgCrash.ll
test/CodeGen/X86/2010-07-15-Crash.ll
test/CodeGen/X86/2010-08-04-MaskedSignedCompare.ll
test/CodeGen/X86/2010-09-30-CMOV-JumpTable-PHI.ll
test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll
test/CodeGen/X86/2011-05-26-UnreachableBlockElim.ll
test/CodeGen/X86/2011-10-12-MachineCSE.ll
test/CodeGen/X86/2011-10-19-LegelizeLoad.ll
test/CodeGen/X86/2012-09-28-CGPBug.ll
test/CodeGen/X86/2012-11-30-misched-dbg.ll
test/CodeGen/X86/2013-03-13-VEX-DestReg.ll
test/CodeGen/X86/2014-08-29-CompactUnwind.ll
test/CodeGen/X86/GC/badwriteproto.ll
test/CodeGen/X86/abi-isel.ll
test/CodeGen/X86/address-type-promotion-constantexpr.ll
test/CodeGen/X86/aliases.ll
test/CodeGen/X86/alignment-2.ll
test/CodeGen/X86/asm-global-imm.ll
test/CodeGen/X86/byval-align.ll
test/CodeGen/X86/cache-intrinsic.ll
test/CodeGen/X86/catch.ll
test/CodeGen/X86/cfstring.ll
test/CodeGen/X86/cmov.ll
test/CodeGen/X86/coalescer-remat.ll
test/CodeGen/X86/codegen-prepare-cast.ll
test/CodeGen/X86/codegen-prepare-extload.ll
test/CodeGen/X86/codemodel.ll
test/CodeGen/X86/coff-comdat.ll
test/CodeGen/X86/crash.ll
test/CodeGen/X86/critical-edge-split-2.ll
test/CodeGen/X86/dagcombine-and-setcc.ll
test/CodeGen/X86/darwin-stub.ll
test/CodeGen/X86/dbg-changes-codegen-branch-folding.ll
test/CodeGen/X86/discontiguous-loops.ll
test/CodeGen/X86/fast-isel-mem.ll
test/CodeGen/X86/fltused.ll
test/CodeGen/X86/fltused_function_pointer.ll
test/CodeGen/X86/fold-load.ll
test/CodeGen/X86/fold-sext-trunc.ll
test/CodeGen/X86/fold-zext-trunc.ll
test/CodeGen/X86/frameescape.ll
test/CodeGen/X86/ga-offset.ll
test/CodeGen/X86/hidden-vis-pic.ll
test/CodeGen/X86/hoist-invariant-load.ll
test/CodeGen/X86/inline-asm-fpstack.ll
test/CodeGen/X86/large-code-model-isel.ll
test/CodeGen/X86/lea-recursion.ll
test/CodeGen/X86/leaf-fp-elim.ll
test/CodeGen/X86/licm-nested.ll
test/CodeGen/X86/licm-symbol.ll
test/CodeGen/X86/lsr-i386.ll
test/CodeGen/X86/lsr-normalization.ll
test/CodeGen/X86/memcmp.ll
test/CodeGen/X86/memcpy-2.ll
test/CodeGen/X86/memcpy.ll
test/CodeGen/X86/misaligned-memset.ll
test/CodeGen/X86/movfs.ll
test/CodeGen/X86/movgs.ll
test/CodeGen/X86/mult-alt-generic-i686.ll
test/CodeGen/X86/mult-alt-generic-x86_64.ll
test/CodeGen/X86/musttail-fastcall.ll
test/CodeGen/X86/narrow_op-1.ll
test/CodeGen/X86/negative-subscript.ll
test/CodeGen/X86/object-size.ll
test/CodeGen/X86/opaque-constant-asm.ll
test/CodeGen/X86/packed_struct.ll
test/CodeGen/X86/phys-reg-local-regalloc.ll
test/CodeGen/X86/postra-licm.ll
test/CodeGen/X86/pr13458.ll
test/CodeGen/X86/pr1489.ll
test/CodeGen/X86/pr1505b.ll
test/CodeGen/X86/pr18023.ll
test/CodeGen/X86/pr21792.ll
test/CodeGen/X86/pr2656.ll
test/CodeGen/X86/pr3522.ll
test/CodeGen/X86/ptrtoint-constexpr.ll
test/CodeGen/X86/ragreedy-hoist-spill.ll
test/CodeGen/X86/ragreedy-last-chance-recoloring.ll
test/CodeGen/X86/rd-mod-wr-eflags.ll
test/CodeGen/X86/reverse_branches.ll
test/CodeGen/X86/seh-catch-all.ll
test/CodeGen/X86/seh-finally.ll
test/CodeGen/X86/seh-safe-div.ll
test/CodeGen/X86/selectiondag-cse.ll
test/CodeGen/X86/sjlj.ll
test/CodeGen/X86/smul-with-overflow.ll
test/CodeGen/X86/sse2.ll
test/CodeGen/X86/stack-protector-dbginfo.ll
test/CodeGen/X86/stack-protector.ll
test/CodeGen/X86/store_op_load_fold.ll
test/CodeGen/X86/stores-merging.ll
test/CodeGen/X86/sub-with-overflow.ll
test/CodeGen/X86/switch-crit-edge-constant.ll
test/CodeGen/X86/tailcall-returndup-void.ll
test/CodeGen/X86/tlv-1.ll
test/CodeGen/X86/twoaddr-coalesce.ll
test/CodeGen/X86/umul-with-carry.ll
test/CodeGen/X86/unaligned-load.ll
test/CodeGen/X86/utf16-cfstrings.ll
test/CodeGen/X86/v4i32load-crash.ll
test/CodeGen/X86/vararg_tailcall.ll
test/CodeGen/X86/vec-loadsingles-alignment.ll
test/CodeGen/X86/x86-64-gv-offset.ll
test/CodeGen/X86/x86-64-jumps.ll
test/CodeGen/X86/x86-64-mem.ll
test/CodeGen/X86/x86-64-varargs.ll
test/CodeGen/X86/xmulo.ll
test/CodeGen/XCore/2011-01-31-DAGCombineBug.ll
test/CodeGen/XCore/codemodel.ll
test/CodeGen/XCore/threads.ll
test/CodeGen/XCore/unaligned_load.ll
test/DebugInfo/AArch64/cfi-eof-prologue.ll
test/DebugInfo/ARM/cfi-eof-prologue.ll
test/DebugInfo/Sparc/gnu-window-save.ll
test/DebugInfo/SystemZ/variable-loc.ll
test/DebugInfo/X86/byvalstruct.ll
test/DebugInfo/X86/dbg-subrange.ll
test/DebugInfo/X86/dbg-value-inlined-parameter.ll
test/DebugInfo/X86/debug-info-blocks.ll
test/DebugInfo/X86/debug-ranges-offset.ll
test/DebugInfo/X86/decl-derived-member.ll
test/DebugInfo/X86/multiple-at-const-val.ll
test/DebugInfo/X86/objc-property-void.ll
test/DebugInfo/X86/pr19307.ll
test/DebugInfo/X86/rvalue-ref.ll
test/DebugInfo/X86/sret.ll
test/DebugInfo/X86/subregisters.ll
test/DebugInfo/inheritance.ll
test/DebugInfo/tu-composite.ll
test/DebugInfo/two-cus-from-same-file.ll
test/ExecutionEngine/MCJIT/2002-12-16-ArgTest.ll
test/ExecutionEngine/MCJIT/2013-04-04-RelocAddend.ll
test/ExecutionEngine/MCJIT/hello-sm-pic.ll
test/ExecutionEngine/MCJIT/hello.ll
test/ExecutionEngine/MCJIT/pr13727.ll
test/ExecutionEngine/MCJIT/remote/stubs-remote.ll
test/ExecutionEngine/MCJIT/remote/stubs-sm-pic.ll
test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll
test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll
test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-sm-pic.ll
test/ExecutionEngine/MCJIT/stubs-sm-pic.ll
test/ExecutionEngine/MCJIT/stubs.ll
test/ExecutionEngine/MCJIT/test-common-symbols.ll
test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll
test/ExecutionEngine/MCJIT/test-ptr-reloc.ll
test/ExecutionEngine/OrcJIT/2002-12-16-ArgTest.ll
test/ExecutionEngine/OrcJIT/2013-04-04-RelocAddend.ll
test/ExecutionEngine/OrcJIT/hello-sm-pic.ll
test/ExecutionEngine/OrcJIT/hello.ll
test/ExecutionEngine/OrcJIT/pr13727.ll
test/ExecutionEngine/OrcJIT/remote/stubs-remote.ll
test/ExecutionEngine/OrcJIT/remote/stubs-sm-pic.ll
test/ExecutionEngine/OrcJIT/remote/test-common-symbols-remote.ll
test/ExecutionEngine/OrcJIT/remote/test-ptr-reloc-remote.ll
test/ExecutionEngine/OrcJIT/remote/test-ptr-reloc-sm-pic.ll
test/ExecutionEngine/OrcJIT/stubs-sm-pic.ll
test/ExecutionEngine/OrcJIT/stubs.ll
test/ExecutionEngine/OrcJIT/test-common-symbols.ll
test/ExecutionEngine/OrcJIT/test-ptr-reloc-sm-pic.ll
test/ExecutionEngine/OrcJIT/test-ptr-reloc.ll
test/ExecutionEngine/frem.ll
test/Feature/alias2.ll
test/Feature/attributes.ll
test/Feature/const_pv.ll
test/Feature/constexpr.ll
test/Feature/packed_struct.ll
test/Instrumentation/AddressSanitizer/asan-vs-gvn.ll
test/Instrumentation/AddressSanitizer/global_metadata.ll
test/Instrumentation/AddressSanitizer/instrument_global.ll
test/Instrumentation/InstrProfiling/linkage.ll
test/Instrumentation/InstrProfiling/noruntime.ll
test/Instrumentation/InstrProfiling/platform.ll
test/Instrumentation/InstrProfiling/profiling.ll
test/Instrumentation/ThreadSanitizer/tsan-vs-gvn.ll
test/Integer/constexpr_bt.ll
test/Integer/packed_struct_bt.ll
test/Linker/2002-08-20-ConstantExpr.ll
test/Linker/2004-05-07-TypeResolution1.ll
test/Linker/AppendingLinkage.ll
test/Linker/Inputs/comdat5.ll
test/Linker/comdat6.ll
test/Linker/partial-type-refinement.ll
test/Linker/type-unique-simple2-a.ll
test/Linker/type-unique-simple2-b.ll
test/MC/ARM/elf-reloc-02.ll
test/MC/COFF/global_ctors_dtors.ll
test/MC/ELF/entsize.ll
test/MC/MachO/AArch64/cstexpr-gotpcrel.ll
test/MC/MachO/ARM/cstexpr-gotpcrel.ll
test/MC/MachO/cstexpr-gotpcrel-32.ll
test/MC/MachO/cstexpr-gotpcrel-64.ll
test/MC/Mips/elf-bigendian.ll
test/MC/Mips/sym-offset.ll
test/Object/Inputs/trivial.ll
test/Other/constant-fold-gep-address-spaces.ll
test/Other/constant-fold-gep.ll
test/Transforms/BBVectorize/func-alias.ll
test/Transforms/BBVectorize/mem-op-depth.ll
test/Transforms/ConstProp/2005-01-28-SetCCGEP.ll
test/Transforms/ConstProp/div-zero.ll
test/Transforms/ConstProp/loads.ll
test/Transforms/ConstantMerge/2002-09-23-CPR-Update.ll
test/Transforms/DeadArgElim/2010-04-30-DbgInfo.ll
test/Transforms/GCOVProfiling/function-numbering.ll
test/Transforms/GVN/2007-07-26-InterlockingLoops.ll
test/Transforms/GVN/2008-12-14-rle-reanalyze.ll
test/Transforms/GVN/2009-11-12-MemDepMallocBitCast.ll
test/Transforms/GVN/2011-04-27-phioperands.ll
test/Transforms/GVN/2011-06-01-NonLocalMemdepMiscompile.ll
test/Transforms/GVN/load-pre-nonlocal.ll
test/Transforms/GVN/pr17732.ll
test/Transforms/GVN/pre-compare.ll
test/Transforms/GVN/rle.ll
test/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll
test/Transforms/GlobalDCE/complex-constantexpr.ll
test/Transforms/GlobalOpt/2005-06-15-LocalizeConstExprCrash.ll
test/Transforms/GlobalOpt/2007-05-13-Crash.ll
test/Transforms/GlobalOpt/2007-06-04-PackedStruct.ll
test/Transforms/GlobalOpt/2007-11-09-GEP-GEP-Crash.ll
test/Transforms/GlobalOpt/2008-04-26-SROA-Global-Align.ll
test/Transforms/GlobalOpt/2008-07-17-addrspace.ll
test/Transforms/GlobalOpt/2008-12-16-HeapSRACrash-2.ll
test/Transforms/GlobalOpt/2008-12-16-HeapSRACrash.ll
test/Transforms/GlobalOpt/2009-11-16-BrokenPerformHeapAllocSRoA.ll
test/Transforms/GlobalOpt/alias-resolve.ll
test/Transforms/GlobalOpt/array-elem-refs.ll
test/Transforms/GlobalOpt/constantfold-initializers.ll
test/Transforms/GlobalOpt/crash-2.ll
test/Transforms/GlobalOpt/crash.ll
test/Transforms/GlobalOpt/ctor-list-opt-inbounds.ll
test/Transforms/GlobalOpt/ctor-list-opt.ll
test/Transforms/GlobalOpt/cxx-dtor.ll
test/Transforms/GlobalOpt/externally-initialized-global-ctr.ll
test/Transforms/GlobalOpt/globalsra-partial.ll
test/Transforms/GlobalOpt/globalsra-unknown-index.ll
test/Transforms/GlobalOpt/globalsra.ll
test/Transforms/GlobalOpt/iterate.ll
test/Transforms/GlobalOpt/memcpy.ll
test/Transforms/GlobalOpt/memset.ll
test/Transforms/GlobalOpt/tls.ll
test/Transforms/IPConstantProp/2009-09-24-byval-ptr.ll
test/Transforms/IndVarSimplify/2005-11-18-Crash.ll
test/Transforms/IndVarSimplify/2011-10-27-lftrnull.ll
test/Transforms/IndVarSimplify/2012-07-17-lftr-undef.ll
test/Transforms/IndVarSimplify/eliminate-max.ll
test/Transforms/IndVarSimplify/lftr-zext.ll
test/Transforms/IndVarSimplify/loop_evaluate9.ll
test/Transforms/IndVarSimplify/udiv.ll
test/Transforms/Inline/alloca-dbgdeclare.ll
test/Transforms/Inline/byval.ll
test/Transforms/Inline/devirtualize.ll
test/Transforms/Inline/inline-vla.ll
test/Transforms/Inline/inline_ssp.ll
test/Transforms/InstCombine/2007-11-25-CompatibleAttributes.ll
test/Transforms/InstCombine/2008-05-17-InfLoop.ll
test/Transforms/InstCombine/2009-01-19-fmod-constant-float-specials.ll
test/Transforms/InstCombine/2009-12-17-CmpSelectNull.ll
test/Transforms/InstCombine/2010-03-03-ExtElim.ll
test/Transforms/InstCombine/2010-05-30-memcpy-Struct.ll
test/Transforms/InstCombine/2012-02-13-FCmp.ll
test/Transforms/InstCombine/2012-07-25-LoadPart.ll
test/Transforms/InstCombine/2012-07-30-addrsp-bitcast.ll
test/Transforms/InstCombine/2013-03-05-Combine-BitcastTy-Into-Alloca.ll
test/Transforms/InstCombine/PR7357.ll
test/Transforms/InstCombine/addrspacecast.ll
test/Transforms/InstCombine/alias-recursion.ll
test/Transforms/InstCombine/align-addr.ll
test/Transforms/InstCombine/constant-expr-datalayout.ll
test/Transforms/InstCombine/constant-fold-address-space-pointer.ll
test/Transforms/InstCombine/constant-fold-alias.ll
test/Transforms/InstCombine/constant-fold-gep.ll
test/Transforms/InstCombine/crash.ll
test/Transforms/InstCombine/debug-line.ll
test/Transforms/InstCombine/err-rep-cold.ll
test/Transforms/InstCombine/fprintf-1.ll
test/Transforms/InstCombine/fputs-1.ll
test/Transforms/InstCombine/gepgep.ll
test/Transforms/InstCombine/getelementptr.ll
test/Transforms/InstCombine/icmp.ll
test/Transforms/InstCombine/known_align.ll
test/Transforms/InstCombine/load-select.ll
test/Transforms/InstCombine/load3.ll
test/Transforms/InstCombine/malloc-free-delete.ll
test/Transforms/InstCombine/memcpy-from-global.ll
test/Transforms/InstCombine/memmove.ll
test/Transforms/InstCombine/objsize-address-space.ll
test/Transforms/InstCombine/objsize.ll
test/Transforms/InstCombine/osx-names.ll
test/Transforms/InstCombine/pr8547.ll
test/Transforms/InstCombine/printf-1.ll
test/Transforms/InstCombine/printf-2.ll
test/Transforms/InstCombine/puts-1.ll
test/Transforms/InstCombine/simplify-libcalls.ll
test/Transforms/InstCombine/sprintf-1.ll
test/Transforms/InstCombine/stack-overalign.ll
test/Transforms/InstCombine/stpcpy-1.ll
test/Transforms/InstCombine/stpcpy_chk-1.ll
test/Transforms/InstCombine/strchr-1.ll
test/Transforms/InstCombine/strcmp-1.ll
test/Transforms/InstCombine/strcpy-1.ll
test/Transforms/InstCombine/strcpy_chk-1.ll
test/Transforms/InstCombine/strncpy-1.ll
test/Transforms/InstCombine/strncpy_chk-1.ll
test/Transforms/InstCombine/strpbrk-1.ll
test/Transforms/InstCombine/strrchr-1.ll
test/Transforms/InstCombine/strstr-1.ll
test/Transforms/InstCombine/sub.ll
test/Transforms/InstCombine/urem-simplify-bug.ll
test/Transforms/InstMerge/st_sink_bugfix_22613.ll
test/Transforms/InstSimplify/2011-10-27-BinOpCrash.ll
test/Transforms/InstSimplify/call-callconv.ll
test/Transforms/InstSimplify/past-the-end.ll
test/Transforms/InstSimplify/vector_gep.ll
test/Transforms/JumpThreading/2010-08-26-and.ll
test/Transforms/JumpThreading/2011-04-14-InfLoop.ll
test/Transforms/JumpThreading/indirectbr.ll
test/Transforms/JumpThreading/landing-pad.ll
test/Transforms/JumpThreading/lvi-load.ll
test/Transforms/JumpThreading/phi-eq.ll
test/Transforms/LCSSA/invoke-dest.ll
test/Transforms/LICM/2011-04-09-RAUW-AST.ll
test/Transforms/LICM/hoist-invariant-load.ll
test/Transforms/LICM/scalar_promote.ll
test/Transforms/LoopIdiom/basic-address-space.ll
test/Transforms/LoopIdiom/basic.ll
test/Transforms/LoopSimplify/2003-08-15-PreheadersFail.ll
test/Transforms/LoopSimplify/phi-node-simplify.ll
test/Transforms/LoopStrengthReduce/2008-08-13-CmpStride.ll
test/Transforms/LoopStrengthReduce/2008-09-09-Overflow.ll
test/Transforms/LoopStrengthReduce/2009-01-13-nonconstant-stride-outside-loop.ll
test/Transforms/LoopStrengthReduce/2009-04-28-no-reduce-mul.ll
test/Transforms/LoopStrengthReduce/2012-07-18-LimitReassociate.ll
test/Transforms/LoopStrengthReduce/X86/2012-01-13-phielim.ll
test/Transforms/LoopStrengthReduce/X86/pr17473.ll
test/Transforms/LoopStrengthReduce/pr18165.ll
test/Transforms/LoopUnswitch/2007-07-12-ExitDomInfo.ll
test/Transforms/LoopUnswitch/2007-08-01-LCSSA.ll
test/Transforms/LoopVectorize/2012-10-22-isconsec.ll
test/Transforms/LoopVectorize/X86/masked_load_store.ll
test/Transforms/LoopVectorize/global_alias.ll
test/Transforms/LoopVectorize/if-conversion.ll
test/Transforms/LoopVectorize/ptr_loops.ll
test/Transforms/LowerBitSets/constant.ll
test/Transforms/LowerBitSets/simple.ll
test/Transforms/Mem2Reg/2007-08-27-VolatileLoadsStores.ll
test/Transforms/MemCpyOpt/form-memset.ll
test/Transforms/MemCpyOpt/memcpy.ll
test/Transforms/MemCpyOpt/memmove.ll
test/Transforms/MemCpyOpt/smaller.ll
test/Transforms/MergeFunc/2011-02-08-RemoveEqual.ll
test/Transforms/MergeFunc/crash.ll
test/Transforms/MergeFunc/inttoptr.ll
test/Transforms/ObjCARC/basic.ll
test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll
test/Transforms/ObjCARC/nested.ll
test/Transforms/ObjCARC/weak-copies.ll
test/Transforms/PhaseOrdering/2010-03-22-empty-baseclass.ll
test/Transforms/PhaseOrdering/gdce.ll
test/Transforms/SLPVectorizer/X86/addsub.ll
test/Transforms/SLPVectorizer/X86/atomics.ll
test/Transforms/SLPVectorizer/X86/compare-reduce.ll
test/Transforms/SLPVectorizer/X86/crash_netbsd_decompress.ll
test/Transforms/SLPVectorizer/X86/in-tree-user.ll
test/Transforms/SLPVectorizer/X86/operandorder.ll
test/Transforms/SLPVectorizer/X86/return.ll
test/Transforms/SROA/slice-width.ll
test/Transforms/SampleProfile/branch.ll
test/Transforms/SampleProfile/calls.ll
test/Transforms/SampleProfile/fnptr.ll
test/Transforms/SampleProfile/propagate.ll
test/Transforms/ScalarRepl/memcpy-align.ll
test/Transforms/ScalarRepl/phi-cycle.ll
test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch-dbg.ll
test/Transforms/SimplifyCFG/2008-07-13-InfLoopMiscompile.ll
test/Transforms/SimplifyCFG/MagicPointer.ll
test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
test/Verifier/bitcast-address-space-through-gep-2.ll
test/Verifier/bitcast-address-space-through-gep.ll
test/tools/llvm-readobj/Inputs/trivial.ll