llvm-6502/lib/Target/NVPTX
Justin Holewinski 7536ecf291 [NVPTX] Add GenericToNVVM IR converter to better handle idiomatic LLVM IR inputs
This converter currently only handles global variables in address space 0. For
these variables, they are promoted to address space 1 (global memory), and all
uses are updated to point to the result of a cvta.global instruction on the new
variable.

The motivation for this is address space 0 global variables are illegal since we
cannot declare variables in the generic address space.  Instead, we place the
variables in address space 1 and explicitly convert the pointer to address
space 0. This is primarily intended to help new users who expect to be able to
place global variables in the default address space.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182254 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-20 12:13:32 +00:00
..
InstPrinter
MCTargetDesc
TargetInfo
cl_common_defines.h
CMakeLists.txt [NVPTX] Add GenericToNVVM IR converter to better handle idiomatic LLVM IR inputs 2013-05-20 12:13:32 +00:00
LLVMBuild.txt
Makefile
ManagedStringPool.h
NVPTX.h [NVPTX] Add GenericToNVVM IR converter to better handle idiomatic LLVM IR inputs 2013-05-20 12:13:32 +00:00
NVPTX.td
NVPTXAllocaHoisting.cpp
NVPTXAllocaHoisting.h
NVPTXAsmPrinter.cpp [NVPTX] Add GenericToNVVM IR converter to better handle idiomatic LLVM IR inputs 2013-05-20 12:13:32 +00:00
NVPTXAsmPrinter.h [NVPTX] Add GenericToNVVM IR converter to better handle idiomatic LLVM IR inputs 2013-05-20 12:13:32 +00:00
NVPTXFrameLowering.cpp
NVPTXFrameLowering.h
NVPTXGenericToNVVM.cpp [NVPTX] Add GenericToNVVM IR converter to better handle idiomatic LLVM IR inputs 2013-05-20 12:13:32 +00:00
NVPTXInstrFormats.td
NVPTXInstrInfo.cpp
NVPTXInstrInfo.h
NVPTXInstrInfo.td
NVPTXIntrinsics.td [NVPTX] Add GenericToNVVM IR converter to better handle idiomatic LLVM IR inputs 2013-05-20 12:13:32 +00:00
NVPTXISelDAGToDAG.cpp
NVPTXISelDAGToDAG.h
NVPTXISelLowering.cpp
NVPTXISelLowering.h Add LLVMContext argument to getSetCCResultType 2013-05-18 00:21:46 +00:00
NVPTXLowerAggrCopies.cpp
NVPTXLowerAggrCopies.h
NVPTXNumRegisters.h
NVPTXRegisterInfo.cpp
NVPTXRegisterInfo.h
NVPTXRegisterInfo.td
NVPTXSection.h
NVPTXSplitBBatBar.cpp
NVPTXSplitBBatBar.h
NVPTXSubtarget.cpp
NVPTXSubtarget.h
NVPTXTargetMachine.cpp [NVPTX] Add GenericToNVVM IR converter to better handle idiomatic LLVM IR inputs 2013-05-20 12:13:32 +00:00
NVPTXTargetMachine.h
NVPTXTargetObjectFile.h
NVPTXutil.cpp
NVPTXutil.h
NVPTXUtilities.cpp
NVPTXUtilities.h
NVPTXVector.td
NVVMReflect.cpp