summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PTX/PTXISelDAGToDAG.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove the PTX back-end and all of its artifacts (triple, etc.)Justin Holewinski2012-05-241-356/+0
| | | | | | | | This back-end was deprecated in favor of the NVPTX back-end. NV_CONTRIB llvm-svn: 157417
* Ensure OpCode is not used uninitialized.Duncan Sands2011-10-051-1/+3
| | | | llvm-svn: 141184
* PTX: Various stylistic and code readability changes recommended by Jim Grosbach.Justin Holewinski2011-09-301-3/+3
| | | | llvm-svn: 140855
* PTX: MC-ize the PTX back-end (patch 1 of N)Justin Holewinski2011-09-281-2/+2
| | | | | | | | Lay some groundwork for converting to MC-based asm printer. This is the first of probably many patches to bring the back-end back up-to-date with all of the recent MC changes. llvm-svn: 140697
* PTX: Use external symbols to keep track of params and locals. This also fixesJustin Holewinski2011-09-271-11/+7
| | | | | | | a couple of outstanding issues with frame objects occuring as instruction operands. llvm-svn: 140616
* PTX: Fix detection of stack load/store vs. global load/store, as well as fix theJustin Holewinski2011-09-261-25/+60
| | | | | | printing of local offsets llvm-svn: 140547
* PTX: Handle FrameIndex nodesJustin Holewinski2011-09-261-0/+58
| | | | llvm-svn: 140532
* PTX: Use .param space for device function return values on SM 2.0+, and attemptJustin Holewinski2011-09-221-0/+83
| | | | | | to fix up parameter passing on SM < 2.0 llvm-svn: 140309
* PTX: Prevent DCE from eliminating st.param calls, and unify the handling ofJustin Holewinski2011-06-231-69/+0
| | | | | | | st.param and ld.param FIXME: Test cases still need to be updated llvm-svn: 133733
* PTX: Use .param space for parameters in device functions for SM >= 2.0Justin Holewinski2011-06-231-11/+46
| | | | | FIXME: DCE is eliminating the final st.param.x calls, figure out why llvm-svn: 133732
* PTX: Improve support for 64-bit addressingJustin Holewinski2011-03-231-4/+15
| | | | | | | | | - Fix bug in ADDRrr/ADDRri/ADDRii selection for 64-bit addresses - Add comparison selection for i64 - Add zext selection for i32 -> i64 - Add shl/shr/sha support for i64 llvm-svn: 128153
* ptx: add unconditional and conditional branchChe-Liang Chiou2011-03-181-4/+29
| | | | llvm-svn: 127873
* Add 64-bit addressing to PTX backendChe-Liang Chiou2011-03-021-0/+8
| | | | | | | | | | - Add '64bit' sub-target option. - Select 32-bit/64-bit loads/stores based on '64bit' option. - Fix function parameter order. Patch by Justin Holewinski llvm-svn: 126837
* Extend initial support for primitive types in PTX backendChe-Liang Chiou2011-03-021-3/+24
| | | | | | | | | | | | | | - Allow i16, i32, i64, float, and double types, using the native .u16, .u32, .u64, .f32, and .f64 PTX types. - Allow loading/storing of all primitive types. - Allow primitive types to be passed as parameters. - Allow selection of PTX Version and Shader Model as sub-target attributes. - Merge integer/floating-point test cases for load/store. - Use .u32 instead of .s32 to conform to output from NVidia nvcc compiler. Patch by Justin Holewinski llvm-svn: 126824
* ptx: add passing parameter to kernel functionsChe-Liang Chiou2011-02-101-2/+17
| | | | llvm-svn: 125279
* ptx: remove reg-reg addressing mode and st.constChe-Liang Chiou2011-01-011-12/+9
| | | | llvm-svn: 122653
* ptx: add ld instruction and testChe-Liang Chiou2010-12-221-15/+42
| | | | llvm-svn: 122398
* ptx: add ld instructionChe-Liang Chiou2010-11-301-0/+59
| | | | | | | support register and register-immediate addressing mode todo: immediate and register-register addressing mode llvm-svn: 120407
* Add the exit instruction to the PTX target.Eric Christopher2010-09-181-0/+53
Patch by Che-Liang Chiou <clchiou@gmail.com>! llvm-svn: 114294
OpenPOWER on IntegriCloud