llvm-project/llvm/lib/Target/NVPTX
Chandler Carruth 5da3f0512e Revert the majority of the next patch in the address space series:
r165941: Resubmit the changes to llvm core to update the functions to
         support different pointer sizes on a per address space basis.

Despite this commit log, this change primarily changed stuff outside of
VMCore, and those changes do not carry any tests for correctness (or
even plausibility), and we have consistently found questionable or flat
out incorrect cases in these changes. Most of them are probably correct,
but we need to devise a system that makes it more clear when we have
handled the address space concerns correctly, and ideally each pass that
gets updated would receive an accompanying test case that exercises that
pass specificaly w.r.t. alternate address spaces.

However, from this commit, I have retained the new C API entry points.
Those were an orthogonal change that probably should have been split
apart, but they seem entirely good.

In several places the changes were very obvious cleanups with no actual
multiple address space code added; these I have not reverted when
I spotted them.

In a few other places there were merge conflicts due to a cleaner
solution being implemented later, often not using address spaces at all.
In those cases, I've preserved the new code which isn't address space
dependent.

This is part of my ongoing effort to clean out the partial address space
code which carries high risk and low test coverage, and not likely to be
finished before the 3.2 release looms closer. Duncan and I would both
like to see the above issues addressed before we return to these
changes.

llvm-svn: 167222
2012-11-01 09:14:31 +00:00
..
InstPrinter
MCTargetDesc
TargetInfo
CMakeLists.txt llvm/lib: [CMake] Add explicit dependency to intrinsics_gen. 2012-06-24 13:32:01 +00:00
LLVMBuild.txt
Makefile
ManagedStringPool.h
NVPTX.h Fix header file include order in NVPTX backend NV_CONTRIB 2012-06-05 19:06:13 +00:00
NVPTX.td
NVPTXAllocaHoisting.cpp Fix typos 2012-05-31 17:11:25 +00:00
NVPTXAllocaHoisting.h Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
NVPTXAsmPrinter.cpp Revert the majority of the next patch in the address space series: 2012-11-01 09:14:31 +00:00
NVPTXAsmPrinter.h Convert assert(0) to llvm_unreachable. 2012-05-24 07:02:50 +00:00
NVPTXFrameLowering.cpp
NVPTXFrameLowering.h
NVPTXISelDAGToDAG.cpp NVPTX: Initialize the UseF32FTZ flag. 2012-05-05 11:22:02 +00:00
NVPTXISelDAGToDAG.h
NVPTXISelLowering.cpp Create enums for the different attributes. 2012-10-09 07:45:08 +00:00
NVPTXISelLowering.h Change interface for TargetLowering::LowerCallTo and TargetLowering::LowerCall 2012-05-25 16:35:28 +00:00
NVPTXInstrFormats.td
NVPTXInstrInfo.cpp Convert assert(0) to llvm_unreachable. 2012-05-24 07:02:50 +00:00
NVPTXInstrInfo.h
NVPTXInstrInfo.td Fix typos found by http://github.com/lyda/misspell-check 2012-06-02 10:20:22 +00:00
NVPTXIntrinsics.td
NVPTXLowerAggrCopies.cpp Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
NVPTXLowerAggrCopies.h Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
NVPTXNumRegisters.h
NVPTXRegisterInfo.cpp Round 2 of dead private variable removal. 2012-06-06 19:47:08 +00:00
NVPTXRegisterInfo.h Round 2 of dead private variable removal. 2012-06-06 19:47:08 +00:00
NVPTXRegisterInfo.td Shrink. 2012-05-24 22:17:44 +00:00
NVPTXSection.h Remove extraneous ';'. 2012-05-15 00:41:56 +00:00
NVPTXSplitBBatBar.cpp
NVPTXSplitBBatBar.h
NVPTXSubtarget.cpp
NVPTXSubtarget.h
NVPTXTargetMachine.cpp Implement a basic VectorTargetTransformInfo interface to be used by the loop and bb vectorizers for modeling the cost of instructions. 2012-10-24 17:22:41 +00:00
NVPTXTargetMachine.h Reapply the TargerTransformInfo changes, minus the changes to LSR and Lowerinvoke. 2012-10-18 23:22:48 +00:00
NVPTXTargetObjectFile.h Remove excess semi-colons to quiet warnings. 2012-05-08 20:45:04 +00:00
NVPTXUtilities.cpp
NVPTXUtilities.h
NVPTXVector.td
NVPTXutil.cpp Fix warnings in release build. 2012-05-04 22:34:16 +00:00
NVPTXutil.h
VectorElementize.cpp Convert assert(0) to llvm_unreachable. 2012-05-24 07:02:50 +00:00
cl_common_defines.h
gen-register-defs.py