summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/Backend.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Backend: Switch to using TargetOptions or TargetMachine to set some options ↵Daniel Dunbar2009-12-121-20/+40
| | | | | | instead of llvm::cl. llvm-svn: 91229
* Increase inlining threshold at -O3, to match llvm-gcc.Daniel Dunbar2009-12-081-2/+8
| | | | llvm-svn: 90897
* PR5684: Fix refacto, the backend consumer was copying the Diagnostic object,Daniel Dunbar2009-12-041-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 Dunbar2009-12-031-15/+13
| | | | llvm-svn: 90433
* Add CodeGenOptions::{SoftFloat,FloatABI}, and update the all the (far too ↵Daniel Dunbar2009-11-301-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 Dunbar2009-11-301-13/+14
| | | | llvm-svn: 90118
* Eliminate CodeGenOptions::SimplifyLibCalls.Daniel Dunbar2009-11-301-4/+6
| | | | llvm-svn: 90117
* Move LLVM backend options to explicit clang-cc / clang -cc1 options, which ↵Daniel Dunbar2009-11-291-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 Kramer2009-11-281-4/+1
| | | | llvm-svn: 90033
* Add TargetOptions and use it when constructing targets.Daniel Dunbar2009-11-151-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 Carruth2009-11-121-33/+33
| | | | | | This resolves the layering violation where CodeGen depended on Frontend. llvm-svn: 86998
* Localize -disable-llvm-optzns handling to BackendConsumer::CreatePasses.Daniel Dunbar2009-11-101-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 andDan Gohman2009-09-261-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 Stump2009-09-091-29/+29
| | | | llvm-svn: 81346
* use errs() instead of cerr.Chris Lattner2009-08-231-1/+1
| | | | llvm-svn: 79829
* Update for LLVM API changeDaniel Dunbar2009-08-041-2/+1
| | | | llvm-svn: 78044
* Update for LLVM API change.Daniel Dunbar2009-08-031-2/+1
| | | | llvm-svn: 77952
* Update for LLVM API change.Daniel Dunbar2009-08-031-1/+2
| | | | llvm-svn: 77947
* Don't use a formatted ostream when writing .ll either.Daniel Dunbar2009-07-291-1/+1
| | | | llvm-svn: 77474
* Don't use a formatted ostream when writing .bc files. I don't really understandDaniel Dunbar2009-07-291-1/+1
| | | | | | this interface design, Chris please check. llvm-svn: 77473
* Update for API change.Daniel Dunbar2009-07-261-1/+1
| | | | llvm-svn: 77112
* Lookup targets by Triple instead of Module.Daniel Dunbar2009-07-261-1/+2
| | | | llvm-svn: 77108
* Reapply r75764: [llvm up] Switch to using the new TargetRegistryDaniel Dunbar2009-07-151-5/+5
| | | | llvm-svn: 75821
* Revert r75764 "[llvm up] Switch to using the new TargetRegistry" to fix build.Argyrios Kyrtzidis2009-07-151-5/+5
| | | | llvm-svn: 75814
* [llvm up] Switch to using the new TargetRegistry.Daniel Dunbar2009-07-151-5/+5
| | | | llvm-svn: 75764
* fix fallout of the LLVM codegen switching to formatted_raw_ostream.Chris Lattner2009-07-141-6/+11
| | | | llvm-svn: 75675
* Update for changes in LLVM. Hopefully this is the last one for a while.Owen Anderson2009-07-011-2/+2
| | | | llvm-svn: 74657
* Hold the LLVMContext by reference instead of by pointer.Owen Anderson2009-07-011-2/+2
| | | | llvm-svn: 74642
* Update for LLVMContext+Module change.Owen Anderson2009-07-011-4/+7
| | | | llvm-svn: 74615
* PR4371: Reduce the inlining threshold outside of -O3. This makes Eli Friedman2009-06-111-2/+6
| | | | | | the clang inlining threshold consistent with the threshold for llvm-gcc. llvm-svn: 73204
* (llvm up) Switch to using StandardPasses.hDaniel Dunbar2009-06-031-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 Dunbar2009-06-021-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 temporaryDuncan Sands2009-05-311-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 Friedman2009-05-181-0/+414
.cpp files to lib/Frontend. (As proposed on cfe-dev.) llvm-svn: 72060
OpenPOWER on IntegriCloud