- Aug 02, 2011
-
-
Rafael Espindola authored
llvm-svn: 136727
-
Rafael Espindola authored
but it solves a layering violation since things in Support are not supposed to use things in Transforms. llvm-svn: 136726
-
- Jul 29, 2011
-
-
Douglas Gregor authored
llvm-svn: 136463
-
Chandler Carruth authored
specified in the same file that the library itself is created. This is more idiomatic for CMake builds, and also allows us to correctly specify dependencies that are missed due to bugs in the GenLibDeps perl script, or change from compiler to compiler. On Linux, this returns CMake to a place where it can relably rebuild several targets of LLVM. I have tried not to change the dependencies from the ones in the current auto-generated file. The only places I've really diverged are in places where I was seeing link failures, and added a dependency. The goal of this patch is not to start changing the dependencies, merely to move them into the correct location, and an explicit form that we can control and change when necessary. This also removes a serialization point in the build because we don't have to scan all the libraries before we begin building various tools. We no longer have a step of the build that regenerates a file inside the source tree. A few other associated cleanups fall out of this. This isn't really finished yet though. After talking to dgregor he urged switching to a single CMake macro to construct libraries with both sources and dependencies in the arguments. Migrating from the two macros to that style will be a follow-up patch. Also, llvm-config is still generated with GenLibDeps.pl, which means it still has slightly buggy dependencies. The internal CMake 'llvm-config-like' macro uses the correct explicitly specified dependencies however. A future patch will switch llvm-config generation (when using CMake) to be based on these deps as well. This may well break Windows. I'm getting a machine set up now to dig into any failures there. If anyone can chime in with problems they see or ideas of how to solve them for Windows, much appreciated. llvm-svn: 136433
-
- Jul 26, 2011
-
-
Evan Cheng authored
llvm-svn: 136115
-
Nick Lewycky authored
and Jeffrey Bosboom! llvm-svn: 136066
-
Evan Cheng authored
llvm-svn: 136031
-
Evan Cheng authored
Rename TargetAsmParser to MCTargetAsmParser and TargetAsmLexer to MCTargetAsmLexer; rename createAsmLexer to createMCAsmLexer and createAsmParser to createMCAsmParser. llvm-svn: 136027
-
Evan Cheng authored
llvm-svn: 136010
-
Benjamin Kramer authored
I will save before I commit. I will save before I commit. I will save before I commit. llvm-svn: 136007
-
Benjamin Kramer authored
llvm-svn: 136000
-
- Jul 25, 2011
-
-
Evan Cheng authored
llvm-svn: 135974
-
Nick Lewycky authored
llvm-svn: 135971
-
Evan Cheng authored
llvm-svn: 135963
-
Oscar Fuentes authored
Patch by arrowdodger! llvm-svn: 135919
-
Oscar Fuentes authored
Patch by arrowdodger! llvm-svn: 135918
-
- Jul 23, 2011
-
-
Evan Cheng authored
llvm-svn: 135833
-
- Jul 22, 2011
-
-
Evan Cheng authored
InitializeX86MCInstrInfo, etc. are combined into InitializeX86TargetMC. llvm-svn: 135812
-
Benjamin Kramer authored
llvm-svn: 135787
-
Benjamin Kramer authored
In "normal" code these only happen when disassembling data, so we won't lose anything if we just drop them. llvm-svn: 135786
-
Chandler Carruth authored
the Support library. Now its part of the TargetRegistry, and the three commands that care about this explicitly register this extra bit of version information. The set of commands which care was computed by intersecting those which use the Support library's version string printing and those that initialize all the registered targets in a way that produces a meaningful list. The only odd ball out is that 'clang -cc1as -version' no longer prints the registered targets. I don't think anyone is really interested in that (especially as the fact that llvm-mc does so is under a FIXME), but if someone really does want this back I'll happily apply the same patch there. llvm-svn: 135757
-
- Jul 21, 2011
-
-
Jay Foad authored
ConstantExpr::getInBoundsGetElementPtr to use ArrayRef. llvm-svn: 135673
-
- Jul 20, 2011
-
-
Francois Pichet authored
Unbreak the MSVC build. Since the "next" function already exists in the MSVC headers, we need the explicit llvm:: qualifier to prevent a conflict. llvm-svn: 135623
-
Evan Cheng authored
There is still a bit more refactoring left to do in Targets. But we are now very close to fixing all the layering issues in MC. llvm-svn: 135611
-
Benjamin Kramer authored
llvm-svn: 135609
-
Benjamin Kramer authored
- Not great yet, but it's a start. - Requires an object file with a symbol table. (I really want to fix this, but it'll need a whole new algorithm) - ELF and COFF won't work at the moment due to libObject shortcomings. To try it out run $ llvm-objdump -d --cfg foo.o This will create a graphviz file for every symbol in the object file's text section containing a CFG. llvm-svn: 135608
-
Evan Cheng authored
- Introduce JITDefault code model. This tells targets to set different default code model for JIT. This eliminates the ugly hack in TargetMachine where code model is changed after construction. llvm-svn: 135580
-
Evan Cheng authored
TargetLoweringObjectFileImpl down to MCObjectFileInfo. TargetAsmInfo is done to one last method. It's *almost* gone! llvm-svn: 135569
-
Benjamin Kramer authored
llvm-svn: 135533
-
- 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
-
Evan Cheng authored
llvm-svn: 135369
-
- Jul 15, 2011
-
-
Benjamin Kramer authored
llvm-svn: 135289
-
Jay Foad authored
llvm-svn: 135265
-
Evan Cheng authored
Rename createAsmInfo to createMCAsmInfo and move registration code to MCTargetDesc to prepare for next round of changes. llvm-svn: 135219
-
Douglas Gregor authored
available when Clang is found within the LLVM tree. If enabled (the default), Clang will be built as part of LLVM. If disabled, Clang will be skipped... and can be built by configuring a separate object directory just for Clang. This helps break up the monolithic LLVM+Clang project that many Clang developers use, improving build/load times. llvm-svn: 135218
-
- 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 13, 2011
-
-
Evan Cheng authored
llvm-svn: 135059
-
Evan Cheng authored
It's not safe to fold (fptrunc (sqrt (fpext x))) to (sqrtf x) if there is another use of sqrt. rdar://9763193 llvm-svn: 135058
-