summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/NVPTX/NVPTXInferAddressSpaces.cpp
Commit message (Collapse)AuthorAgeFilesLines
* NVPTX: Move InferAddressSpaces to generic codeMatt Arsenault2017-01-311-609/+0
| | | | llvm-svn: 293579
* NVPTX: Trivial cleanups of NVPTXInferAddressSpacesMatt Arsenault2017-01-301-28/+30
| | | | | | | | | - Move DEBUG_TYPE below includes - Change unknown address space constant to be consistent with other passes - Grammar fixes in debug output llvm-svn: 293567
* NVPTX: Refactor NVPTXInferAddressSpaces to check TTIMatt Arsenault2017-01-301-33/+53
| | | | | | Add a new TTI hook for getting the generic address space value. llvm-svn: 293563
* NVPTX: Make NVPTXInferAddressSpaces preserve CFGMatt Arsenault2017-01-271-0/+4
| | | | llvm-svn: 293308
* [NVPTX] Switch nvptx-use-infer-addrspace to true.Justin Lebar2016-08-191-3/+0
| | | | | | | | | | | | | | | Summary: This switches us to use a different, more powerful algorithm for address space inference. I've tested this locally and it seems to work great. Once we're more confident in it, we can remove the old pass altogether. Reviewers: jingyue Subscribers: llvm-commits, tra, jholewinski Differential Revision: https://reviews.llvm.org/D23694 llvm-svn: 279317
* Add optimization bisect opt-in calls for NVPTX passesAndrew Kaylor2016-04-261-0/+3
| | | | | | Differential Revision: http://reviews.llvm.org/D19518 llvm-svn: 267635
* [NFC] Header cleanupMehdi Amini2016-04-181-1/+0
| | | | | | | | | | | | | | Removed some unused headers, replaced some headers with forward class declarations. Found using simple scripts like this one: clear && ack --cpp -l '#include "llvm/ADT/IndexedMap.h"' | xargs grep -L 'IndexedMap[<]' | xargs grep -n --color=auto 'IndexedMap' Patch by Eugene Kosov <claprix@yandex.ru> Differential Revision: http://reviews.llvm.org/D19219 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 266595
* [NVPTX] Adds a new address space inference pass.Jingyue Wu2016-03-201-0/+584
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
OpenPOWER on IntegriCloud