Simplify the implementation of getCUDALibDeviceFunction. NFC.
authorPhilip Pfaffe <philip.pfaffe@gmail.com>
Thu, 14 Jun 2018 08:54:55 +0000 (08:54 +0000)
committerPhilip Pfaffe <philip.pfaffe@gmail.com>
Thu, 14 Jun 2018 08:54:55 +0000 (08:54 +0000)
commit66a05ad6728a19450d7ce9f28a1beaf3f8698abd
tree81ea53e03b10dd0326e4ba00d1b246ef262c70e0
parent7d1448ea72ba90922264c6b4a23d3743d6402050
Simplify the implementation of getCUDALibDeviceFunction. NFC.

Summary:
The function is currently awfully complicated. Drop the IILE and use
StringRef over std::string.

Reviewers: Meinersbur, grosser, bollu

Reviewed By: Meinersbur

Subscribers: nemanjai, kbarton, bollu, llvm-commits, pollydev

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

llvm-svn: 334695
polly/lib/CodeGen/PPCGCodeGeneration.cpp