- Jul 19, 2011
-
-
Evan Cheng authored
(including compilation, assembly). Move relocation model Reloc::Model from TargetMachine to MCCodeGenInfo so it's accessible even without TargetMachine. llvm-svn: 135468
-
- Jul 18, 2011
-
-
Evan Cheng authored
to MCRegisterInfo. Also initialize the mapping at construction time. This patch eliminate TargetRegisterInfo from TargetAsmInfo. It's another step towards fixing the layering violation. llvm-svn: 135424
-
Chris Lattner authored
llvm-svn: 135375
-
- Jul 15, 2011
-
-
Evan Cheng authored
Rename createAsmInfo to createMCAsmInfo and move registration code to MCTargetDesc to prepare for next round of changes. llvm-svn: 135219
-
- 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 22, 2011
-
-
Chris Lattner authored
llvm-svn: 131821
-
- 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
-
- Apr 15, 2011
-
-
Chris Lattner authored
Luis Felipe Strano Moraes! llvm-svn: 129558
-
- Apr 01, 2011
-
-
Devang Patel authored
Patch by arrowdoger. llvm-svn: 128719
-
- Mar 29, 2011
-
-
Devang Patel authored
llvm-svn: 128440
-
- Mar 22, 2011
-
-
Rafael Espindola authored
memory and writing it back to disk. llvm-svn: 128108
-
Rafael Espindola authored
llvm-svn: 128098
-
- 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 12, 2011
-
-
Oscar Fuentes authored
llvm-svn: 127553
-
Oscar Fuentes authored
llvm-svn: 127549
-
Oscar Fuentes authored
llvm-svn: 127545
-
- Mar 11, 2011
-
-
Oscar Fuentes authored
other systems pending. PR9456. llvm-svn: 127466
-
- 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 24, 2011
-
-
Rafael Espindola authored
6m30. llvm-svn: 126426
-
- Feb 20, 2011
-
-
Rafael Espindola authored
libxul links in 7m0.403s. llvm-svn: 126085
-
- Feb 12, 2011
-
-
Rafael Espindola authored
llvm-svn: 125439
-
Rafael Espindola authored
llvm-svn: 125420
-
- 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
-