Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Backend: Switch to using TargetOptions or TargetMachine to set some options ↵ | Daniel Dunbar | 2009-12-12 | 1 | -20/+40 |
| | | | | | | instead of llvm::cl. llvm-svn: 91229 | ||||
* | Increase inlining threshold at -O3, to match llvm-gcc. | Daniel Dunbar | 2009-12-08 | 1 | -2/+8 |
| | | | | llvm-svn: 90897 | ||||
* | PR5684: Fix refacto, the backend consumer was copying the Diagnostic object, | Daniel Dunbar | 2009-12-04 | 1 | -3/+2 |
| | | | | | | | which meant that hasErrorOccurred() checks to prevent codegen-on-invalid weren't working. llvm-svn: 90560 | ||||
* | Fix BackendConsumer to use proper diagnostics. | Daniel Dunbar | 2009-12-03 | 1 | -15/+13 |
| | | | | llvm-svn: 90433 | ||||
* | Add CodeGenOptions::{SoftFloat,FloatABI}, and update the all the (far too ↵ | Daniel Dunbar | 2009-11-30 | 1 | -0/+6 |
| | | | | | | many) places to use this instead of using the backend -soft-float and -float-abi= options. llvm-svn: 90127 | ||||
* | Eliminate CodeGenOptions::TimePasses. | Daniel Dunbar | 2009-11-30 | 1 | -13/+14 |
| | | | | llvm-svn: 90118 | ||||
* | Eliminate CodeGenOptions::SimplifyLibCalls. | Daniel Dunbar | 2009-11-30 | 1 | -4/+6 |
| | | | | llvm-svn: 90117 | ||||
* | Move LLVM backend options to explicit clang-cc / clang -cc1 options, which ↵ | Daniel Dunbar | 2009-11-29 | 1 | -0/+33 |
| | | | | | | we then manually pass to the command line library; eventually the latter grossness should be fixed by a real API when creating the target machine. llvm-svn: 90063 | ||||
* | Remove VISIBILITY_HIDDEN from anonymous namespaces in libFrontend. | Benjamin Kramer | 2009-11-28 | 1 | -4/+1 |
| | | | | llvm-svn: 90033 | ||||
* | Add TargetOptions and use it when constructing targets. | Daniel Dunbar | 2009-11-15 | 1 | -10/+14 |
| | | | | | | | | - This ended up being hard to factor, sorry for the large diff. - Some post-commit cleanup to come. llvm-svn: 88833 | ||||
* | Move CompileOptions -> CodeGenOptions, and sink it into the CodeGen library. | Chandler Carruth | 2009-11-12 | 1 | -33/+33 |
| | | | | | | This resolves the layering violation where CodeGen depended on Frontend. llvm-svn: 86998 | ||||
* | Localize -disable-llvm-optzns handling to BackendConsumer::CreatePasses. | Daniel Dunbar | 2009-11-10 | 1 | -8/+15 |
| | | | | | | | | | | | - This is conceptually better since the only thing we want this option to do is preserve the internal module as constructed by IRgen, before running any passes. - This also fixes bugs in -disable-llvm-optzns handling with regards to debug info. llvm-svn: 86691 | ||||
* | Pass the formatted_raw_ostream to createPrintModulePass and | Dan Gohman | 2009-09-26 | 1 | -2/+2 |
| | | | | | | | | | createBitcodeWriterPass instead of the underlying raw_ostream. This avoids trouble with formatted_raw_ostream's behavior of setting the underlying stream to be unbuffered, which resulted in clang -emit-llvm -S using unbuffered output. llvm-svn: 82857 | ||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -29/+29 |
| | | | | llvm-svn: 81346 | ||||
* | use errs() instead of cerr. | Chris Lattner | 2009-08-23 | 1 | -1/+1 |
| | | | | llvm-svn: 79829 | ||||
* | Update for LLVM API change | Daniel Dunbar | 2009-08-04 | 1 | -2/+1 |
| | | | | llvm-svn: 78044 | ||||
* | Update for LLVM API change. | Daniel Dunbar | 2009-08-03 | 1 | -2/+1 |
| | | | | llvm-svn: 77952 | ||||
* | Update for LLVM API change. | Daniel Dunbar | 2009-08-03 | 1 | -1/+2 |
| | | | | llvm-svn: 77947 | ||||
* | Don't use a formatted ostream when writing .ll either. | Daniel Dunbar | 2009-07-29 | 1 | -1/+1 |
| | | | | llvm-svn: 77474 | ||||
* | Don't use a formatted ostream when writing .bc files. I don't really understand | Daniel Dunbar | 2009-07-29 | 1 | -1/+1 |
| | | | | | | this interface design, Chris please check. llvm-svn: 77473 | ||||
* | Update for API change. | Daniel Dunbar | 2009-07-26 | 1 | -1/+1 |
| | | | | llvm-svn: 77112 | ||||
* | Lookup targets by Triple instead of Module. | Daniel Dunbar | 2009-07-26 | 1 | -1/+2 |
| | | | | llvm-svn: 77108 | ||||
* | Reapply r75764: [llvm up] Switch to using the new TargetRegistry | Daniel Dunbar | 2009-07-15 | 1 | -5/+5 |
| | | | | llvm-svn: 75821 | ||||
* | Revert r75764 "[llvm up] Switch to using the new TargetRegistry" to fix build. | Argyrios Kyrtzidis | 2009-07-15 | 1 | -5/+5 |
| | | | | llvm-svn: 75814 | ||||
* | [llvm up] Switch to using the new TargetRegistry. | Daniel Dunbar | 2009-07-15 | 1 | -5/+5 |
| | | | | llvm-svn: 75764 | ||||
* | fix fallout of the LLVM codegen switching to formatted_raw_ostream. | Chris Lattner | 2009-07-14 | 1 | -6/+11 |
| | | | | llvm-svn: 75675 | ||||
* | Update for changes in LLVM. Hopefully this is the last one for a while. | Owen Anderson | 2009-07-01 | 1 | -2/+2 |
| | | | | llvm-svn: 74657 | ||||
* | Hold the LLVMContext by reference instead of by pointer. | Owen Anderson | 2009-07-01 | 1 | -2/+2 |
| | | | | llvm-svn: 74642 | ||||
* | Update for LLVMContext+Module change. | Owen Anderson | 2009-07-01 | 1 | -4/+7 |
| | | | | llvm-svn: 74615 | ||||
* | PR4371: Reduce the inlining threshold outside of -O3. This makes | Eli Friedman | 2009-06-11 | 1 | -2/+6 |
| | | | | | | the clang inlining threshold consistent with the threshold for llvm-gcc. llvm-svn: 73204 | ||||
* | (llvm up) Switch to using StandardPasses.h | Daniel Dunbar | 2009-06-03 | 1 | -92/+22 |
| | | | | | | | - One functionality change, the LoopIndexSplit pass is now reenabled (it was disabled in r60089 but we forgot to reenable it). llvm-svn: 72787 | ||||
* | Add clang-cc support for -disable-llvm-optzns. | Daniel Dunbar | 2009-06-02 | 1 | -3/+18 |
| | | | | | | | - Avoids running any LLVM optimizations, even at -O2, etc., while still keeping any language changes these optimizations imply. llvm-svn: 72742 | ||||
* | Unbreak the clang build by applying the same temporary | Duncan Sands | 2009-05-31 | 1 | -1/+2 |
| | | | | | | | workaround for machine code emitter changes as was used in llvm-gcc. llvm-svn: 72657 | ||||
* | Move ASTConsumers.h to include/clang/Frontend, and move the associated | Eli Friedman | 2009-05-18 | 1 | -0/+414 |
.cpp files to lib/Frontend. (As proposed on cfe-dev.) llvm-svn: 72060 |