R600/SI: Add a stub GCNTargetMachine
authorTom Stellard <thomas.stellard@amd.com>
Tue, 6 Jan 2015 18:00:21 +0000 (18:00 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 6 Jan 2015 18:00:21 +0000 (18:00 +0000)
commit1f996fa36b28f264b02c76b4bab3ac15c5a54bf4
tree2d10ba47b93a3fcb8290e2cee7e5d0b176a8edca
parenta31ae5e0b0e16c6fdfa8241f9d30928b988605a8
R600/SI: Add a stub GCNTargetMachine

This is equivalent to the AMDGPUTargetMachine now, but it is the
starting point for separating R600 and GCN functionality into separate
targets.

It is recommened that users start using the gcn triple for GCN-based
GPUs, because using the r600 triple for these GPUs will be deprecated in
the future.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225277 91177308-0d34-0410-b5e6-96231b3b80d8
286 files changed:
lib/Target/R600/AMDGPU.h
lib/Target/R600/AMDGPUAsmPrinter.cpp
lib/Target/R600/AMDGPUTargetMachine.cpp
lib/Target/R600/AMDGPUTargetMachine.h
lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp
lib/Target/R600/MCTargetDesc/AMDGPUMCTargetDesc.cpp
lib/Target/R600/MCTargetDesc/AMDGPUMCTargetDesc.h
lib/Target/R600/TargetInfo/AMDGPUTargetInfo.cpp
test/CodeGen/R600/128bit-kernel-args.ll
test/CodeGen/R600/32-bit-local-address-space.ll
test/CodeGen/R600/64bit-kernel-args.ll
test/CodeGen/R600/add-debug.ll
test/CodeGen/R600/add.ll
test/CodeGen/R600/add_i64.ll
test/CodeGen/R600/address-space.ll
test/CodeGen/R600/and.ll
test/CodeGen/R600/anyext.ll
test/CodeGen/R600/array-ptr-calc-i32.ll
test/CodeGen/R600/array-ptr-calc-i64.ll
test/CodeGen/R600/atomic_cmp_swap_local.ll
test/CodeGen/R600/atomic_load_add.ll
test/CodeGen/R600/atomic_load_sub.ll
test/CodeGen/R600/basic-branch.ll
test/CodeGen/R600/basic-loop.ll
test/CodeGen/R600/bfi_int.ll
test/CodeGen/R600/bitcast.ll
test/CodeGen/R600/bswap.ll
test/CodeGen/R600/build_vector.ll
test/CodeGen/R600/call.ll
test/CodeGen/R600/codegen-prepare-addrmode-sext.ll
test/CodeGen/R600/commute_modifiers.ll
test/CodeGen/R600/concat_vectors.ll
test/CodeGen/R600/copy-illegal-type.ll
test/CodeGen/R600/copy-to-reg.ll
test/CodeGen/R600/ctlz_zero_undef.ll
test/CodeGen/R600/ctpop.ll
test/CodeGen/R600/ctpop64.ll
test/CodeGen/R600/cttz_zero_undef.ll
test/CodeGen/R600/cvt_f32_ubyte.ll
test/CodeGen/R600/default-fp-mode.ll
test/CodeGen/R600/ds-negative-offset-addressing-mode-loop.ll
test/CodeGen/R600/ds_read2.ll
test/CodeGen/R600/ds_read2_offset_order.ll
test/CodeGen/R600/ds_read2st64.ll
test/CodeGen/R600/ds_write2.ll
test/CodeGen/R600/ds_write2st64.ll
test/CodeGen/R600/elf.ll
test/CodeGen/R600/empty-function.ll
test/CodeGen/R600/extload.ll
test/CodeGen/R600/extract_vector_elt_i16.ll
test/CodeGen/R600/fabs.f64.ll
test/CodeGen/R600/fabs.ll
test/CodeGen/R600/fadd.ll
test/CodeGen/R600/fadd64.ll
test/CodeGen/R600/fceil.ll
test/CodeGen/R600/fceil64.ll
test/CodeGen/R600/fcmp64.ll
test/CodeGen/R600/fconst64.ll
test/CodeGen/R600/fcopysign.f32.ll
test/CodeGen/R600/fcopysign.f64.ll
test/CodeGen/R600/fdiv.ll
test/CodeGen/R600/fdiv64.ll
test/CodeGen/R600/ffloor.ll
test/CodeGen/R600/flat-address-space.ll
test/CodeGen/R600/fma.f64.ll
test/CodeGen/R600/fma.ll
test/CodeGen/R600/fmax3.ll
test/CodeGen/R600/fmax_legacy.ll
test/CodeGen/R600/fmaxnum.f64.ll
test/CodeGen/R600/fmaxnum.ll
test/CodeGen/R600/fmin3.ll
test/CodeGen/R600/fmin_legacy.ll
test/CodeGen/R600/fminnum.f64.ll
test/CodeGen/R600/fminnum.ll
test/CodeGen/R600/fmul.ll
test/CodeGen/R600/fmul64.ll
test/CodeGen/R600/fmuladd.ll
test/CodeGen/R600/fnearbyint.ll
test/CodeGen/R600/fneg-fabs.f64.ll
test/CodeGen/R600/fneg-fabs.ll
test/CodeGen/R600/fneg.f64.ll
test/CodeGen/R600/fneg.ll
test/CodeGen/R600/fp16_to_fp.ll
test/CodeGen/R600/fp32_to_fp16.ll
test/CodeGen/R600/fp_to_sint.f64.ll
test/CodeGen/R600/fp_to_sint.ll
test/CodeGen/R600/fp_to_uint.f64.ll
test/CodeGen/R600/fp_to_uint.ll
test/CodeGen/R600/fpext.ll
test/CodeGen/R600/fptrunc.ll
test/CodeGen/R600/frem.ll
test/CodeGen/R600/fsqrt.ll
test/CodeGen/R600/fsub.ll
test/CodeGen/R600/fsub64.ll
test/CodeGen/R600/ftrunc.f64.ll
test/CodeGen/R600/ftrunc.ll
test/CodeGen/R600/gep-address-space.ll
test/CodeGen/R600/global-directive.ll
test/CodeGen/R600/global-zero-initializer.ll
test/CodeGen/R600/global_atomics.ll
test/CodeGen/R600/gv-const-addrspace-fail.ll
test/CodeGen/R600/gv-const-addrspace.ll
test/CodeGen/R600/half.ll
test/CodeGen/R600/i1-copy-implicit-def.ll
test/CodeGen/R600/i1-copy-phi.ll
test/CodeGen/R600/icmp64.ll
test/CodeGen/R600/imm.ll
test/CodeGen/R600/indirect-addressing-si.ll
test/CodeGen/R600/indirect-private-64.ll
test/CodeGen/R600/infinite-loop.ll
test/CodeGen/R600/inline-calls.ll
test/CodeGen/R600/insert_subreg.ll
test/CodeGen/R600/insert_vector_elt.ll
test/CodeGen/R600/kernel-args.ll
test/CodeGen/R600/large-alloca.ll
test/CodeGen/R600/large-constant-initializer.ll
test/CodeGen/R600/lds-initializer.ll
test/CodeGen/R600/lds-zero-initializer.ll
test/CodeGen/R600/llvm.AMDGPU.abs.ll
test/CodeGen/R600/llvm.AMDGPU.barrier.global.ll
test/CodeGen/R600/llvm.AMDGPU.barrier.local.ll
test/CodeGen/R600/llvm.AMDGPU.bfe.i32.ll
test/CodeGen/R600/llvm.AMDGPU.bfe.u32.ll
test/CodeGen/R600/llvm.AMDGPU.bfi.ll
test/CodeGen/R600/llvm.AMDGPU.bfm.ll
test/CodeGen/R600/llvm.AMDGPU.brev.ll
test/CodeGen/R600/llvm.AMDGPU.clamp.ll
test/CodeGen/R600/llvm.AMDGPU.cvt_f32_ubyte.ll
test/CodeGen/R600/llvm.AMDGPU.div_fixup.ll
test/CodeGen/R600/llvm.AMDGPU.div_fmas.ll
test/CodeGen/R600/llvm.AMDGPU.div_scale.ll
test/CodeGen/R600/llvm.AMDGPU.fract.ll
test/CodeGen/R600/llvm.AMDGPU.imad24.ll
test/CodeGen/R600/llvm.AMDGPU.imax.ll
test/CodeGen/R600/llvm.AMDGPU.imin.ll
test/CodeGen/R600/llvm.AMDGPU.imul24.ll
test/CodeGen/R600/llvm.AMDGPU.kill.ll
test/CodeGen/R600/llvm.AMDGPU.ldexp.ll
test/CodeGen/R600/llvm.AMDGPU.legacy.rsq.ll
test/CodeGen/R600/llvm.AMDGPU.rcp.f64.ll
test/CodeGen/R600/llvm.AMDGPU.rcp.ll
test/CodeGen/R600/llvm.AMDGPU.rsq.clamped.f64.ll
test/CodeGen/R600/llvm.AMDGPU.rsq.clamped.ll
test/CodeGen/R600/llvm.AMDGPU.rsq.ll
test/CodeGen/R600/llvm.AMDGPU.trig_preop.ll
test/CodeGen/R600/llvm.AMDGPU.trunc.ll
test/CodeGen/R600/llvm.AMDGPU.umad24.ll
test/CodeGen/R600/llvm.AMDGPU.umax.ll
test/CodeGen/R600/llvm.AMDGPU.umin.ll
test/CodeGen/R600/llvm.AMDGPU.umul24.ll
test/CodeGen/R600/llvm.SI.fs.interp.constant.ll
test/CodeGen/R600/llvm.SI.gather4.ll
test/CodeGen/R600/llvm.SI.getlod.ll
test/CodeGen/R600/llvm.SI.image.ll
test/CodeGen/R600/llvm.SI.image.sample.ll
test/CodeGen/R600/llvm.SI.image.sample.o.ll
test/CodeGen/R600/llvm.SI.imageload.ll
test/CodeGen/R600/llvm.SI.load.dword.ll
test/CodeGen/R600/llvm.SI.resinfo.ll
test/CodeGen/R600/llvm.SI.sample-masked.ll
test/CodeGen/R600/llvm.SI.sample.ll
test/CodeGen/R600/llvm.SI.sampled.ll
test/CodeGen/R600/llvm.SI.sendmsg.ll
test/CodeGen/R600/llvm.SI.tbuffer.store.ll
test/CodeGen/R600/llvm.SI.tid.ll
test/CodeGen/R600/llvm.amdgpu.kilp.ll
test/CodeGen/R600/llvm.amdgpu.lrp.ll
test/CodeGen/R600/llvm.cos.ll
test/CodeGen/R600/llvm.exp2.ll
test/CodeGen/R600/llvm.floor.ll
test/CodeGen/R600/llvm.log2.ll
test/CodeGen/R600/llvm.memcpy.ll
test/CodeGen/R600/llvm.rint.f64.ll
test/CodeGen/R600/llvm.rint.ll
test/CodeGen/R600/llvm.sin.ll
test/CodeGen/R600/load-i1.ll
test/CodeGen/R600/load.ll
test/CodeGen/R600/load.vec.ll
test/CodeGen/R600/load64.ll
test/CodeGen/R600/local-64.ll
test/CodeGen/R600/local-atomics.ll
test/CodeGen/R600/local-atomics64.ll
test/CodeGen/R600/local-memory-two-objects.ll
test/CodeGen/R600/local-memory.ll
test/CodeGen/R600/loop-idiom.ll
test/CodeGen/R600/lshl.ll
test/CodeGen/R600/lshr.ll
test/CodeGen/R600/m0-spill.ll
test/CodeGen/R600/mad-sub.ll
test/CodeGen/R600/mad_int24.ll
test/CodeGen/R600/mad_uint24.ll
test/CodeGen/R600/max.ll
test/CodeGen/R600/max3.ll
test/CodeGen/R600/min.ll
test/CodeGen/R600/min3.ll
test/CodeGen/R600/missing-store.ll
test/CodeGen/R600/mubuf.ll
test/CodeGen/R600/mul.ll
test/CodeGen/R600/mul_int24.ll
test/CodeGen/R600/mul_uint24.ll
test/CodeGen/R600/mulhu.ll
test/CodeGen/R600/no-initializer-constant-addrspace.ll
test/CodeGen/R600/operand-folding.ll
test/CodeGen/R600/operand-spacing.ll
test/CodeGen/R600/or.ll
test/CodeGen/R600/private-memory-atomics.ll
test/CodeGen/R600/private-memory-broken.ll
test/CodeGen/R600/private-memory.ll
test/CodeGen/R600/register-count-comments.ll
test/CodeGen/R600/reorder-stores.ll
test/CodeGen/R600/rotl.i64.ll
test/CodeGen/R600/rotl.ll
test/CodeGen/R600/rotr.i64.ll
test/CodeGen/R600/rotr.ll
test/CodeGen/R600/rsq.ll
test/CodeGen/R600/s_movk_i32.ll
test/CodeGen/R600/saddo.ll
test/CodeGen/R600/salu-to-valu.ll
test/CodeGen/R600/scalar_to_vector.ll
test/CodeGen/R600/schedule-global-loads.ll
test/CodeGen/R600/schedule-kernel-arg-loads.ll
test/CodeGen/R600/schedule-vs-if-nested-loop-failure.ll
test/CodeGen/R600/sdiv.ll
test/CodeGen/R600/sdivrem24.ll
test/CodeGen/R600/select-i1.ll
test/CodeGen/R600/select-vectors.ll
test/CodeGen/R600/select64.ll
test/CodeGen/R600/selectcc-opt.ll
test/CodeGen/R600/selectcc.ll
test/CodeGen/R600/setcc-opt.ll
test/CodeGen/R600/setcc.ll
test/CodeGen/R600/setcc64.ll
test/CodeGen/R600/seto.ll
test/CodeGen/R600/setuo.ll
test/CodeGen/R600/sext-in-reg.ll
test/CodeGen/R600/sgpr-control-flow.ll
test/CodeGen/R600/sgpr-copy-duplicate-operand.ll
test/CodeGen/R600/sgpr-copy.ll
test/CodeGen/R600/shl.ll
test/CodeGen/R600/shl_add_constant.ll
test/CodeGen/R600/shl_add_ptr.ll
test/CodeGen/R600/si-annotate-cf-assertion.ll
test/CodeGen/R600/si-lod-bias.ll
test/CodeGen/R600/si-sgpr-spill.ll
test/CodeGen/R600/si-triv-disjoint-mem-access.ll
test/CodeGen/R600/si-vector-hang.ll
test/CodeGen/R600/sign_extend.ll
test/CodeGen/R600/simplify-demanded-bits-build-pair.ll
test/CodeGen/R600/sint_to_fp.f64.ll
test/CodeGen/R600/sint_to_fp.ll
test/CodeGen/R600/smrd.ll
test/CodeGen/R600/split-scalar-i64-add.ll
test/CodeGen/R600/sra.ll
test/CodeGen/R600/srem.ll
test/CodeGen/R600/srl.ll
test/CodeGen/R600/ssubo.ll
test/CodeGen/R600/store-v3i32.ll
test/CodeGen/R600/store-v3i64.ll
test/CodeGen/R600/store-vector-ptrs.ll
test/CodeGen/R600/store.ll
test/CodeGen/R600/sub.ll
test/CodeGen/R600/trunc-store-i1.ll
test/CodeGen/R600/trunc.ll
test/CodeGen/R600/uaddo.ll
test/CodeGen/R600/udiv.ll
test/CodeGen/R600/udivrem.ll
test/CodeGen/R600/udivrem24.ll
test/CodeGen/R600/udivrem64.ll
test/CodeGen/R600/uint_to_fp.f64.ll
test/CodeGen/R600/uint_to_fp.ll
test/CodeGen/R600/unaligned-load-store.ll
test/CodeGen/R600/unhandled-loop-condition-assertion.ll
test/CodeGen/R600/urecip.ll
test/CodeGen/R600/urem.ll
test/CodeGen/R600/use-sgpr-multiple-times.ll
test/CodeGen/R600/usubo.ll
test/CodeGen/R600/v_cndmask.ll
test/CodeGen/R600/valu-i1.ll
test/CodeGen/R600/vector-alloca.ll
test/CodeGen/R600/vop-shrink.ll
test/CodeGen/R600/vselect.ll
test/CodeGen/R600/wait.ll
test/CodeGen/R600/work-item-intrinsics.ll
test/CodeGen/R600/xor.ll
test/CodeGen/R600/zero_extend.ll
test/MC/R600/sopp.s