IR: Make metadata typeless in assembly
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 15 Dec 2014 19:07:53 +0000 (19:07 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 15 Dec 2014 19:07:53 +0000 (19:07 +0000)
commit1ef70ff39ba399111c83efc270cfb07207ce89bb
treea30b73f73158ad71b641d85734c91862276973e2
parent9ecdca9115bc9ab91d4ca136839583713495edd1
IR: Make metadata typeless in assembly

Now that `Metadata` is typeless, reflect that in the assembly.  These
are the matching assembly changes for the metadata/value split in
r223802.

  - Only use the `metadata` type when referencing metadata from a call
    intrinsic -- i.e., only when it's used as a `Value`.

  - Stop pretending that `ValueAsMetadata` is wrapped in an `MDNode`
    when referencing it from call intrinsics.

So, assembly like this:

    define @foo(i32 %v) {
      call void @llvm.foo(metadata !{i32 %v}, metadata !0)
      call void @llvm.foo(metadata !{i32 7}, metadata !0)
      call void @llvm.foo(metadata !1, metadata !0)
      call void @llvm.foo(metadata !3, metadata !0)
      call void @llvm.foo(metadata !{metadata !3}, metadata !0)
      ret void, !bar !2
    }
    !0 = metadata !{metadata !2}
    !1 = metadata !{i32* @global}
    !2 = metadata !{metadata !3}
    !3 = metadata !{}

turns into this:

    define @foo(i32 %v) {
      call void @llvm.foo(metadata i32 %v, metadata !0)
      call void @llvm.foo(metadata i32 7, metadata !0)
      call void @llvm.foo(metadata i32* @global, metadata !0)
      call void @llvm.foo(metadata !3, metadata !0)
      call void @llvm.foo(metadata !{!3}, metadata !0)
      ret void, !bar !2
    }
    !0 = !{!2}
    !1 = !{i32* @global}
    !2 = !{!3}
    !3 = !{}

I wrote an upgrade script that handled almost all of the tests in llvm
and many of the tests in cfe (even handling many `CHECK` lines).  I've
attached it (or will attach it in a moment if you're speedy) to PR21532
to help everyone update their out-of-tree testcases.

This is part of PR21532.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224257 91177308-0d34-0410-b5e6-96231b3b80d8
703 files changed:
docs/LangRef.rst
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLParser.h
lib/IR/AsmWriter.cpp
test/Analysis/BasicAA/full-store-partial-alias.ll
test/Analysis/BasicAA/invariant_load.ll
test/Analysis/BlockFrequencyInfo/bad_input.ll
test/Analysis/BlockFrequencyInfo/basic.ll
test/Analysis/BlockFrequencyInfo/double_backedge.ll
test/Analysis/BlockFrequencyInfo/double_exit.ll
test/Analysis/BlockFrequencyInfo/extremely-likely-loop-successor.ll
test/Analysis/BlockFrequencyInfo/irreducible.ll
test/Analysis/BlockFrequencyInfo/loop_with_branch.ll
test/Analysis/BlockFrequencyInfo/nested_loop_with_branches.ll
test/Analysis/BranchProbabilityInfo/basic.ll
test/Analysis/CFLAliasAnalysis/full-store-partial-alias.ll
test/Analysis/ScalarEvolution/load-with-range-metadata.ll
test/Analysis/ScopedNoAliasAA/basic-domains.ll
test/Analysis/ScopedNoAliasAA/basic.ll
test/Analysis/ScopedNoAliasAA/basic2.ll
test/Analysis/TypeBasedAliasAnalysis/PR17620.ll
test/Analysis/TypeBasedAliasAnalysis/aliastest.ll
test/Analysis/TypeBasedAliasAnalysis/argument-promotion.ll
test/Analysis/TypeBasedAliasAnalysis/dse.ll
test/Analysis/TypeBasedAliasAnalysis/dynamic-indices.ll
test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll
test/Analysis/TypeBasedAliasAnalysis/gvn-nonlocal-type-mismatch.ll
test/Analysis/TypeBasedAliasAnalysis/intrinsics.ll
test/Analysis/TypeBasedAliasAnalysis/licm.ll
test/Analysis/TypeBasedAliasAnalysis/memcpyopt.ll
test/Analysis/TypeBasedAliasAnalysis/placement-tbaa.ll
test/Analysis/TypeBasedAliasAnalysis/precedence.ll
test/Analysis/TypeBasedAliasAnalysis/sink.ll
test/Analysis/TypeBasedAliasAnalysis/tbaa-path.ll
test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll
test/Assembler/functionlocal-metadata.ll
test/Assembler/inalloca.ll
test/Assembler/invalid-mdnode-vector.ll
test/Assembler/invalid-mdnode-vector2.ll
test/Assembler/invalid-metadata-attachment-has-type.ll [new file with mode: 0644]
test/Assembler/invalid-metadata-function-local-complex-1.ll
test/Assembler/invalid-metadata-function-local-complex-2.ll
test/Assembler/invalid-metadata-function-local-complex-3.ll
test/Assembler/invalid-metadata-has-type.ll [new file with mode: 0644]
test/Assembler/metadata.ll
test/Assembler/named-metadata.ll
test/Assembler/upgrade-loop-metadata.ll
test/Bindings/OCaml/core.ml
test/Bitcode/drop-debug-info.ll
test/Bitcode/function-local-metadata.3.5.ll
test/Bitcode/highLevelStructure.3.2.ll
test/Bitcode/mdstring-high-bits.ll
test/Bitcode/metadata-2.ll
test/Bitcode/metadata.3.5.ll
test/Bitcode/metadata.ll
test/Bitcode/upgrade-loop-metadata.ll
test/Bitcode/upgrade-tbaa.ll
test/BugPoint/metadata.ll
test/CodeGen/AArch64/aarch64-2014-08-11-MachineCombinerCrash.ll
test/CodeGen/AArch64/analyze-branch.ll
test/CodeGen/AArch64/arm64-2011-03-17-AsmPrinterCrash.ll
test/CodeGen/AArch64/arm64-2012-05-22-LdStOptBug.ll
test/CodeGen/AArch64/arm64-2012-06-06-FPToUI.ll
test/CodeGen/AArch64/arm64-abi_align.ll
test/CodeGen/AArch64/arm64-ccmp-heuristics.ll
test/CodeGen/AArch64/arm64-fastcc-tailcall.ll
test/CodeGen/AArch64/arm64-fold-address.ll
test/CodeGen/AArch64/arm64-indexed-vector-ldst-2.ll
test/CodeGen/AArch64/arm64-named-reg-alloc.ll
test/CodeGen/AArch64/arm64-named-reg-notareg.ll
test/CodeGen/AArch64/arm64-prefetch.ll
test/CodeGen/AArch64/arm64-stackpointer.ll
test/CodeGen/AArch64/arm64-triv-disjoint-mem-access.ll
test/CodeGen/AArch64/compiler-ident.ll
test/CodeGen/AArch64/fast-isel-branch-cond-split.ll
test/CodeGen/AArch64/fast-isel-branch_weights.ll
test/CodeGen/AArch64/fast-isel-tbz.ll
test/CodeGen/AArch64/ragreedy-csr.ll
test/CodeGen/ARM/2009-10-16-Scope.ll
test/CodeGen/ARM/2010-04-15-ScavengerDebugValue.ll
test/CodeGen/ARM/2010-06-25-Thumb2ITInvalidIterator.ll
test/CodeGen/ARM/2010-08-04-StackVariable.ll
test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
test/CodeGen/ARM/2011-04-12-FastRegAlloc.ll
test/CodeGen/ARM/2011-05-04-MultipleLandingPadSuccs.ll
test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll
test/CodeGen/ARM/2012-04-24-SplitEHCriticalEdge.ll
test/CodeGen/ARM/2012-08-04-DtripleSpillReload.ll
test/CodeGen/ARM/2012-09-25-InlineAsmScalarToVectorConv.ll
test/CodeGen/ARM/2012-09-25-InlineAsmScalarToVectorConv2.ll
test/CodeGen/ARM/coalesce-dbgvalue.ll
test/CodeGen/ARM/debug-frame-vararg.ll
test/CodeGen/ARM/debug-frame.ll
test/CodeGen/ARM/debug-info-arg.ll
test/CodeGen/ARM/debug-info-blocks.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/debug-info-sreg2.ll
test/CodeGen/ARM/debug-segmented-stacks.ll
test/CodeGen/ARM/global-merge-1.ll
test/CodeGen/ARM/ifcvt-branch-weight-bug.ll
test/CodeGen/ARM/ifcvt-branch-weight.ll
test/CodeGen/ARM/inline-diagnostics.ll
test/CodeGen/ARM/metadata-default.ll
test/CodeGen/ARM/metadata-short-enums.ll
test/CodeGen/ARM/metadata-short-wchar.ll
test/CodeGen/ARM/named-reg-alloc.ll
test/CodeGen/ARM/named-reg-notareg.ll
test/CodeGen/ARM/out-of-registers.ll
test/CodeGen/ARM/stackpointer.ll
test/CodeGen/ARM/tail-merge-branch-weight.ll
test/CodeGen/ARM/taildup-branch-weight.ll
test/CodeGen/ARM/vfp-regs-dwarf.ll
test/CodeGen/Generic/MachineBranchProb.ll
test/CodeGen/Generic/dbg_value.ll
test/CodeGen/Hexagon/BranchPredict.ll
test/CodeGen/Hexagon/hwloop-dbg.ll
test/CodeGen/Inputs/DbgValueOtherTargets.ll
test/CodeGen/Mips/Fast-ISel/callabi.ll
test/CodeGen/Mips/brsize3.ll
test/CodeGen/Mips/brsize3a.ll
test/CodeGen/Mips/ci2.ll
test/CodeGen/Mips/const1.ll
test/CodeGen/Mips/const4a.ll
test/CodeGen/Mips/const6.ll
test/CodeGen/Mips/const6a.ll
test/CodeGen/Mips/lcb2.ll
test/CodeGen/Mips/lcb3c.ll
test/CodeGen/Mips/lcb4a.ll
test/CodeGen/Mips/lcb5.ll
test/CodeGen/Mips/mbrsize4a.ll
test/CodeGen/Mips/powif64_16.ll
test/CodeGen/NVPTX/annotations.ll
test/CodeGen/NVPTX/bug21465.ll
test/CodeGen/NVPTX/call-with-alloca-buffer.ll
test/CodeGen/NVPTX/calling-conv.ll
test/CodeGen/NVPTX/generic-to-nvvm.ll
test/CodeGen/NVPTX/i1-global.ll
test/CodeGen/NVPTX/i1-param.ll
test/CodeGen/NVPTX/managed.ll
test/CodeGen/NVPTX/noduplicate-syncthreads.ll
test/CodeGen/NVPTX/refl1.ll
test/CodeGen/NVPTX/simple-call.ll
test/CodeGen/NVPTX/surf-read-cuda.ll
test/CodeGen/NVPTX/surf-read.ll
test/CodeGen/NVPTX/surf-write-cuda.ll
test/CodeGen/NVPTX/surf-write.ll
test/CodeGen/NVPTX/tex-read-cuda.ll
test/CodeGen/NVPTX/tex-read.ll
test/CodeGen/NVPTX/texsurf-queries.ll
test/CodeGen/PowerPC/2011-12-05-NoSpillDupCR.ll
test/CodeGen/PowerPC/2011-12-06-SpillAndRestoreCR.ll
test/CodeGen/PowerPC/aa-tbaa.ll
test/CodeGen/PowerPC/asm-Zy.ll
test/CodeGen/PowerPC/asm-constraints.ll
test/CodeGen/PowerPC/dbg.ll
test/CodeGen/PowerPC/early-ret2.ll
test/CodeGen/PowerPC/glob-comp-aa-crash.ll
test/CodeGen/PowerPC/inlineasm-i64-reg.ll
test/CodeGen/PowerPC/named-reg-alloc-r0.ll
test/CodeGen/PowerPC/named-reg-alloc-r1-64.ll
test/CodeGen/PowerPC/named-reg-alloc-r1.ll
test/CodeGen/PowerPC/named-reg-alloc-r13-64.ll
test/CodeGen/PowerPC/named-reg-alloc-r13.ll
test/CodeGen/PowerPC/named-reg-alloc-r2-64.ll
test/CodeGen/PowerPC/named-reg-alloc-r2.ll
test/CodeGen/PowerPC/ppc32-lshrti3.ll
test/CodeGen/PowerPC/ppc32-pic-large.ll
test/CodeGen/PowerPC/ppc32-pic.ll
test/CodeGen/PowerPC/pr17168.ll
test/CodeGen/PowerPC/toc-load-sched-bug.ll
test/CodeGen/PowerPC/unwind-dw2-g.ll
test/CodeGen/R600/llvm.AMDGPU.imax.ll
test/CodeGen/R600/llvm.AMDGPU.imin.ll
test/CodeGen/R600/llvm.AMDGPU.kill.ll
test/CodeGen/R600/llvm.AMDGPU.umax.ll
test/CodeGen/R600/llvm.AMDGPU.umin.ll
test/CodeGen/R600/llvm.SI.imageload.ll
test/CodeGen/R600/llvm.SI.load.dword.ll
test/CodeGen/R600/llvm.amdgpu.kilp.ll
test/CodeGen/R600/loop-address.ll
test/CodeGen/R600/sgpr-copy.ll
test/CodeGen/R600/si-lod-bias.ll
test/CodeGen/R600/si-sgpr-spill.ll
test/CodeGen/R600/si-vector-hang.ll
test/CodeGen/R600/wait.ll
test/CodeGen/R600/wrong-transalu-pos-fix.ll
test/CodeGen/SPARC/setjmp.ll
test/CodeGen/SystemZ/alias-01.ll
test/CodeGen/SystemZ/and-08.ll
test/CodeGen/SystemZ/memcpy-02.ll
test/CodeGen/Thumb/2010-07-15-debugOrdering.ll
test/CodeGen/Thumb/fastcc.ll
test/CodeGen/Thumb2/thumb2-cmn.ll
test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll
test/CodeGen/X86/2009-10-16-Scope.ll
test/CodeGen/X86/2010-01-18-DbgValue.ll
test/CodeGen/X86/2010-02-01-DbgValueCrash.ll
test/CodeGen/X86/2010-02-11-NonTemporal.ll
test/CodeGen/X86/2010-05-05-LocalAllocEarlyClobber.ll
test/CodeGen/X86/2010-05-25-DotDebugLoc.ll
test/CodeGen/X86/2010-05-26-DotDebugLoc.ll
test/CodeGen/X86/2010-05-28-Crash.ll
test/CodeGen/X86/2010-06-01-DeadArg-DbgInfo.ll
test/CodeGen/X86/2010-06-15-FastAllocEarlyCLobber.ll
test/CodeGen/X86/2010-06-25-asm-RA-crash.ll
test/CodeGen/X86/2010-06-28-FastAllocTiedOperand.ll
test/CodeGen/X86/2010-07-06-DbgCrash.ll
test/CodeGen/X86/2010-08-04-StackVariable.ll
test/CodeGen/X86/2010-09-16-EmptyFilename.ll
test/CodeGen/X86/2010-09-16-asmcrash.ll
test/CodeGen/X86/2010-11-02-DbgParameter.ll
test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll
test/CodeGen/X86/2011-06-14-mmx-inlineasm.ll
test/CodeGen/X86/2012-11-30-handlemove-dbg.ll
test/CodeGen/X86/2012-11-30-misched-dbg.ll
test/CodeGen/X86/2012-11-30-regpres-dbg.ll
test/CodeGen/X86/MachineBranchProb.ll
test/CodeGen/X86/MachineSink-DbgValue.ll
test/CodeGen/X86/StackColoring-dbg.ll
test/CodeGen/X86/avx2-nontemporal.ll
test/CodeGen/X86/avx512-nontemporal.ll
test/CodeGen/X86/avx512vl-nontemporal.ll
test/CodeGen/X86/block-placement.ll
test/CodeGen/X86/crash.ll
test/CodeGen/X86/dbg-changes-codegen-branch-folding.ll
test/CodeGen/X86/dbg-changes-codegen.ll
test/CodeGen/X86/dwarf-comp-dir.ll
test/CodeGen/X86/fast-isel-branch_weights.ll
test/CodeGen/X86/fold-tied-op.ll
test/CodeGen/X86/fpstack-debuginstr-kill.ll
test/CodeGen/X86/hoist-invariant-load.ll
test/CodeGen/X86/ident-metadata.ll
test/CodeGen/X86/inline-asm-flag-clobber.ll
test/CodeGen/X86/misched-code-difference-with-debug.ll
test/CodeGen/X86/misched-copy.ll
test/CodeGen/X86/movntdq-no-avx.ll
test/CodeGen/X86/named-reg-alloc.ll
test/CodeGen/X86/named-reg-notareg.ll
test/CodeGen/X86/nontemporal-2.ll
test/CodeGen/X86/nontemporal.ll
test/CodeGen/X86/null-streamer.ll
test/CodeGen/X86/objc-gc-module-flags.ll
test/CodeGen/X86/pr11468.ll
test/CodeGen/X86/pr12360.ll
test/CodeGen/X86/pr18846.ll
test/CodeGen/X86/ragreedy-bug.ll
test/CodeGen/X86/ragreedy-hoist-spill.ll
test/CodeGen/X86/sibcall-5.ll
test/CodeGen/X86/sink-blockfreq.ll
test/CodeGen/X86/slow-incdec.ll
test/CodeGen/X86/stack-protector-dbginfo.ll
test/CodeGen/X86/stackpointer.ll
test/CodeGen/X86/unknown-location.ll
test/CodeGen/X86/utf16-cfstrings.ll
test/CodeGen/X86/win64_call_epi.ll
test/CodeGen/X86/xaluo.ll
test/CodeGen/XCore/dwarf_debug.ll
test/DebugInfo/2009-10-16-Phi.ll
test/DebugInfo/2009-11-03-InsertExtractValue.ll
test/DebugInfo/2009-11-05-DeadGlobalVariable.ll
test/DebugInfo/2009-11-06-NamelessGlobalVariable.ll
test/DebugInfo/2009-11-10-CurrentFn.ll
test/DebugInfo/2010-01-05-DbgScope.ll
test/DebugInfo/2010-03-12-llc-crash.ll
test/DebugInfo/2010-03-19-DbgDeclare.ll
test/DebugInfo/2010-03-24-MemberFn.ll
test/DebugInfo/2010-03-30-InvalidDbgInfoCrash.ll
test/DebugInfo/2010-04-06-NestedFnDbgInfo.ll
test/DebugInfo/2010-04-19-FramePtr.ll
test/DebugInfo/2010-05-03-DisableFramePtr.ll
test/DebugInfo/2010-05-03-OriginDIE.ll
test/DebugInfo/2010-05-10-MultipleCU.ll
test/DebugInfo/2010-06-29-InlinedFnLocalVar.ll
test/DebugInfo/2010-07-19-Crash.ll
test/DebugInfo/2010-10-01-crash.ll
test/DebugInfo/AArch64/big-endian-dump.ll
test/DebugInfo/AArch64/big-endian.ll
test/DebugInfo/AArch64/coalescing.ll
test/DebugInfo/AArch64/dwarfdump.ll
test/DebugInfo/AArch64/little-endian-dump.ll
test/DebugInfo/AArch64/processes-relocations.ll
test/DebugInfo/AArch64/struct_by_value.ll
test/DebugInfo/ARM/PR16736.ll
test/DebugInfo/ARM/big-endian-dump.ll
test/DebugInfo/ARM/little-endian-dump.ll
test/DebugInfo/ARM/lowerbdgdeclare_vla.ll
test/DebugInfo/ARM/processes-relocations.ll
test/DebugInfo/ARM/s-super-register.ll
test/DebugInfo/ARM/sectionorder.ll
test/DebugInfo/ARM/selectiondag-deadcode.ll
test/DebugInfo/ARM/tls.ll
test/DebugInfo/COFF/asan-module-ctor.ll
test/DebugInfo/COFF/asan-module-without-functions.ll
test/DebugInfo/COFF/asm.ll
test/DebugInfo/COFF/cpp-mangling.ll
test/DebugInfo/COFF/multifile.ll
test/DebugInfo/COFF/multifunction.ll
test/DebugInfo/COFF/simple.ll
test/DebugInfo/COFF/tail-call-without-lexical-scopes.ll
test/DebugInfo/Inputs/gmlt.ll
test/DebugInfo/Mips/delay-slot.ll
test/DebugInfo/Mips/processes-relocations.ll
test/DebugInfo/PR20038.ll
test/DebugInfo/PowerPC/processes-relocations.ll
test/DebugInfo/PowerPC/tls-fission.ll
test/DebugInfo/PowerPC/tls.ll
test/DebugInfo/Sparc/gnu-window-save.ll
test/DebugInfo/Sparc/processes-relocations.ll
test/DebugInfo/SystemZ/processes-relocations.ll
test/DebugInfo/SystemZ/variable-loc.ll
test/DebugInfo/X86/2010-04-13-PubType.ll
test/DebugInfo/X86/2010-08-10-DbgConstant.ll
test/DebugInfo/X86/2011-09-26-GlobalVarContext.ll
test/DebugInfo/X86/2011-12-16-BadStructRef.ll
test/DebugInfo/X86/DW_AT_byte_size.ll
test/DebugInfo/X86/DW_AT_linkage_name.ll
test/DebugInfo/X86/DW_AT_location-reference.ll
test/DebugInfo/X86/DW_AT_object_pointer.ll
test/DebugInfo/X86/DW_AT_specification.ll
test/DebugInfo/X86/DW_AT_stmt_list_sec_offset.ll
test/DebugInfo/X86/DW_TAG_friend.ll
test/DebugInfo/X86/aligned_stack_var.ll
test/DebugInfo/X86/arange.ll
test/DebugInfo/X86/arguments.ll
test/DebugInfo/X86/array.ll
test/DebugInfo/X86/array2.ll
test/DebugInfo/X86/block-capture.ll
test/DebugInfo/X86/byvalstruct.ll
test/DebugInfo/X86/c-type-units.ll
test/DebugInfo/X86/coff_debug_info_type.ll
test/DebugInfo/X86/coff_relative_names.ll
test/DebugInfo/X86/concrete_out_of_line.ll
test/DebugInfo/X86/cu-ranges-odr.ll
test/DebugInfo/X86/cu-ranges.ll
test/DebugInfo/X86/data_member_location.ll
test/DebugInfo/X86/dbg-at-specficiation.ll
test/DebugInfo/X86/dbg-byval-parameter.ll
test/DebugInfo/X86/dbg-const-int.ll
test/DebugInfo/X86/dbg-const.ll
test/DebugInfo/X86/dbg-declare-arg.ll
test/DebugInfo/X86/dbg-declare.ll
test/DebugInfo/X86/dbg-file-name.ll
test/DebugInfo/X86/dbg-i128-const.ll
test/DebugInfo/X86/dbg-merge-loc-entry.ll
test/DebugInfo/X86/dbg-prolog-end.ll
test/DebugInfo/X86/dbg-subrange.ll
test/DebugInfo/X86/dbg-value-const-byref.ll
test/DebugInfo/X86/dbg-value-dag-combine.ll
test/DebugInfo/X86/dbg-value-inlined-parameter.ll
test/DebugInfo/X86/dbg-value-isel.ll
test/DebugInfo/X86/dbg-value-location.ll
test/DebugInfo/X86/dbg-value-range.ll
test/DebugInfo/X86/dbg-value-terminator.ll
test/DebugInfo/X86/dbg_value_direct.ll
test/DebugInfo/X86/debug-dead-local-var.ll
test/DebugInfo/X86/debug-info-access.ll
test/DebugInfo/X86/debug-info-block-captured-self.ll
test/DebugInfo/X86/debug-info-blocks.ll
test/DebugInfo/X86/debug-info-static-member.ll
test/DebugInfo/X86/debug-loc-asan.ll
test/DebugInfo/X86/debug-loc-offset.ll
test/DebugInfo/X86/debug-ranges-offset.ll
test/DebugInfo/X86/debug_frame.ll
test/DebugInfo/X86/decl-derived-member.ll
test/DebugInfo/X86/discriminator.ll
test/DebugInfo/X86/dwarf-aranges-no-dwarf-labels.ll
test/DebugInfo/X86/dwarf-aranges.ll
test/DebugInfo/X86/dwarf-public-names.ll
test/DebugInfo/X86/dwarf-pubnames-split.ll
test/DebugInfo/X86/earlydup-crash.ll
test/DebugInfo/X86/elf-names.ll
test/DebugInfo/X86/empty-and-one-elem-array.ll
test/DebugInfo/X86/empty-array.ll
test/DebugInfo/X86/ending-run.ll
test/DebugInfo/X86/enum-class.ll
test/DebugInfo/X86/enum-fwd-decl.ll
test/DebugInfo/X86/fission-cu.ll
test/DebugInfo/X86/fission-hash.ll
test/DebugInfo/X86/fission-inline.ll
test/DebugInfo/X86/fission-ranges.ll
test/DebugInfo/X86/formal_parameter.ll
test/DebugInfo/X86/generate-odr-hash.ll
test/DebugInfo/X86/ghost-sdnode-dbgvalues.ll
test/DebugInfo/X86/gnu-public-names-empty.ll
test/DebugInfo/X86/gnu-public-names.ll
test/DebugInfo/X86/inline-member-function.ll
test/DebugInfo/X86/inline-seldag-test.ll
test/DebugInfo/X86/instcombine-instrinsics.ll
test/DebugInfo/X86/lexical_block.ll
test/DebugInfo/X86/line-info.ll
test/DebugInfo/X86/linkage-name.ll
test/DebugInfo/X86/low-pc-cu.ll
test/DebugInfo/X86/misched-dbg-value.ll
test/DebugInfo/X86/multiple-aranges.ll
test/DebugInfo/X86/multiple-at-const-val.ll
test/DebugInfo/X86/nodebug_with_debug_loc.ll
test/DebugInfo/X86/nondefault-subrange-array.ll
test/DebugInfo/X86/objc-fwd-decl.ll
test/DebugInfo/X86/objc-property-void.ll
test/DebugInfo/X86/op_deref.ll
test/DebugInfo/X86/parameters.ll
test/DebugInfo/X86/pieces-1.ll
test/DebugInfo/X86/pieces-2.ll
test/DebugInfo/X86/pieces-3.ll
test/DebugInfo/X86/pointer-type-size.ll
test/DebugInfo/X86/pr11300.ll
test/DebugInfo/X86/pr12831.ll
test/DebugInfo/X86/pr13303.ll
test/DebugInfo/X86/pr19307.ll
test/DebugInfo/X86/processes-relocations.ll
test/DebugInfo/X86/prologue-stack.ll
test/DebugInfo/X86/recursive_inlining.ll
test/DebugInfo/X86/ref_addr_relocation.ll
test/DebugInfo/X86/reference-argument.ll
test/DebugInfo/X86/rvalue-ref.ll
test/DebugInfo/X86/sret.ll
test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
test/DebugInfo/X86/stmt-list.ll
test/DebugInfo/X86/stringpool.ll
test/DebugInfo/X86/struct-loc.ll
test/DebugInfo/X86/subrange-type.ll
test/DebugInfo/X86/subreg.ll
test/DebugInfo/X86/subregisters.ll
test/DebugInfo/X86/template.ll
test/DebugInfo/X86/tls.ll
test/DebugInfo/X86/type_units_with_addresses.ll
test/DebugInfo/X86/union-template.ll
test/DebugInfo/X86/vector.ll
test/DebugInfo/X86/vla.ll
test/DebugInfo/array.ll
test/DebugInfo/block-asan.ll
test/DebugInfo/bug_null_debuginfo.ll
test/DebugInfo/constant-pointers.ll
test/DebugInfo/cross-cu-inlining.ll
test/DebugInfo/cross-cu-linkonce-distinct.ll
test/DebugInfo/cross-cu-linkonce.ll
test/DebugInfo/cu-range-hole.ll
test/DebugInfo/cu-ranges.ll
test/DebugInfo/dead-argument-order.ll
test/DebugInfo/debug-info-always-inline.ll
test/DebugInfo/debug-info-qualifiers.ll
test/DebugInfo/debuginfofinder-multiple-cu.ll
test/DebugInfo/duplicate_inline.ll
test/DebugInfo/dwarf-public-names.ll
test/DebugInfo/empty.ll
test/DebugInfo/enum-types.ll
test/DebugInfo/enum.ll
test/DebugInfo/global.ll
test/DebugInfo/incorrect-variable-debugloc.ll
test/DebugInfo/incorrect-variable-debugloc1.ll
test/DebugInfo/inheritance.ll
test/DebugInfo/inline-debug-info-multiret.ll
test/DebugInfo/inline-debug-info.ll
test/DebugInfo/inline-no-debug-info.ll
test/DebugInfo/inline-scopes.ll
test/DebugInfo/inlined-arguments.ll
test/DebugInfo/inlined-vars.ll
test/DebugInfo/lto-comp-dir.ll
test/DebugInfo/member-order.ll
test/DebugInfo/member-pointers.ll
test/DebugInfo/missing-abstract-variable.ll
test/DebugInfo/namespace.ll
test/DebugInfo/namespace_function_definition.ll
test/DebugInfo/namespace_inline_function_definition.ll
test/DebugInfo/nodebug.ll
test/DebugInfo/restrict.ll
test/DebugInfo/sugared-constants.ll
test/DebugInfo/template-recursive-void.ll
test/DebugInfo/tu-composite.ll
test/DebugInfo/tu-member-pointer.ll
test/DebugInfo/two-cus-from-same-file.ll
test/DebugInfo/typedef.ll
test/DebugInfo/unconditional-branch.ll
test/DebugInfo/varargs.ll
test/DebugInfo/version.ll
test/Feature/NamedMDNode.ll
test/Feature/NamedMDNode2.ll
test/Feature/md_on_instruction.ll
test/Feature/metadata.ll
test/Instrumentation/AddressSanitizer/X86/asm_mov.ll
test/Instrumentation/AddressSanitizer/X86/bug_11395.ll
test/Instrumentation/AddressSanitizer/basic.ll
test/Instrumentation/AddressSanitizer/debug_info.ll
test/Instrumentation/AddressSanitizer/global_metadata.ll
test/Instrumentation/AddressSanitizer/instrument_global.ll
test/Instrumentation/AddressSanitizer/instrument_initializer_metadata.ll
test/Instrumentation/AddressSanitizer/ubsan.ll
test/Instrumentation/DataFlowSanitizer/debug.ll
test/Instrumentation/MemorySanitizer/store-origin.ll
test/Instrumentation/SanitizerCoverage/coverage-dbg.ll
test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll
test/Instrumentation/ThreadSanitizer/read_from_global.ll
test/Instrumentation/ThreadSanitizer/vptr_read.ll
test/Instrumentation/ThreadSanitizer/vptr_update.ll
test/JitListener/test-common-symbols.ll
test/JitListener/test-inline.ll
test/JitListener/test-parameters.ll
test/Linker/2009-09-03-mdnode.ll
test/Linker/2009-09-03-mdnode2.ll
test/Linker/2011-08-04-DebugLoc.ll
test/Linker/2011-08-04-DebugLoc2.ll
test/Linker/2011-08-04-Metadata.ll
test/Linker/2011-08-04-Metadata2.ll
test/Linker/2011-08-18-unique-class-type.ll
test/Linker/2011-08-18-unique-class-type2.ll
test/Linker/2011-08-18-unique-debug-type.ll
test/Linker/2011-08-18-unique-debug-type2.ll
test/Linker/DbgDeclare.ll
test/Linker/DbgDeclare2.ll
test/Linker/Inputs/ident.a.ll
test/Linker/Inputs/ident.b.ll
test/Linker/Inputs/module-flags-pic-2-b.ll
test/Linker/Inputs/type-unique-inheritance-a.ll
test/Linker/Inputs/type-unique-inheritance-b.ll
test/Linker/Inputs/type-unique-simple2-a.ll
test/Linker/Inputs/type-unique-simple2-b.ll
test/Linker/Inputs/unique-fwd-decl-b.ll
test/Linker/Inputs/unique-fwd-decl-order.ll
test/Linker/debug-info-version-a.ll
test/Linker/debug-info-version-b.ll
test/Linker/linkmdnode.ll
test/Linker/linkmdnode2.ll
test/Linker/linknamedmdnode.ll
test/Linker/linknamedmdnode2.ll
test/Linker/metadata-a.ll
test/Linker/metadata-b.ll
test/Linker/module-flags-1-a.ll
test/Linker/module-flags-1-b.ll
test/Linker/module-flags-2-a.ll
test/Linker/module-flags-2-b.ll
test/Linker/module-flags-3-a.ll
test/Linker/module-flags-3-b.ll
test/Linker/module-flags-4-a.ll
test/Linker/module-flags-4-b.ll
test/Linker/module-flags-5-a.ll
test/Linker/module-flags-5-b.ll
test/Linker/module-flags-6-a.ll
test/Linker/module-flags-6-b.ll
test/Linker/module-flags-7-a.ll
test/Linker/module-flags-7-b.ll
test/Linker/module-flags-8-a.ll
test/Linker/module-flags-8-b.ll
test/Linker/module-flags-pic-1-a.ll
test/Linker/module-flags-pic-2-a.ll
test/Linker/type-unique-odr-a.ll
test/Linker/type-unique-odr-b.ll
test/Linker/type-unique-simple-a.ll
test/Linker/type-unique-simple-b.ll
test/Linker/type-unique-simple2-a.ll
test/Linker/type-unique-simple2-b.ll
test/Linker/type-unique-type-array-a.ll
test/Linker/type-unique-type-array-b.ll
test/Linker/unique-fwd-decl-a.ll
test/Linker/unique-fwd-decl-order.ll
test/MC/ARM/coff-debugging-secrel.ll
test/MC/COFF/linker-options.ll
test/MC/ELF/cfi-version.ll
test/MC/MachO/linker-options.ll
test/Transforms/AddDiscriminators/basic.ll
test/Transforms/AddDiscriminators/first-only.ll
test/Transforms/AddDiscriminators/multiple.ll
test/Transforms/AddDiscriminators/no-discriminators.ll
test/Transforms/ArgumentPromotion/dbg.ll
test/Transforms/ArgumentPromotion/reserve-tbaa.ll
test/Transforms/BBVectorize/metadata.ll
test/Transforms/DeadArgElim/2010-04-30-DbgInfo.ll
test/Transforms/DeadArgElim/dbginfo.ll
test/Transforms/DeadStoreElimination/inst-limits.ll
test/Transforms/GCOVProfiling/function-numbering.ll
test/Transforms/GCOVProfiling/global-ctor.ll
test/Transforms/GCOVProfiling/linezero.ll
test/Transforms/GCOVProfiling/linkagename.ll
test/Transforms/GCOVProfiling/return-block.ll
test/Transforms/GCOVProfiling/version.ll
test/Transforms/GVN/cond_br2.ll
test/Transforms/GVN/fpmath.ll
test/Transforms/GVN/invariant-load.ll
test/Transforms/GVN/load-pre-nonlocal.ll
test/Transforms/GVN/noalias.ll
test/Transforms/GVN/preserve-tbaa.ll
test/Transforms/GVN/range.ll
test/Transforms/GVN/tbaa.ll
test/Transforms/GlobalOpt/2009-03-05-dbg.ll
test/Transforms/GlobalOpt/externally-initialized-global-ctr.ll
test/Transforms/GlobalOpt/metadata.ll
test/Transforms/IndVarSimplify/sharpen-range.ll
test/Transforms/IndVarSimplify/use-range-metadata.ll
test/Transforms/Inline/debug-invoke.ll
test/Transforms/Inline/ignore-debug-info.ll
test/Transforms/Inline/inline-vla.ll
test/Transforms/Inline/inline_dbg_declare.ll
test/Transforms/Inline/noalias-calls.ll
test/Transforms/Inline/noalias-cs.ll
test/Transforms/Inline/noalias.ll
test/Transforms/Inline/noalias2.ll
test/Transforms/Inline/optimization-remarks.ll
test/Transforms/InstCombine/AddOverFlow.ll
test/Transforms/InstCombine/add2.ll
test/Transforms/InstCombine/bitcast-store.ll
test/Transforms/InstCombine/canonicalize_branch.ll
test/Transforms/InstCombine/debug-line.ll
test/Transforms/InstCombine/debuginfo.ll
test/Transforms/InstCombine/icmp-range.ll
test/Transforms/InstCombine/loadstore-metadata.ll
test/Transforms/InstCombine/pr12251.ll
test/Transforms/InstCombine/store.ll
test/Transforms/InstCombine/struct-assign-tbaa.ll
test/Transforms/JumpThreading/thread-loads.ll
test/Transforms/LICM/2011-04-06-PromoteResultOfPromotion.ll
test/Transforms/LICM/debug-value.ll
test/Transforms/LICM/hoist-invariant-load.ll
test/Transforms/LICM/promote-order.ll
test/Transforms/LICM/scalar_promote.ll
test/Transforms/LoopIdiom/debug-line.ll
test/Transforms/LoopRotate/dbgvalue.ll
test/Transforms/LoopStrengthReduce/AArch64/lsr-memset.ll
test/Transforms/LoopStrengthReduce/pr12018.ll
test/Transforms/LoopStrengthReduce/pr18165.ll
test/Transforms/LoopUnroll/runtime-loop.ll
test/Transforms/LoopUnroll/unroll-pragmas-disabled.ll
test/Transforms/LoopUnroll/unroll-pragmas.ll
test/Transforms/LoopVectorize/X86/already-vectorized.ll
test/Transforms/LoopVectorize/X86/illegal-parallel-loop-uniform-write.ll
test/Transforms/LoopVectorize/X86/metadata-enable.ll
test/Transforms/LoopVectorize/X86/parallel-loops-after-reg2mem.ll
test/Transforms/LoopVectorize/X86/parallel-loops.ll
test/Transforms/LoopVectorize/X86/small-size.ll
test/Transforms/LoopVectorize/X86/vect.omp.force.ll
test/Transforms/LoopVectorize/X86/vect.omp.force.small-tc.ll
test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll
test/Transforms/LoopVectorize/X86/vectorization-remarks.ll
test/Transforms/LoopVectorize/conditional-assignment.ll
test/Transforms/LoopVectorize/control-flow.ll
test/Transforms/LoopVectorize/dbg.value.ll
test/Transforms/LoopVectorize/debugloc.ll
test/Transforms/LoopVectorize/duplicated-metadata.ll
test/Transforms/LoopVectorize/incorrect-dom-info.ll
test/Transforms/LoopVectorize/metadata-unroll.ll
test/Transforms/LoopVectorize/metadata-width.ll
test/Transforms/LoopVectorize/metadata.ll
test/Transforms/LoopVectorize/no_array_bounds.ll
test/Transforms/LoopVectorize/no_switch.ll
test/Transforms/LoopVectorize/scev-exitlim-crash.ll
test/Transforms/LoopVectorize/tbaa-nodep.ll
test/Transforms/LoopVectorize/vect.omp.persistence.ll
test/Transforms/LoopVectorize/vectorize-once.ll
test/Transforms/LowerExpectIntrinsic/basic.ll
test/Transforms/Mem2Reg/ConvertDebugInfo.ll
test/Transforms/Mem2Reg/ConvertDebugInfo2.ll
test/Transforms/MergeFunc/call-and-invoke-with-ranges.ll
test/Transforms/MergeFunc/ranges.ll
test/Transforms/ObjCARC/allocas.ll
test/Transforms/ObjCARC/arc-annotations.ll
test/Transforms/ObjCARC/basic.ll
test/Transforms/ObjCARC/cfg-hazards.ll
test/Transforms/ObjCARC/contract-marker.ll
test/Transforms/ObjCARC/contract-storestrong.ll
test/Transforms/ObjCARC/contract-testcases.ll
test/Transforms/ObjCARC/empty-block.ll
test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll
test/Transforms/ObjCARC/escape.ll
test/Transforms/ObjCARC/intrinsic-use.ll
test/Transforms/ObjCARC/invoke.ll
test/Transforms/ObjCARC/nested.ll
test/Transforms/ObjCARC/path-overflow.ll
test/Transforms/ObjCARC/retain-not-declared.ll
test/Transforms/ObjCARC/split-backedge.ll
test/Transforms/ObjCARC/weak-copies.ll
test/Transforms/SLPVectorizer/X86/consecutive-access.ll
test/Transforms/SLPVectorizer/X86/crash_scheduling.ll
test/Transforms/SLPVectorizer/X86/debug_info.ll
test/Transforms/SLPVectorizer/X86/metadata.ll
test/Transforms/SLPVectorizer/X86/pr16899.ll
test/Transforms/SampleProfile/branch.ll
test/Transforms/SampleProfile/calls.ll
test/Transforms/SampleProfile/discriminator.ll
test/Transforms/SampleProfile/fnptr.ll
test/Transforms/SampleProfile/propagate.ll
test/Transforms/ScalarRepl/debuginfo-preserved.ll
test/Transforms/Scalarizer/basic.ll
test/Transforms/Scalarizer/dbginfo.ll
test/Transforms/SimplifyCFG/basictest.ll
test/Transforms/SimplifyCFG/branch-fold-dbg.ll
test/Transforms/SimplifyCFG/hoist-dbgvalue.ll
test/Transforms/SimplifyCFG/hoist-with-range.ll
test/Transforms/SimplifyCFG/preserve-branchweights-partial.ll
test/Transforms/SimplifyCFG/preserve-branchweights-switch-create.ll
test/Transforms/SimplifyCFG/preserve-branchweights.ll
test/Transforms/SimplifyCFG/trap-debugloc.ll
test/Transforms/SimplifyCFG/volatile-phioper.ll
test/Transforms/StripSymbols/2010-06-30-StripDebug.ll
test/Transforms/StripSymbols/2010-08-25-crash.ll
test/Transforms/StripSymbols/strip-dead-debug-info.ll
test/Verifier/fpmath.ll
test/Verifier/ident-meta1.ll
test/Verifier/ident-meta2.ll
test/Verifier/ident-meta3.ll
test/Verifier/module-flags-1.ll
test/Verifier/range-1.ll
test/Verifier/range-2.ll