1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/lib/Target/NVPTX
Jingyue Wu 2526430a5c [NVPTX] Adds a new address space inference pass.
Summary:
The old address space inference pass (NVPTXFavorNonGenericAddrSpaces) is unable
to convert the address space of a pointer induction variable. This patch adds a
new pass called NVPTXInferAddressSpaces that overcomes that limitation using a
fixed-point data-flow analysis (see the file header comments for details).

The new pass is experimental and not enabled by default. Users can turn
it on by setting the -nvptx-use-infer-addrspace flag of llc.

Reviewers: jholewinski, tra, jlebar

Subscribers: jholewinski, llvm-commits

Differential Revision: http://reviews.llvm.org/D17965

llvm-svn: 263916
2016-03-20 20:59:20 +00:00
..
InstPrinter Remove autoconf support 2016-01-26 21:29:08 +00:00
MCTargetDesc Remove autoconf support 2016-01-26 21:29:08 +00:00
TargetInfo Remove autoconf support 2016-01-26 21:29:08 +00:00
cl_common_defines.h
CMakeLists.txt [NVPTX] Adds a new address space inference pass. 2016-03-20 20:59:20 +00:00
LLVMBuild.txt
ManagedStringPool.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
NVPTX.h [NVPTX] Adds a new address space inference pass. 2016-03-20 20:59:20 +00:00
NVPTX.td
NVPTXAllocaHoisting.cpp
NVPTXAllocaHoisting.h
NVPTXAsmPrinter.cpp [NVPTX] emit .file directives for files referenced by subprograms. 2016-02-11 18:21:47 +00:00
NVPTXAsmPrinter.h One more batch of self-containing headers. 2016-01-27 19:29:56 +00:00
NVPTXAssignValidGlobalNames.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
NVPTXFavorNonGenericAddrSpaces.cpp [NVPTX] Adds a new address space inference pass. 2016-03-20 20:59:20 +00:00
NVPTXFrameLowering.cpp [NVPTX] cleanups and refacotring in NVPTXFrameLowering.cpp 2015-06-30 21:28:31 +00:00
NVPTXFrameLowering.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
NVPTXGenericToNVVM.cpp GlobalValue: use getValueType() instead of getType()->getPointerElementType(). 2016-01-16 20:30:46 +00:00
NVPTXImageOptimizer.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
NVPTXInferAddressSpaces.cpp [NVPTX] Adds a new address space inference pass. 2016-03-20 20:59:20 +00:00
NVPTXInstrFormats.td
NVPTXInstrInfo.cpp CodeGen: TII: Take MachineInstr& in predicate API, NFC 2016-02-23 02:46:52 +00:00
NVPTXInstrInfo.h [NVPTX] Remove dead code. 2015-10-15 14:45:41 +00:00
NVPTXInstrInfo.td [NVPTX] Annotate param loads/stores as mayLoad/mayStore. 2016-03-01 19:44:22 +00:00
NVPTXIntrinsics.td [NVPTX] Annotate param loads/stores as mayLoad/mayStore. 2016-03-01 19:44:22 +00:00
NVPTXISelDAGToDAG.cpp [NVPTX] Use LDG for pointer induction variables. 2015-08-05 23:11:57 +00:00
NVPTXISelDAGToDAG.h Don't put classes in headers into anonymous namespaces. 2016-01-27 19:29:42 +00:00
NVPTXISelLowering.cpp [NVPTX] Use different, convergent MIs for convergent calls. 2016-03-01 19:24:03 +00:00
NVPTXISelLowering.h [NVPTX] Use different, convergent MIs for convergent calls. 2016-03-01 19:24:03 +00:00
NVPTXLowerAggrCopies.cpp NVPTX: Remove implicit ilist iterator conversions, NFC 2015-10-20 00:54:09 +00:00
NVPTXLowerAggrCopies.h
NVPTXLowerAlloca.cpp Fix some comment typos. 2015-08-08 18:27:36 +00:00
NVPTXLowerKernelArgs.cpp Put space after pointer type in test. NFC. 2016-01-23 05:47:34 +00:00
NVPTXMachineFunctionInfo.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
NVPTXMCExpr.cpp
NVPTXMCExpr.h Fix pr24486. 2015-10-05 12:07:05 +00:00
NVPTXPeephole.cpp [NVPTX] Move NVPTXPeephole after NVPTXPrologEpilogPass 2015-07-01 20:08:06 +00:00
NVPTXPrologEpilogPass.cpp MachineBasicBlock: Factor out common code into isReturnBlock() 2015-09-25 21:25:19 +00:00
NVPTXRegisterInfo.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
NVPTXRegisterInfo.h
NVPTXRegisterInfo.td Add NVPTXPeephole pass to reduce unnecessary address cast 2015-06-24 20:20:16 +00:00
NVPTXReplaceImageHandles.cpp Cosmetic cleanups - NFC 2015-07-08 16:33:21 +00:00
NVPTXSection.h Use non virtual destructors for sections. 2015-10-07 13:46:06 +00:00
NVPTXSubtarget.cpp Revert r247692: Replace Triple with a new TargetTuple in MCTargetDesc/* and related. NFC. 2015-09-15 16:17:27 +00:00
NVPTXSubtarget.h Rename TargetSelectionDAGInfo into SelectionDAGTargetInfo and move it to CodeGen/ 2016-01-27 16:32:26 +00:00
NVPTXTargetMachine.cpp [NVPTX] Adds a new address space inference pass. 2016-03-20 20:59:20 +00:00
NVPTXTargetMachine.h Rename TargetSelectionDAGInfo into SelectionDAGTargetInfo and move it to CodeGen/ 2016-01-27 16:32:26 +00:00
NVPTXTargetObjectFile.h Unbreak non-X86 targets from fallout caused by r261462 2016-02-21 01:40:04 +00:00
NVPTXTargetTransformInfo.cpp [TTI] Make the cost APIs in TargetTransformInfo consistently use 'int' 2015-08-05 18:08:10 +00:00
NVPTXTargetTransformInfo.h [TTI] Make the cost APIs in TargetTransformInfo consistently use 'int' 2015-08-05 18:08:10 +00:00
NVPTXUtilities.cpp NVPTX: Remove implicit ilist iterator conversions, NFC 2015-10-20 00:54:09 +00:00
NVPTXUtilities.h [NVPTX] Remove dead code. 2015-10-15 14:45:41 +00:00
NVPTXVector.td Start replacing vector_extract/vector_insert with extractelt/insertelt 2015-12-11 19:20:16 +00:00
NVVMReflect.cpp [ADT] Switch a bunch of places in LLVM that were doing single-character 2015-09-10 06:12:31 +00:00