Home

[NVPTX] Add preliminary intrinsics and codegen support for textures/surfaces

Press ? to show keyboard shortcuts.
Committed
jholewinskiApr 9 2014, 8:39 AM
Parents
rL205906: [NVPTX] Add support for addrspacecast in global variable initializers…
Branches
Unknown
Tags
Unknown
Subscribers
None
Projects
None
Description

[NVPTX] Add preliminary intrinsics and codegen support for textures/surfaces

This commit adds intrinsics and codegen support for the surface read/write and texture read instructions that take an explicit sampler parameter. Codegen operates on image handles at the PTX level, but falls back to direct replacement of handles with kernel arguments if image handles are not enabled. Note that image handles are explicitly disabled for all target architectures in this change (to be enabled later).

rL205907

llvm/trunk/include/llvm/IR/IntrinsicsNVVM.td

Loading...

llvm/trunk/lib/Target/NVPTX/CMakeLists.txt

Loading...

llvm/trunk/lib/Target/NVPTX/NVPTX.h

Loading...

llvm/trunk/lib/Target/NVPTX/NVPTXAsmPrinter.cpp

Loading...

llvm/trunk/lib/Target/NVPTX/NVPTXAsmPrinter.h

Loading...

llvm/trunk/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp

Loading...

llvm/trunk/lib/Target/NVPTX/NVPTXISelDAGToDAG.h

Loading...

llvm/trunk/lib/Target/NVPTX/NVPTXISelLowering.cpp

Loading...

llvm/trunk/lib/Target/NVPTX/NVPTXISelLowering.h

Loading...

llvm/trunk/lib/Target/NVPTX/NVPTXImageOptimizer.cpp

Loading...

llvm/trunk/lib/Target/NVPTX/NVPTXIntrinsics.td

Loading...

llvm/trunk/lib/Target/NVPTX/NVPTXMachineFunctionInfo.h

Loading...

llvm/trunk/lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp

Loading...

llvm/trunk/lib/Target/NVPTX/NVPTXSubtarget.h

Loading...

llvm/trunk/lib/Target/NVPTX/NVPTXTargetMachine.cpp

Loading...

llvm/trunk/test/CodeGen/NVPTX/surf-read.ll

Loading...

llvm/trunk/test/CodeGen/NVPTX/surf-write.ll

Loading...

llvm/trunk/test/CodeGen/NVPTX/tex-read.ll

Loading...

Add Comment