summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PTX/PTXSubtarget.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove the PTX back-end and all of its artifacts (triple, etc.)Justin Holewinski2012-05-241-131/+0
| | | | | | | | This back-end was deprecated in favor of the NVPTX back-end. NV_CONTRIB llvm-svn: 157417
* Emacs-tag and some comment fix for all ARM, CellSPU, Hexagon, MBlaze, ↵Jia Liu2012-02-181-1/+1
| | | | | | MSP430, PPC, PTX, Sparc, X86, XCore. llvm-svn: 150878
* Unweaken vtables as per ↵David Blaikie2011-12-201-0/+1
| | | | | | http://llvm.org/docs/CodingStandards.html#ll_virtual_anch llvm-svn: 146960
* PTX: Print .ptr kernel attributes if PTX version >= 2.2Justin Holewinski2011-10-091-0/+4
| | | | llvm-svn: 141508
* PTX: Add initial support for device function callsJustin Holewinski2011-08-091-1/+6
| | | | | | - Calls are supported on SM 2.0+ for function with no return values llvm-svn: 137125
* Compute feature bits at time of MCSubtargetInfo initialization.Evan Cheng2011-07-071-2/+3
| | | | llvm-svn: 134606
* Rename XXXGenSubtarget.inc to XXXGenSubtargetInfo.inc for consistency.Evan Cheng2011-07-011-1/+1
| | | | llvm-svn: 134281
* Rename TargetSubtarget to TargetSubtargetInfo for consistency.Evan Cheng2011-07-011-2/+2
| | | | llvm-svn: 134259
* - Added MCSubtargetInfo to capture subtarget features and schedulingEvan Cheng2011-07-011-1/+4
| | | | | | | | | itineraries. - Refactor TargetSubtarget to be based on MCSubtargetInfo. - Change tablegen generated subtarget info to initialize MCSubtargetInfo and hide more details from targets. llvm-svn: 134257
* Fix the ridiculous SubtargetFeatures API where it implicitly expects CPU name toEvan Cheng2011-06-301-3/+4
| | | | | | | | | | be the first encoded as the first feature. It then uses the CPU name to look up features / scheduling itineray even though clients know full well the CPU name being used to query these properties. The fix is to just have the clients explictly pass the CPU name! llvm-svn: 134127
* PTX: Re-work target sm/compute selection and add some basic GPUJustin Holewinski2011-06-241-8/+29
| | | | | | targets: g80, gt200, gf100(fermi) llvm-svn: 133799
* PTX: Use .param space for parameters in device functions for SM >= 2.0Justin Holewinski2011-06-231-1/+8
| | | | | FIXME: DCE is eliminating the final st.param.x calls, figure out why llvm-svn: 133732
* PTX: Fix whitespace errorsJustin Holewinski2011-06-161-4/+5
| | | | llvm-svn: 133158
* PTX: add flag to disable mad/fma selectionJustin Holewinski2011-05-181-1/+6
| | | | | | Patch by Dan Bailey llvm-svn: 131537
* PTX: add PTX 2.3 setting in PTX sub-target.Justin Holewinski2011-05-101-0/+2
| | | | | | Patch by Wei-Ren Chen llvm-svn: 131123
* PTX: add PTX 2.3 language targetJustin Holewinski2011-05-061-1/+2
| | | | | | Patch by Wei-Ren Chen llvm-svn: 130980
* PTX: Add intrinsics to list of built-in intrinsics, which allows them to beJustin Holewinski2011-04-201-3/+3
| | | | | | | | | | used by Clang. To help Clang integration, the PTX target has been split into two targets: ptx32 and ptx64, depending on the desired pointer size. - Add GCCBuiltin class to all intrinsics - Split PTX target into ptx32 and ptx64 llvm-svn: 129851
* PTX: Set PTX 2.0 as the minimum supported versionJustin Holewinski2011-03-151-8/+17
| | | | | | | | - Remove PTX 1.4 code generation - Change type of intrinsics to .v4.i32 instead of .v4.i16 - Add and/or/xor integer instructions llvm-svn: 127677
* PTX: Add preliminary support for floating-point divide and multiply-and-addJustin Holewinski2011-03-101-0/+8
| | | | llvm-svn: 127410
* Add 64-bit addressing to PTX backendChe-Liang Chiou2011-03-021-0/+5
| | | | | | | | | | - 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-1/+26
| | | | | | | | | | | | | | - 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
* Add the exit instruction to the PTX target.Eric Christopher2010-09-181-0/+32
Patch by Che-Liang Chiou <clchiou@gmail.com>! llvm-svn: 114294
OpenPOWER on IntegriCloud