llvm-project/clang/lib/Basic
Hal Finkel 8eb5928514 Add PPC support for translating gcc-style -mcpu options into LLVM -target-cpu options.
This functionality is based on what is done on ARM, and enables selecting PPC CPUs
in a way compatible with gcc's driver. Also, mirroring gcc (and what is done on x86),
-mcpu=native support was added. This uses the host cpu detection from LLVM
(which will also soon be updated by refactoring code currently in backend).

In order for this to work, the target needs a list of valid CPUs -- we now accept all CPUs accepted by LLVM.
A few preprocessor defines for common CPU types have been added.

llvm-svn: 158334
2012-06-11 22:35:19 +00:00
..
Builtins.cpp Move a method from IdentifierTable.h out of line and remove the SmallString include. 2012-02-04 13:45:25 +00:00
CMakeLists.txt Update CMake dependencies. 2011-12-17 20:08:54 +00:00
ConvertUTF.c When checking the encoding of an 8-bit string literal, don't just check the 2012-03-08 21:59:28 +00:00
Diagnostic.cpp [Basic] Fix up DiagnosticBuilder::{FlushCounts,Emit} to be inline. 2012-03-13 21:02:14 +00:00
DiagnosticIDs.cpp Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00
FileManager.cpp [PCH] When validating that the files coming from PCH did not change, also 2012-05-03 21:50:39 +00:00
FileSystemStatCache.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
IdentifierTable.cpp Synchronize the representations of DeclarationName and Selector so 2012-05-04 18:24:37 +00:00
LangOptions.cpp Add a -cc1-level option -fmodule-name=<name>, which will be used when 2011-11-15 19:35:01 +00:00
Makefile Use tabs instead of spaces. 2012-03-02 16:06:37 +00:00
Module.cpp Back out my heinous hack that tricked the module generation mechanism 2012-02-02 18:42:48 +00:00
SourceLocation.cpp Move FullSourceLoc::dump into the .cpp file, the used attribute made us emit this into every TU that includes SourceLocation.h. 2012-02-26 16:55:50 +00:00
SourceManager.cpp Switch LineTableInfo to use FileID instead of int for file references, 2012-06-08 16:40:28 +00:00
TargetInfo.cpp objective-c modern translator: buildit objc bool 2012-04-16 21:03:30 +00:00
Targets.cpp Add PPC support for translating gcc-style -mcpu options into LLVM -target-cpu options. 2012-06-11 22:35:19 +00:00
TokenKinds.cpp This patch adds a PUNCTUATOR macro (specialization of TOK) in TokenKinds.def and makes use of it in tok::getTokenSimpleSpelling. 2009-11-28 16:09:28 +00:00
Version.cpp Only emit one set of braces for __VERSION__, getClangFullRepositoryVersion already adds some. 2012-05-26 19:39:52 +00:00
VersionTuple.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00