- Aug 18, 2011
-
-
John Criswell authored
llvm-svn: 137913
-
- Aug 17, 2011
-
-
Owen Anderson authored
Allow the MCDisassembler to return a "soft fail" status code, indicating an instruction that is disassemblable, but invalid. Only used for ARM UNPREDICTABLE instructions at the moment. Patch by James Molloy. llvm-svn: 137830
-
- Aug 16, 2011
-
-
Jim Grosbach authored
The argument is unused, and is a layering violation in any case. llvm-svn: 137735
-
- Aug 12, 2011
-
-
Nick Lewycky authored
llvm-svn: 137467
-
Duncan Sands authored
when building with assertions disabled. llvm-svn: 137460
-
- Aug 08, 2011
-
-
Benjamin Kramer authored
Add MCInstrAnalysis class. This allows the targets to specify own versions of MCInstrDescs functions. - Add overrides for ARM. - Teach llvm-objdump to use this instead of plain MCInstrDesc. llvm-svn: 137059
-
Benjamin Kramer authored
- Indent simple loops - Print unreachable blocks as .byte directives llvm-svn: 137058
-
Benjamin Kramer authored
This way we can avoid printing unreachable code (data). llvm-svn: 137057
-
- Aug 04, 2011
-
-
Bill Wendling authored
This is some of my original LLVM code. *wipes tear* llvm-svn: 136821
-
- Aug 03, 2011
-
-
Evan Cheng authored
llvm-svn: 136814
-
Evan Cheng authored
llvm-svn: 136738
-
- 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
-