- Jul 14, 2011
-
-
Evan Cheng authored
TargetAsmInfo, which in turn pulls in TargetRegisterInfo, etc. :-( There are other cases of violations, but this is probably the worst. This patch is but one small step towards fixing this. 500 more steps to go. :-( llvm-svn: 135131
-
- Jul 12, 2011
-
-
Cameron Zwarich authored
llvm-svn: 134930
-
- Jul 09, 2011
-
-
Evan Cheng authored
CPU, and feature string. Parsing some asm directives can change subtarget state (e.g. .code 16) and it must be reflected in other modules (e.g. MCCodeEmitter). That is, the MCSubtargetInfo instance must be shared. llvm-svn: 134795
-
- Jul 08, 2011
-
-
Evan Cheng authored
- Each target asm parser now creates its own MCSubtatgetInfo (if needed). - Changed AssemblerPredicate to take subtarget features which tablegen uses to generate asm matcher subtarget feature queries. e.g. "ModeThumb,FeatureThumb2" is translated to "(Bits & ModeThumb) != 0 && (Bits & FeatureThumb2) != 0". llvm-svn: 134678
-
- Jun 30, 2011
-
-
Evan Cheng authored
be the first encoded as the first feature. It then uses the CPU name to look up features / scheduling itineray even though clients know full well the CPU name being used to query these properties. The fix is to just have the clients explictly pass the CPU name! llvm-svn: 134127
-
- Jun 29, 2011
-
-
Evan Cheng authored
llvm-svn: 134049
-
- Jun 28, 2011
-
-
Chad Rosier authored
character in std::string was causing failures for a few ObjC and Obj-C++ tests when -flto was enabled. Revision 133999 resolved this issue. Thanks Jay! rdar://9685235 PR10210 llvm-svn: 134017
-
Jay Foad authored
avoid getting embedded trailing null bytes in std::strings. llvm-svn: 133999
-
Chad Rosier authored
This was causing compile-time failures for some of the Objc and Obj-C++ benchmarks. The specific errors were of the form: "ld: duplicate symbol …" rdar://9660124 llvm-svn: 133955
-
- Jun 21, 2011
-
-
Jay Foad authored
llvm-svn: 133516
-
- May 01, 2011
-
-
Rafael Espindola authored
for all symbol differences and can drop the old EmitPCRelSymbolValue method. This also make getExprForFDESymbol on ELF equal to the one on MachO, and it can be made non-virtual. llvm-svn: 130634
-
- Apr 22, 2011
-
-
Rafael Espindola authored
llvm-svn: 129955
-
- Apr 21, 2011
-
-
Nick Lewycky authored
llvm-svn: 129902
-
- Mar 18, 2011
-
-
Rafael Espindola authored
'ar'. Have to figure out how to make libLTO even lazier. llvm-svn: 127901
-
Rafael Espindola authored
functions and initializers, just report the declarations present in the module. The motivation is to open the way for using the lazy module parsing, which should speed up clients that just want a symbol list (nm, ar). This is slightly less precise, but since both -strip-dead-prototypes and -globaldce are part of the standard pipeline, this shouldn't change the result for clang/dragonegg produced binaries. Any decl in an IL file was also put there because a FE expected it to be necessary, so this should not be a problem for "-O0 -emit-llvm". As a sanity check, I have bootstrapped clang on linux and built firefox on both linux and darwin. A clang bootstrap on darwin with LTO fails with or without this patch because, ironically, the linker doesn't like the combination of dead_strip and LTO when building libLTO.so :-) llvm-svn: 127870
-
NAKAMURA Takumi authored
llvm-svn: 127859
-
- Mar 17, 2011
-
-
Rafael Espindola authored
instead of copying. llvm-svn: 127835
-
Rafael Espindola authored
of an file. llvm-svn: 127781
-
- Mar 02, 2011
-
-
Rafael Espindola authored
uses. The result produced by the streamer is used to give the linker more accurate information and to add to llvm.compiler.used. The second improvement removes the need for the user to add __attribute__((used)) to functions only used in inline asm. The first one lets us build firefox with LTO on Darwin :-) llvm-svn: 126830
-
- Feb 20, 2011
-
-
Rafael Espindola authored
libxul links in 7m0.403s. llvm-svn: 126085
-
- Feb 11, 2011
-
-
Rafael Espindola authored
llvm-svn: 125363
-
- Feb 08, 2011
-
-
Rafael Espindola authored
MemoryBuffer::getOpenFile to not close the file descriptor. llvm-svn: 125128
-
- Feb 01, 2011
-
-
Rafael Espindola authored
complain about duplicated definitions. llvm-svn: 124634
-
- Dec 16, 2010
-
-
Michael J. Spencer authored
llvm-svn: 121958
-
- Dec 10, 2010
-
-
Rafael Espindola authored
llvm-svn: 121471
-
Rafael Espindola authored
llvm-svn: 121461
-
Rafael Espindola authored
f: .cfi_startproc nop .cfi_endproc assembled (on ELF). llvm-svn: 121434
-
- Dec 09, 2010
-
-
Michael J. Spencer authored
llvm-svn: 121387
-
- Nov 29, 2010
-
-
Michael J. Spencer authored
llvm-svn: 120304
-
- Oct 20, 2010
-
-
Rafael Espindola authored
llvm-svn: 116910
-
- Oct 06, 2010
-
-
Bill Wendling authored
drastically reduce the linking time during LTO. Patch by Shantonu Sen! llvm-svn: 115728
-
- Sep 27, 2010
-
-
Bill Wendling authored
"linker_private_weak_auto_def" linkage type for LTO. llvm-svn: 114868
-
Bill Wendling authored
during LTO. llvm-svn: 114850
-
- Aug 11, 2010
-
-
Daniel Dunbar authored
from inline assembly, except in cases where they had already been seen (in which case they would get added twice). - I can't see how this ever worked... llvm-svn: 110757
-
Daniel Dunbar authored
llvm-svn: 110756
-
Daniel Dunbar authored
llvm-svn: 110752
-
Daniel Dunbar authored
llvm-svn: 110751
-
- Aug 09, 2010
-
-
Rafael Espindola authored
gold plugin. llvm-svn: 110604
-
- 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
-
- Apr 06, 2010
-
-
Chris Lattner authored
a co-committed clang patch. llvm-svn: 100485
-