- Oct 07, 2010
-
-
Dan Gohman authored
llvm-svn: 115976
-
- Sep 01, 2010
-
-
Dan Gohman authored
of a base class. This makes it possible to unregister the file from FilesToRemove when the file is done. Also, this eliminates the need for formatted_tool_output_file. llvm-svn: 112706
-
- Aug 20, 2010
-
-
Dan Gohman authored
checking to places which previously lacked it. llvm-svn: 111651
-
- Aug 11, 2010
-
-
Rafael Espindola authored
llvm-svn: 110759
-
- Aug 10, 2010
-
-
Rafael Espindola authored
Nick, please review. llvm-svn: 110705
-
- May 27, 2010
-
-
Dan Gohman authored
llvm-svn: 104888
-
Dan Gohman authored
raw_ostream doesn't try to do its own error handling. Also, close the raw_ostream before checking for errors so that any errors that occur during closing are caught by the manual check. llvm-svn: 104882
-
- May 11, 2010
-
-
Bill Wendling authored
string of features for that target. However LTO was using that string to pass into the "create target machine" stuff. That stuff needed the feature string to be in a particular form. In particular, it needed the CPU specified first and then the attributes. If there isn't a CPU specified, it required it to be blank -- e.g., ",+altivec". Yuck. Modify the getDefaultSubtargetFeatures method to be a non-static member function. For all attributes for a specific subtarget, it will add them in like normal. It will also take a CPU string so that it can satisfy this horrible syntax. llvm-svn: 103451
-
- May 02, 2010
-
-
Duncan Sands authored
Remove the -enable-eh option which is only used by the JIT, and replace it with -jit-enable-eh. llvm-svn: 102865
-
- Apr 27, 2010
-
-
Bill Wendling authored
*not* declarations to *not* be placed in the "preserve" list. <rdar://problem/7870735> llvm-svn: 102405
-
- Apr 17, 2010
-
-
Dan Gohman authored
llvm-svn: 101656
-
- Mar 24, 2010
-
-
Dan Gohman authored
llvm-svn: 99416
-
- Mar 12, 2010
-
-
Chris Lattner authored
llvm-svn: 98378
-
Chris Lattner authored
No functionality change. llvm-svn: 98363
-
- Feb 03, 2010
-
-
Chris Lattner authored
add -filetype=null for performance testing and remove -filetype=dynlib, which isn't planned to be implemented. llvm-svn: 95202
-
- Feb 02, 2010
-
-
Chris Lattner authored
Now the only use of the ELF writer is the JIT, which won't be easy to fix in the short term. :( :( llvm-svn: 95148
-
Chris Lattner authored
of the code generator shouldn't care what object format a target uses. llvm-svn: 95124
-
Chris Lattner authored
the one used by the JIT. Remove all forms of addPassesToEmitFileFinish except the one used by the static code generator. Inline the remaining version of addPassesToEmitFileFinish into its only caller. llvm-svn: 95109
-
Chris Lattner authored
llvm-svn: 95105
-
- Jan 27, 2010
-
-
Jeffrey Yasskin authored
Modules and ModuleProviders. Because the "ModuleProvider" simply materializes GlobalValues now, and doesn't provide modules, it's renamed to "GVMaterializer". Code that used to need a ModuleProvider to materialize Functions can now materialize the Functions directly. Functions no longer use a magic linkage to record that they're materializable; they simply ask the GVMaterializer. Because the C ABI must never change, we can't remove LLVMModuleProviderRef or the functions that refer to it. Instead, because Module now exposes the same functionality ModuleProvider used to, we store a Module* in any LLVMModuleProviderRef and translate in the wrapper methods. The bindings to other languages still use the ModuleProvider concept. It would probably be worth some time to update them to follow the C++ more closely, but I don't intend to do it. Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735. llvm-svn: 94686
-
- Jan 17, 2010
-
-
Chris Lattner authored
having to pass various fields from it in. Simplify. llvm-svn: 93686
-
- Jan 16, 2010
-
-
Chris Lattner authored
llvm-svn: 93664
-
Chris Lattner authored
llvm-svn: 93655
-
Chris Lattner authored
llvm-svn: 93643
-
- Jan 15, 2010
-
-
Nate Begeman authored
Remove most of old Mach-O Writer support, it has been replaced by MCMachOStreamer Further refactoring to completely remove MachOWriter and drive the object file writer with the AsmPrinter MCInst/MCSection logic is forthcoming. llvm-svn: 93527
-
- Jan 11, 2010
-
-
Benjamin Kramer authored
- getToken is modeled after StringRef::split but it can split on multiple separator chars and skips leading seperators. - SplitString is a StringRef::split variant for more than 2 elements with the same behaviour as getToken. llvm-svn: 93161
-
- Nov 25, 2009
-
-
Viktor Kutuzov authored
Rollback changes r89516: Added two SubtargetFeatures::AddFeatures methods, which accept a comma-separated string or already parsed command line parameters as input, and some code re-factoring to use these new methods. llvm-svn: 89893
-
- Nov 21, 2009
-
-
Viktor Kutuzov authored
Added two SubtargetFeatures::AddFeatures methods, which accept a comma-separated string or already parsed command line parameters as input, and some code re-factoring to use these new methods. llvm-svn: 89516
-
- Nov 18, 2009
-
-
Viktor Kutuzov authored
Added getDefaultSubtargetFeatures method to SubtargetFeatures class which returns a correct feature string for given triple. llvm-svn: 89236
-
- Nov 17, 2009
-
-
Viktor Kutuzov authored
Added getArchNameForAssembler method to the Triple class for which returns OS and Vendor independent target assembler arch. llvm-svn: 89122
-
- Aug 25, 2009
-
-
Dan Gohman authored
llvm-svn: 80013
-
Dan Gohman authored
This is conventional command-line tool behavior. -f now just means "enable binary output on terminals". Add a -f option to llvm-extract and llvm-link, for consistency. Remove F_Force from raw_fd_ostream and enable overwriting and truncating by default. Introduce an F_Excl flag to permit users to enable a failure when the file already exists. This flag is currently unused. Update Makefiles and documentation accordingly. llvm-svn: 79990
-
- Aug 24, 2009
-
-
Chris Lattner authored
forcing them down into various .cpp files. This change also: 1. Renames TimeValue::toString() and Path::toString() to ::str() for similarity with the STL. 2. Removes all stream insertion support for sys::Path, forcing clients to call .str(). 3. Removes a use of Config/alloca.h from bugpoint, using smallvector instead. 4. Weans llvm-db off <iostream> sys::Path really needs to be gutted, but I don't have the desire to do it at this point. llvm-svn: 79869
-
- Aug 23, 2009
-
-
Chris Lattner authored
change the raw_ostream one to take the raw_ostream byref instead of byptr. Prune #includes, eliminate a use of Streams.h llvm-svn: 79863
-
Chris Lattner authored
llvm-svn: 79840
-
Chris Lattner authored
instead of as two bools. Use this to add a F_Append flag which has the obvious behavior. Other unrelated changes conflated into this patch: 1. REmove EH stuff from llvm-dis and llvm-as, the try blocks are dead. 2. Simplify the filename inference code in llvm-as/llvm-dis, because raw_fd_ostream does the right thing with '-'. 3. Switch machine verifier to use raw_ostream instead of ostream (Which is the thing that needed append in the first place). llvm-svn: 79807
-
- Aug 22, 2009
-
-
Chris Lattner authored
llvm-svn: 79763
-
- Aug 13, 2009
-
-
Dan Gohman authored
llvm-svn: 78915
-
- Aug 11, 2009
-
-
Jim Grosbach authored
and short. Well, it's kinda short. Definitely nasty and brutish. The front-end generates the register/unregister calls into the SjLj runtime, call-site indices and landing pad dispatch. The back end fills in the LSDA with the call-site information provided by the front end. Catch blocks are not yet implemented. Built on Darwin and verified no llvm-core "make check" regressions. llvm-svn: 78625
-
- Aug 04, 2009
-
-
Daniel Dunbar authored
llvm-svn: 78047
-