Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move <root>/Driver into <root>/tools/clang-cc. | Daniel Dunbar | 2009-03-24 | 1 | -436/+0 |
| | | | | | | Again, I tried to update cmake but it is untested. llvm-svn: 67605 | ||||
* | move debug info generation flag into CompileOptions. | Chris Lattner | 2009-03-09 | 1 | -9/+5 |
| | | | | llvm-svn: 66478 | ||||
* | capitalize for consistency, a crash in regalloc now looks like this: | Chris Lattner | 2009-03-06 | 1 | -4/+4 |
| | | | | | | | | | | | Stack dump: 0. Program arguments: clang pr3399.c -S -O3 1. <eof> parser at end of file 2. Code generation 3. Running pass 'Linear Scan Register Allocator' on function '@foo' Abort llvm-svn: 66261 | ||||
* | rename PrettyStackTraceDecl -> PrettyStackTraceActionsDecl. | Chris Lattner | 2009-03-05 | 1 | -11/+26 |
| | | | | | | | | | | | | | | | | Introduce a new PrettyStackTraceDecl. Use it to add the top level LLVM IR generation stuff in Backend.cpp to stack traces. We now get crashes like: Stack dump: 0. Program arguments: clang t.c -emit-llvm 1. <eof> parser at end of file 2. t.c:1:5: LLVM IR generation of declaration 'a' Abort for IR generation crashes. llvm-svn: 66153 | ||||
* | Rename lib/Driver (etc) to lib/Frontend in prep for the *actual* | Daniel Dunbar | 2009-03-02 | 1 | -1/+1 |
| | | | | | | driver taking lib/Driver. llvm-svn: 65811 | ||||
* | Add -emit-llvm-only option (generate LLVM IR & run passes, but discard | Daniel Dunbar | 2009-02-26 | 1 | -0/+3 |
| | | | | | | | output). - For timing IRgen phase. llvm-svn: 65580 | ||||
* | don't print codegen time unless -ftime-report was passed. | Chris Lattner | 2009-02-18 | 1 | -1/+3 |
| | | | | llvm-svn: 64928 | ||||
* | teach -ftime-report to time the code generator and -emit-llvm times. | Chris Lattner | 2009-02-18 | 1 | -1/+31 |
| | | | | llvm-svn: 64873 | ||||
* | move llvm backend specific #includes into Backend.cpp instead of Clang.cpp | Chris Lattner | 2009-02-18 | 1 | -3/+4 |
| | | | | llvm-svn: 64872 | ||||
* | Backend: Accept -mcpu and -mattr for use by TargetMachine. | Daniel Dunbar | 2009-02-17 | 1 | -10/+18 |
| | | | | llvm-svn: 64798 | ||||
* | for now, disable all debug info generation at -O1 and above. This mirrors | Chris Lattner | 2009-02-12 | 1 | -0/+7 |
| | | | | | | similar logic in llvm-gcc and will hopefully be fixed soon. llvm-svn: 64349 | ||||
* | Rename AddReadAttrs to FunctionAttrs. This is related to Duncan's patch r61525. | Bill Wendling | 2008-12-31 | 1 | -1/+1 |
| | | | | llvm-svn: 61534 | ||||
* | Remove the #include of ScheduleDAGSDNodes.h, which is no longer necessary. | Dan Gohman | 2008-12-08 | 1 | -1/+0 |
| | | | | llvm-svn: 60712 | ||||
* | Disable -loop-index-split for now. | Devang Patel | 2008-11-26 | 1 | -1/+1 |
| | | | | llvm-svn: 60089 | ||||
* | Use ScheduleDAGSDNodes.h instead of ScheduleDAG.h (stuff moved around). | Ted Kremenek | 2008-11-20 | 1 | -1/+1 |
| | | | | llvm-svn: 59684 | ||||
* | Obey the FIXMES! | Daniel Dunbar | 2008-11-13 | 1 | -5/+1 |
| | | | | | | | | - Resume running the always inliner pass always now that LLVM has been improved and functions with debug info can be inlined. - Remove unused header. llvm-svn: 59223 | ||||
* | [LLVM up] Update for raw_fd_ostream change. This fixes a FIXME that | Daniel Dunbar | 2008-11-13 | 1 | -2/+1 |
| | | | | | | | | the Backend output should be done in binary mode. - I'd appreciate it if someone who has a Windows build could verify this. llvm-svn: 59221 | ||||
* | Move backend output out of destructor. | Daniel Dunbar | 2008-11-11 | 1 | -3/+5 |
| | | | | | | Don't free AST consumer when --disable-free is set. llvm-svn: 59030 | ||||
* | Workaround an LLVM bug where inlining functions with debug info breaks | Daniel Dunbar | 2008-10-29 | 1 | -2/+8 |
| | | | | | | | | code generation. - For now, disable running the always inliner pass (at -O0) if we are also generating debug information. llvm-svn: 58376 | ||||
* | Access pass manager consistently. | Daniel Dunbar | 2008-10-28 | 1 | -1/+1 |
| | | | | | | - No functionality change. llvm-svn: 58342 | ||||
* | Don't double free module when IRgen fails. | Daniel Dunbar | 2008-10-27 | 1 | -2/+5 |
| | | | | llvm-svn: 58266 | ||||
* | 2nd try to fix leakage of the module provider. note that moduleprovider ↵ | Nuno Lopes | 2008-10-24 | 1 | -4/+2 |
| | | | | | | takes ownership of the module llvm-svn: 58128 | ||||
* | fix leaking of the module provider | Nuno Lopes | 2008-10-24 | 1 | -3/+5 |
| | | | | llvm-svn: 58127 | ||||
* | Hook "fast" code generation to -O0. | Daniel Dunbar | 2008-10-23 | 1 | -8/+5 |
| | | | | llvm-svn: 58035 | ||||
* | Add -O[0-3s] support (following llvm-gcc). | Daniel Dunbar | 2008-10-23 | 1 | -4/+93 |
| | | | | | | - Passes match llvm-gcc but many of the switches aren't wired. llvm-svn: 58034 | ||||
* | Only create the target machine when emitting assembly. | Daniel Dunbar | 2008-10-22 | 1 | -17/+17 |
| | | | | llvm-svn: 57993 | ||||
* | [LLVM up] Get rid of std::ostream usage from Backend.cpp | Daniel Dunbar | 2008-10-22 | 1 | -18/+4 |
| | | | | llvm-svn: 57990 | ||||
* | Update to use raw_ostream for PrintModulePass. | Daniel Dunbar | 2008-10-22 | 1 | -6/+6 |
| | | | | | | - Stop playing fast and loose with the std stream. llvm-svn: 57948 | ||||
* | [LLVM up] Add basic -S option to clang. | Daniel Dunbar | 2008-10-21 | 1 | -0/+297 |
- Split backend related consumer out into Backend.cpp, replaces LLVMCodeGenWriter. - Structure follows llvm-gcc to some extent. - Still need to implement all the options which impact code generation and the optimization passes which llvm-gcc uses at various levels. llvm-svn: 57936 |