[PATCH] [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction

David Blaikie dblaikie at gmail.com
Fri Feb 27 11:38:04 PST 2015


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7636

Files:
  llvm/trunk/lib/AsmParser/LLParser.cpp
  llvm/trunk/lib/IR/AsmWriter.cpp
  llvm/trunk/test/Analysis/BasicAA/2003-02-26-AccessSizeTest.ll
  llvm/trunk/test/Analysis/BasicAA/2003-03-04-GEPCrash.ll
  llvm/trunk/test/Analysis/BasicAA/2003-04-22-GEPProblem.ll
  llvm/trunk/test/Analysis/BasicAA/2003-04-25-GEPCrash.ll
  llvm/trunk/test/Analysis/BasicAA/2003-05-21-GEP-Problem.ll
  llvm/trunk/test/Analysis/BasicAA/2003-06-01-AliasCrash.ll
  llvm/trunk/test/Analysis/BasicAA/2003-07-03-BasicAACrash.ll
  llvm/trunk/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll
  llvm/trunk/test/Analysis/BasicAA/2003-12-11-ConstExprGEP.ll
  llvm/trunk/test/Analysis/BasicAA/2004-07-28-MustAliasbug.ll
  llvm/trunk/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll
  llvm/trunk/test/Analysis/BasicAA/2006-11-03-BasicAAVectorCrash.ll
  llvm/trunk/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll
  llvm/trunk/test/Analysis/BasicAA/2007-08-01-NoAliasAndGEP.ll
  llvm/trunk/test/Analysis/BasicAA/2007-10-24-ArgumentsGlobals.ll
  llvm/trunk/test/Analysis/BasicAA/2007-11-05-SizeCrash.ll
  llvm/trunk/test/Analysis/BasicAA/2007-12-08-OutOfBoundsCrash.ll
  llvm/trunk/test/Analysis/BasicAA/2008-04-15-Byval.ll
  llvm/trunk/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll
  llvm/trunk/test/Analysis/BasicAA/2009-10-13-AtomicModRef.ll
  llvm/trunk/test/Analysis/BasicAA/2009-10-13-GEP-BaseNoAlias.ll
  llvm/trunk/test/Analysis/BasicAA/2010-09-15-GEP-SignedArithmetic.ll
  llvm/trunk/test/Analysis/BasicAA/2014-03-18-Maxlookup-reached.ll
  llvm/trunk/test/Analysis/BasicAA/byval.ll
  llvm/trunk/test/Analysis/BasicAA/constant-over-index.ll
  llvm/trunk/test/Analysis/BasicAA/cs-cs.ll
  llvm/trunk/test/Analysis/BasicAA/featuretest.ll
  llvm/trunk/test/Analysis/BasicAA/full-store-partial-alias.ll
  llvm/trunk/test/Analysis/BasicAA/gep-alias.ll
  llvm/trunk/test/Analysis/BasicAA/global-size.ll
  llvm/trunk/test/Analysis/BasicAA/intrinsics.ll
  llvm/trunk/test/Analysis/BasicAA/modref.ll
  llvm/trunk/test/Analysis/BasicAA/must-and-partial.ll
  llvm/trunk/test/Analysis/BasicAA/no-escape-call.ll
  llvm/trunk/test/Analysis/BasicAA/noalias-bugs.ll
  llvm/trunk/test/Analysis/BasicAA/noalias-geps.ll
  llvm/trunk/test/Analysis/BasicAA/phi-aa.ll
  llvm/trunk/test/Analysis/BasicAA/phi-spec-order.ll
  llvm/trunk/test/Analysis/BasicAA/phi-speculation.ll
  llvm/trunk/test/Analysis/BasicAA/pr18573.ll
  llvm/trunk/test/Analysis/BasicAA/store-promote.ll
  llvm/trunk/test/Analysis/BasicAA/struct-geps.ll
  llvm/trunk/test/Analysis/BasicAA/underlying-value.ll
  llvm/trunk/test/Analysis/BasicAA/unreachable-block.ll
  llvm/trunk/test/Analysis/BasicAA/zext.ll
  llvm/trunk/test/Analysis/BlockFrequencyInfo/basic.ll
  llvm/trunk/test/Analysis/BranchProbabilityInfo/basic.ll
  llvm/trunk/test/Analysis/BranchProbabilityInfo/loop.ll
  llvm/trunk/test/Analysis/BranchProbabilityInfo/pr18705.ll
  llvm/trunk/test/Analysis/CFLAliasAnalysis/const-expr-gep.ll
  llvm/trunk/test/Analysis/CFLAliasAnalysis/constant-over-index.ll
  llvm/trunk/test/Analysis/CFLAliasAnalysis/full-store-partial-alias.ll
  llvm/trunk/test/Analysis/CFLAliasAnalysis/gep-signed-arithmetic.ll
  llvm/trunk/test/Analysis/CFLAliasAnalysis/must-and-partial.ll
  llvm/trunk/test/Analysis/CFLAliasAnalysis/simple.ll
  llvm/trunk/test/Analysis/CostModel/ARM/gep.ll
  llvm/trunk/test/Analysis/CostModel/X86/gep.ll
  llvm/trunk/test/Analysis/CostModel/X86/intrinsic-cost.ll
  llvm/trunk/test/Analysis/CostModel/X86/loop_v2.ll
  llvm/trunk/test/Analysis/CostModel/X86/vectorized-loop.ll
  llvm/trunk/test/Analysis/Delinearization/a.ll
  llvm/trunk/test/Analysis/Delinearization/gcd_multiply_expr.ll
  llvm/trunk/test/Analysis/Delinearization/himeno_1.ll
  llvm/trunk/test/Analysis/Delinearization/himeno_2.ll
  llvm/trunk/test/Analysis/Delinearization/iv_times_constant_in_subscript.ll
  llvm/trunk/test/Analysis/Delinearization/multidim_ivs_and_integer_offsets_3d.ll
  llvm/trunk/test/Analysis/Delinearization/multidim_ivs_and_integer_offsets_nts_3d.ll
  llvm/trunk/test/Analysis/Delinearization/multidim_ivs_and_parameteric_offsets_3d.ll
  llvm/trunk/test/Analysis/Delinearization/multidim_only_ivs_2d.ll
  llvm/trunk/test/Analysis/Delinearization/multidim_only_ivs_2d_nested.ll
  llvm/trunk/test/Analysis/Delinearization/multidim_only_ivs_3d.ll
  llvm/trunk/test/Analysis/Delinearization/multidim_only_ivs_3d_cast.ll
  llvm/trunk/test/Analysis/Delinearization/multidim_two_accesses_different_delinearization.ll
  llvm/trunk/test/Analysis/Delinearization/undef.ll
  llvm/trunk/test/Analysis/DependenceAnalysis/Banerjee.ll
  llvm/trunk/test/Analysis/DependenceAnalysis/Coupled.ll
  llvm/trunk/test/Analysis/DependenceAnalysis/ExactRDIV.ll
  llvm/trunk/test/Analysis/DependenceAnalysis/ExactSIV.ll
  llvm/trunk/test/Analysis/DependenceAnalysis/GCD.ll
  llvm/trunk/test/Analysis/DependenceAnalysis/Invariant.ll
  llvm/trunk/test/Analysis/DependenceAnalysis/NonCanonicalizedSubscript.ll
  llvm/trunk/test/Analysis/DependenceAnalysis/Preliminary.ll
  llvm/trunk/test/Analysis/DependenceAnalysis/Propagating.ll
  llvm/trunk/test/Analysis/DependenceAnalysis/Separability.ll
  llvm/trunk/test/Analysis/DependenceAnalysis/StrongSIV.ll
  llvm/trunk/test/Analysis/DependenceAnalysis/SymbolicRDIV.ll
  llvm/trunk/test/Analysis/DependenceAnalysis/SymbolicSIV.ll
  llvm/trunk/test/Analysis/DependenceAnalysis/WeakCrossingSIV.ll
  llvm/trunk/test/Analysis/DependenceAnalysis/WeakZeroDstSIV.ll
  llvm/trunk/test/Analysis/DependenceAnalysis/WeakZeroSrcSIV.ll
  llvm/trunk/test/Analysis/DependenceAnalysis/ZIV.ll
  llvm/trunk/test/Analysis/Dominators/invoke.ll
  llvm/trunk/test/Analysis/LoopAccessAnalysis/backward-dep-different-types.ll
  llvm/trunk/test/Analysis/LoopAccessAnalysis/unsafe-and-rt-checks-no-dbg.ll
  llvm/trunk/test/Analysis/LoopAccessAnalysis/unsafe-and-rt-checks.ll
  llvm/trunk/test/Analysis/MemoryDependenceAnalysis/memdep_requires_dominator_tree.ll
  llvm/trunk/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll
  llvm/trunk/test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect1.ll
  llvm/trunk/test/Analysis/ScalarEvolution/2008-12-08-FiniteSGE.ll
  llvm/trunk/test/Analysis/ScalarEvolution/2009-05-09-PointerEdgeCount.ll
  llvm/trunk/test/Analysis/ScalarEvolution/2012-03-26-LoadConstant.ll
  llvm/trunk/test/Analysis/ScalarEvolution/SolveQuadraticEquation.ll
  llvm/trunk/test/Analysis/ScalarEvolution/avoid-smax-0.ll
  llvm/trunk/test/Analysis/ScalarEvolution/avoid-smax-1.ll
  llvm/trunk/test/Analysis/ScalarEvolution/load.ll
  llvm/trunk/test/Analysis/ScalarEvolution/max-trip-count-address-space.ll
  llvm/trunk/test/Analysis/ScalarEvolution/max-trip-count.ll
  llvm/trunk/test/Analysis/ScalarEvolution/min-max-exprs.ll
  llvm/trunk/test/Analysis/ScalarEvolution/nsw-offset-assume.ll
  llvm/trunk/test/Analysis/ScalarEvolution/nsw-offset.ll
  llvm/trunk/test/Analysis/ScalarEvolution/nsw.ll
  llvm/trunk/test/Analysis/ScalarEvolution/pr22674.ll
  llvm/trunk/test/Analysis/ScalarEvolution/scev-aa.ll
  llvm/trunk/test/Analysis/ScalarEvolution/sext-inreg.ll
  llvm/trunk/test/Analysis/ScalarEvolution/sext-iv-0.ll
  llvm/trunk/test/Analysis/ScalarEvolution/sext-iv-1.ll
  llvm/trunk/test/Analysis/ScalarEvolution/sext-iv-2.ll
  llvm/trunk/test/Analysis/ScalarEvolution/sle.ll
  llvm/trunk/test/Analysis/ScalarEvolution/trip-count.ll
  llvm/trunk/test/Analysis/ScalarEvolution/trip-count11.ll
  llvm/trunk/test/Analysis/ScalarEvolution/trip-count12.ll
  llvm/trunk/test/Analysis/ScalarEvolution/trip-count2.ll
  llvm/trunk/test/Analysis/ScalarEvolution/trip-count3.ll
  llvm/trunk/test/Analysis/ScalarEvolution/trip-count4.ll
  llvm/trunk/test/Analysis/ScalarEvolution/trip-count5.ll
  llvm/trunk/test/Analysis/ScalarEvolution/trip-count6.ll
  llvm/trunk/test/Analysis/ScalarEvolution/trip-count7.ll
  llvm/trunk/test/Analysis/ScopedNoAliasAA/basic-domains.ll
  llvm/trunk/test/Analysis/ScopedNoAliasAA/basic.ll
  llvm/trunk/test/Analysis/ScopedNoAliasAA/basic2.ll
  llvm/trunk/test/Analysis/TypeBasedAliasAnalysis/dynamic-indices.ll
  llvm/trunk/test/Analysis/TypeBasedAliasAnalysis/licm.ll
  llvm/trunk/test/Analysis/TypeBasedAliasAnalysis/placement-tbaa.ll
  llvm/trunk/test/Analysis/TypeBasedAliasAnalysis/precedence.ll
  llvm/trunk/test/Analysis/TypeBasedAliasAnalysis/tbaa-path.ll
  llvm/trunk/test/Analysis/ValueTracking/memory-dereferenceable.ll
  llvm/trunk/test/Assembler/2002-08-19-BytecodeReader.ll
  llvm/trunk/test/Assembler/2004-04-04-GetElementPtrIndexTypes.ll
  llvm/trunk/test/Assembler/2004-06-07-VerifierBug.ll
  llvm/trunk/test/Assembler/2007-01-05-Cmp-ConstExpr.ll
  llvm/trunk/test/Assembler/flags.ll
  llvm/trunk/test/Assembler/getelementptr.ll
  llvm/trunk/test/Assembler/getelementptr_struct.ll
  llvm/trunk/test/Assembler/getelementptr_vec_idx1.ll
  llvm/trunk/test/Assembler/getelementptr_vec_idx2.ll
  llvm/trunk/test/Assembler/getelementptr_vec_idx3.ll
  llvm/trunk/test/Assembler/getelementptr_vec_struct.ll
  llvm/trunk/test/Assembler/invalid-gep-mismatched-explicit-type.ll
  llvm/trunk/test/Assembler/invalid-gep-missing-explicit-type.ll
  llvm/trunk/test/Bitcode/constantsTest.3.2.ll
  llvm/trunk/test/Bitcode/function-encoding-rel-operands.ll
  llvm/trunk/test/Bitcode/memInstructions.3.2.ll
  llvm/trunk/test/BugPoint/compile-custom.ll
  llvm/trunk/test/CodeGen/AArch64/128bit_load_store.ll
  llvm/trunk/test/CodeGen/AArch64/PBQP-chain.ll
  llvm/trunk/test/CodeGen/AArch64/PBQP-coalesce-benefit.ll
  llvm/trunk/test/CodeGen/AArch64/PBQP-csr.ll
  llvm/trunk/test/CodeGen/AArch64/Redundantstore.ll
  llvm/trunk/test/CodeGen/AArch64/aarch64-2014-08-11-MachineCombinerCrash.ll
  llvm/trunk/test/CodeGen/AArch64/aarch64-a57-fp-load-balancing.ll
  llvm/trunk/test/CodeGen/AArch64/aarch64-address-type-promotion-assertion.ll
  llvm/trunk/test/CodeGen/AArch64/aarch64-address-type-promotion.ll
  llvm/trunk/test/CodeGen/AArch64/aarch64-gep-opt.ll
  llvm/trunk/test/CodeGen/AArch64/and-mask-removal.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-2011-03-21-Unaligned-Frame-Index.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-2012-05-22-LdStOptBug.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-2012-07-11-InstrEmitterBug.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-abi-varargs.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-abi_align.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-addr-mode-folding.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-addr-type-promotion.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-addrmode.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-atomic.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-bcc.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-big-endian-varargs.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-big-stack.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-bitfield-extract.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-cast-opt.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-ccmp-heuristics.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-ccmp.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-collect-loh-garbage-crash.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-complex-copy-noneon.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-const-addr.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-cse.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-dagcombiner-dead-indexed-load.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-dagcombiner-load-slicing.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-early-ifcvt.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-elf-globals.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-extend.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-extern-weak.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-fast-isel-addr-offset.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-fast-isel-alloca.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-fast-isel-indirectbr.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-fast-isel-intrinsic.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-fast-isel.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-fastisel-gep-promote-before-add.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-fold-address.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-fold-lsl.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-indexed-memory.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-indexed-vector-ldst-2.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-indexed-vector-ldst.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-inline-asm.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-large-frame.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-ldp.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-ldur.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-memset-inline.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-misched-basic-A53.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-misched-basic-A57.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-prefetch.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-register-offset-addressing.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-rev.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-scaled_iv.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-scvt.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-spill-lr.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-st1.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-stp.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-stur.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-this-return.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-triv-disjoint-mem-access.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-trunc-store.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-vector-ldst.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-virtual_base.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-volatile.ll
  llvm/trunk/test/CodeGen/AArch64/arm64-zextload-unscaled.ll
  llvm/trunk/test/CodeGen/AArch64/assertion-rc-mismatch.ll
  llvm/trunk/test/CodeGen/AArch64/cmpwithshort.ll
  llvm/trunk/test/CodeGen/AArch64/combine-comparisons-by-cse.ll
  llvm/trunk/test/CodeGen/AArch64/complex-copy-noneon.ll
  llvm/trunk/test/CodeGen/AArch64/eliminate-trunc.ll
  llvm/trunk/test/CodeGen/AArch64/extern-weak.ll
  llvm/trunk/test/CodeGen/AArch64/f16-convert.ll
  llvm/trunk/test/CodeGen/AArch64/fast-isel-gep.ll
  llvm/trunk/test/CodeGen/AArch64/func-argpassing.ll
  llvm/trunk/test/CodeGen/AArch64/global-merge-3.ll
  llvm/trunk/test/CodeGen/AArch64/i128-align.ll
  llvm/trunk/test/CodeGen/AArch64/intrinsics-memory-barrier.ll
  llvm/trunk/test/CodeGen/AArch64/ldst-opt.ll
  llvm/trunk/test/CodeGen/AArch64/ldst-regoffset.ll
  llvm/trunk/test/CodeGen/AArch64/ldst-unscaledimm.ll
  llvm/trunk/test/CodeGen/AArch64/ldst-unsignedimm.ll
  llvm/trunk/test/CodeGen/AArch64/paired-load.ll
  llvm/trunk/test/CodeGen/AArch64/ragreedy-csr.ll
  llvm/trunk/test/CodeGen/AArch64/stack_guard_remat.ll
  llvm/trunk/test/CodeGen/AArch64/zero-reg.ll
  llvm/trunk/test/CodeGen/ARM/2006-11-10-CycleInDAG.ll
  llvm/trunk/test/CodeGen/ARM/2007-01-19-InfiniteLoop.ll
  llvm/trunk/test/CodeGen/ARM/2007-03-07-CombinerCrash.ll
  llvm/trunk/test/CodeGen/ARM/2007-03-13-InstrSched.ll
  (2027 more files...)

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7636.20875.patch
Type: text/x-patch
Size: 8825238 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150227/4db38017/attachment.bin>


More information about the llvm-commits mailing list