llvm-project/clang/lib
Yaxun Liu f13b8d4fe9 [HIP] Support -emit-llvm for device compilation
Sometimes it is useful to compile HIP device code to LLVM BC. It is not convenient to use clang -cc1 since
there are lots of options needed.

This patch allows clang driver to compile HIP device code to LLVM BC with -emit-llvm -c.

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

llvm-svn: 373561
2019-10-03 03:27:43 +00:00
..
ARCMigrate Removed some questionable default arguments from setters 2019-09-12 12:16:43 +00:00
AST PR43519: don't inject a diagnostic when constant-evaulation of a 2019-10-03 01:20:27 +00:00
ASTMatchers [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Analysis Teach CallGraph to look into Generic Lambdas. 2019-09-30 19:12:29 +00:00
Basic [OPENMP]Use standard parsing for 'match' clause, NFC. 2019-09-23 18:13:31 +00:00
CodeGen Fix uninitialized variable warning in CodeGenPGO constructor. NFCI. 2019-10-02 21:05:21 +00:00
CrossTU [CrossTU] Fix problem with CrossTU AST load limit and progress messages. 2019-08-12 07:15:29 +00:00
DirectoryWatcher [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Driver [HIP] Support -emit-llvm for device compilation 2019-10-03 03:27:43 +00:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format [ClangFormat] Future-proof Standard option, allow floating or pinning to arbitrary lang version 2019-10-02 09:50:40 +00:00
Frontend Revert 373538 and follow-ups 373549 and 373552. 2019-10-03 02:38:43 +00:00
FrontendTool [analyzer] Don't run the analyzer for -analyzer-list-enabled-checkers 2019-09-12 18:53:48 +00:00
Headers [x86] Adding support for some missing intrinsics: _castf32_u32, _castf64_u64, _castu32_f32, _castu64_f64 2019-09-25 02:24:05 +00:00
Index [clang][Index] Replace CodegenNameGenerator with ASTNameGenerator 2019-09-05 20:33:52 +00:00
Lex [clang-scan-deps] Allow continuation line backslashes followed by whitespace 2019-09-26 19:28:51 +00:00
Parse [OPENMP50]Add parsing/sema analysis for declare variant score. 2019-10-02 18:19:02 +00:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema [OPENMP50]Add parsing/sema analysis for declare variant score. 2019-10-02 18:19:02 +00:00
Serialization Rename TypeNodes.def to TypeNodes.inc for consistency across all 2019-10-02 06:35:23 +00:00
StaticAnalyzer Revert "[analyzer] A speculative attempt to avoid gcc-7 crashes..." 2019-09-26 18:52:00 +00:00
Tooling [Stencil] Hide implementaion detai. NFC. 2019-10-02 18:33:44 +00:00
CMakeLists.txt Reland [clang] DirectoryWatcher 2019-07-12 20:34:10 +00:00