- Jun 04, 2009
-
-
Douglas Gregor authored
the CMake-generated Xcode project build properly. llvm-svn: 72883
-
-
rdar://problem/6940611Nick Kledzik authored
Add lto_codegen_set_assembler_path() API which allows the linker to specify the path to the assembler tool to run. When assembler is used (instead of compiler) different command line options are used. Add LTO_API_VERSION #define so clients (linkers) can conditionalize use of new APIs. llvm-svn: 72823
-
rdar://problem/6941517Nick Kledzik authored
Move setRelocationModel() to be called before TargetMachine is instantiated. llvm-svn: 72816
-
- Jun 03, 2009
-
-
Daniel Dunbar authored
- This matches llvm-ld. It took a bit of archeology to figure out what the right thing to do was (whether this was intentionally added or intentionally removed). My final conclusion is that Chris added this intentionally here: http://llvm.org/viewvc/llvm-project?view=rev&revision=16913 but the changes weren't propogated to llvm-ld until here: http://llvm.org/viewvc/llvm-project?view=rev&revision=34058 which was after lto.cpp had been cloned off (of llvm-ld), here: http://llvm.org/viewvc/llvm-project?view=rev&revision=29494 From the commit message, it looks like the motivation for running global opt again is because we ran it prior to inlining. Based on that I updated the comment and also only run the pass if we actually ran the inliner. Chris, please review. llvm-svn: 72811
-
Daniel Dunbar authored
- I know it sounds crazy, but I think all the pass lists are now coalesced into StandardPasses.h. llvm-svn: 72805
-
Daniel Dunbar authored
- No functionality change, but please check if you don't believe me. llvm-svn: 72789
-
Oscar Fuentes authored
llvm-svn: 72774
-
- Jun 02, 2009
-
-
Nick Kledzik authored
llvm-svn: 72708
-
- Jun 01, 2009
-
-
rdar://problem/6927148Nick Kledzik authored
Parse __OBJC data structures and synthesize magic .objc_ symbols. Also, alter mangler so that objc method names are readable. llvm-svn: 72700
-
Nick Lewycky authored
llvm-svn: 72684
-
- May 30, 2009
-
-
Evan Cheng authored
llvm-svn: 72600
-
- May 27, 2009
-
-
Oscar Fuentes authored
used by CMake with --ldflags. llvm-svn: 72470
-
- May 25, 2009
-
-
Nick Lewycky authored
can't just eliminate all global initializers. llvm-svn: 72378
-
Nick Lewycky authored
simplification. It's not clear to me whether this can replace the first of the linear instruction simplification stages or not, so I left it in. llvm-svn: 72377
-
- May 24, 2009
-
-
Torok Edwin authored
can crash during instruction simplification (for example if it creates a broken module). llvm-svn: 72362
-
Torok Edwin authored
Sometimes when bugpointing a crash the bugpoint-reduced-simplified.bc reproduces a totally different bug than the original one ("GV doesn't have initializer"). Although its useful to report that bug too, I need a way to reduce the original bug, hence I introduced -disable-global-remove. llvm-svn: 72361
-
- May 16, 2009
-
-
Duncan Sands authored
the common Makefile. Not sure why this suddenly started causing problems. llvm-svn: 71925
-
- May 06, 2009
-
-
Mikhail Glushenkov authored
See PR4159 for details. Patch by Martin Nowack! llvm-svn: 71054
-
- May 05, 2009
-
-
Evan Cheng authored
llvm-svn: 70988
-
Evan Cheng authored
llvm-svn: 70934
-
- May 01, 2009
-
-
Dan Gohman authored
llvm-svn: 70548
-
- Apr 30, 2009
-
-
Nick Lewycky authored
run when assembling. Wire this up to the gold plugin. You can now pass --plugin-opt gcc=/foo/bar/gcc and it will run that gcc instead of looking for it on the path. llvm-svn: 70490
-
Bill Wendling authored
llvm-svn: 70459
-
Bill Wendling authored
llvm-svn: 70449
-
Bill Wendling authored
llvm-svn: 70445
-
Bill Wendling authored
which better identifies what the optimization is doing. And is more flexible for future uses. llvm-svn: 70440
-
- Apr 29, 2009
-
-
Bill Wendling authored
llvm-svn: 70411
-
Bill Wendling authored
Massive check in. This changes the "-fast" flag to "-O#" in llc. If you want to use the old behavior, the flag is -O0. This change allows for finer-grained control over which optimizations are run at different -O levels. Most of this work was pretty mechanical. The majority of the fixes came from verifying that a "fast" variable wasn't used anymore. The JIT still uses a "Fast" flag. I'll change the JIT with a follow-up patch. llvm-svn: 70343
-
- Apr 28, 2009
-
-
Bill Wendling authored
llvm-svn: 70275
-
Bill Wendling authored
use the old behavior, the flag is -O0. This change allows for finer-grained control over which optimizations are run at different -O levels. Most of this work was pretty mechanical. The majority of the fixes came from verifying that a "fast" variable wasn't used anymore. The JIT still uses a "Fast" flag. I'm not 100% sure if it's necessary to change it there... llvm-svn: 70270
-
- Apr 27, 2009
-
-
Chris Lattner authored
only llvm-bcanalyzer wants this info. llvm-svn: 70239
-
Chris Lattner authored
and % abbreviated. For example: Record Histogram: Count # Bits % Abv Record Kind 25738 3424174 100.00 SM_SLOC_INSTANTIATION_ENTRY 814 562079 100.00 SM_SLOC_FILE_ENTRY 798 34110 SM_HEADER_FILE_INFO 3 91104 100.00 SM_SLOC_BUFFER_BLOB 3 498 100.00 SM_SLOC_BUFFER_ENTRY 1 465 SM_LINE_TABLE llvm-svn: 70215
-
Chris Lattner authored
instead of ostreams for formatting. llvm-svn: 70214
-
Dan Gohman authored
or when some other std::exception is thrown. llvm-svn: 70175
-
Chris Lattner authored
BLOCKNAME and SETRECORDNAME. This allows a bitcode file to be self describing with pretty names for records and blocks in addition to numbers. This enhances llvm-bcanalyzer to use this to print prettily. llvm-svn: 70165
-
- Apr 26, 2009
-
-
Chris Lattner authored
state out of the BitstreamReader class into a BitstreamCursor class. Doing this allows the client to have multiple cursors into the same file, each with potentially different live block stacks and abbreviation records. llvm-svn: 70157
-
Chris Lattner authored
llvm-svn: 70082
-
- Apr 24, 2009
-
-
Rafael Espindola authored
llvm-svn: 69972
-
- Apr 22, 2009
-
-
Dan Gohman authored
up functions by name. llvm-svn: 69805
-