llvm-project/llvm/lib/Target/NVPTX
Artem Belevich 914d4babec [NVPTX] Make tensor load/store intrinsics overloaded.
This way we can support address-space specific variants without explicitly
encoding the space in the name of the intrinsic. Less intrinsics to deal with ->
less boilerplate.

Added a bit of tablegen magic to match/replace an intrinsics with a pointer
argument in particular address space with the space-specific instruction
variant.

Updated tests to use non-default address spaces.

Differential Revision: https://reviews.llvm.org/D43268

llvm-svn: 328006
2018-03-20 17:18:59 +00:00
..
InstPrinter
MCTargetDesc
TargetInfo Add backend name to Target to enable runtime info to be fed back into TableGen 2017-11-15 23:55:44 +00:00
CMakeLists.txt
LLVMBuild.txt
ManagedStringPool.h
NVPTX.h
NVPTX.td [CUDA] Added rudimentary support for CUDA-9 and sm_70. 2017-09-07 18:14:32 +00:00
NVPTXAllocaHoisting.cpp
NVPTXAllocaHoisting.h
NVPTXAsmPrinter.cpp [NVPTX] Removed always-true predicates in NVPTX. 2018-02-28 18:51:22 +00:00
NVPTXAsmPrinter.h
NVPTXAssignValidGlobalNames.cpp [NVPTX] Assign valid global names 2017-12-04 14:19:33 +00:00
NVPTXFrameLowering.cpp Target/TargetInstrInfo.h -> CodeGen/TargetInstrInfo.h to match layering 2017-11-08 01:01:31 +00:00
NVPTXFrameLowering.h Move TargetFrameLowering.h to CodeGen where it's implemented 2017-11-03 22:32:11 +00:00
NVPTXGenericToNVVM.cpp [NVPTX] Use addrspacecast instead of target-specific intrinsics in NVPTXGenericToNVVM. 2018-02-28 23:57:48 +00:00
NVPTXISelDAGToDAG.cpp [NVPTX] TblGen-ized lowering of WMMA intrinsics. 2018-03-15 21:40:56 +00:00
NVPTXISelDAGToDAG.h [NVPTX] TblGen-ized lowering of WMMA intrinsics. 2018-03-15 21:40:56 +00:00
NVPTXISelLowering.cpp [NVPTX] Make tensor load/store intrinsics overloaded. 2018-03-20 17:18:59 +00:00
NVPTXISelLowering.h TLI: Allow using PSV for intrinsic mem operands 2017-12-14 22:34:10 +00:00
NVPTXImageOptimizer.cpp
NVPTXInstrFormats.td
NVPTXInstrInfo.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
NVPTXInstrInfo.h Target/TargetInstrInfo.h -> CodeGen/TargetInstrInfo.h to match layering 2017-11-08 01:01:31 +00:00
NVPTXInstrInfo.td [NVPTX] TblGen-ized lowering of WMMA intrinsics. 2018-03-15 21:40:56 +00:00
NVPTXIntrinsics.td [NVPTX] Make tensor load/store intrinsics overloaded. 2018-03-20 17:18:59 +00:00
NVPTXLowerAggrCopies.cpp [Memcpy Loop Lowering] Remove the fixed int8 lowering. 2017-12-18 15:31:14 +00:00
NVPTXLowerAggrCopies.h
NVPTXLowerAlloca.cpp
NVPTXLowerArgs.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
NVPTXMCExpr.cpp Avoid int to string conversion in Twine or raw_ostream contexts. 2017-12-28 16:58:54 +00:00
NVPTXMCExpr.h
NVPTXMachineFunctionInfo.h
NVPTXPeephole.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
NVPTXPrologEpilogPass.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
NVPTXRegisterInfo.cpp Target/TargetInstrInfo.h -> CodeGen/TargetInstrInfo.h to match layering 2017-11-08 01:01:31 +00:00
NVPTXRegisterInfo.h Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
NVPTXRegisterInfo.td
NVPTXReplaceImageHandles.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
NVPTXSection.h
NVPTXSubtarget.cpp
NVPTXSubtarget.h [NVPTX] Removed always-true predicates in NVPTX. 2018-02-28 18:51:22 +00:00
NVPTXTargetMachine.cpp Split MachineLICM into EarlyMachineLICM and MachineLICM; NFC 2018-01-19 06:46:10 +00:00
NVPTXTargetMachine.h (Re-landing) Expose a TargetMachine::getTargetTransformInfo function 2017-12-22 18:21:59 +00:00
NVPTXTargetObjectFile.h Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
NVPTXTargetTransformInfo.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
NVPTXTargetTransformInfo.h Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
NVPTXUtilities.cpp
NVPTXUtilities.h
NVVMIntrRange.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
NVVMReflect.cpp
cl_common_defines.h