- Jul 15, 2009
-
-
Chris Lattner authored
llvm-svn: 75742
-
Chris Lattner authored
doing it with printSuffixedName. llvm-svn: 75741
-
Daniel Dunbar authored
Targets implement a single global Target structure which will live in a new <Target>/TargetInfo library; this will be present in any image which the target is usable in. - Optional target specific classes can then be registered and attached to the Target description. - Registration for normal Targets will be done via the initialization functions instead of using static constructors. - This allows clients to use a single interface to obtain target data, without requiring the code generator be linked in. It also provides a natural extension point for adding new optional target data (assembler parser, disassembler, etc.). - This also provides a new entry point for obtaining a target for a particular triple (without a module). - Not yet used, however this should eventually replace the TargetMachineRegistry. llvm-svn: 75739
-
Chris Lattner authored
symbols were not getting stubs. While I'm at it, add a big testcase for stub generation to make sure I don't break anything. llvm-svn: 75737
-
Chris Lattner authored
with the mangler (like x86 and ppc), instead of going through printSuffixedName. llvm-svn: 75736
-
Chris Lattner authored
llvm-svn: 75734
-
Chris Lattner authored
using horrible string hacking. This gives us a different label, but it's just an assembler temporary, so the name doesn't matter. llvm-svn: 75733
-
Chris Lattner authored
llvm-svn: 75732
-
Chris Lattner authored
Mangler in FnStubs. llvm-svn: 75731
-
Chris Lattner authored
a couple instances of printSuffixedName (in favor of having the mangler do stuff). llvm-svn: 75729
-
Chris Lattner authored
printSuffixedName automatically does this. llvm-svn: 75727
-
Dan Gohman authored
llvm-svn: 75723
-
Dan Gohman authored
and use this to simplify more code. llvm-svn: 75722
-
Chris Lattner authored
llvm-svn: 75721
-
Chris Lattner authored
reference to the personality function for a module, and those are all added to the GVStubs array by looping over MMI->getPersonalities() llvm-svn: 75720
-
Chris Lattner authored
eliminates a bunch of uses of "printSuffixedName" and "getGlobalLinkName". llvm-svn: 75719
-
Chris Lattner authored
before each one. llvm-svn: 75718
-
Kevin Enderby authored
llvm-svn: 75711
-
Chris Lattner authored
llvm-svn: 75707
-
Owen Anderson authored
llvm-svn: 75703
-
Daniel Dunbar authored
llvm-svn: 75697
-
- Jul 14, 2009
-
-
Bruno Cardoso Lopes authored
llvm-svn: 75687
-
Bob Wilson authored
llvm-svn: 75686
-
Kevin Enderby authored
llvm-svn: 75685
-
David Goodwin authored
llvm-svn: 75683
-
Dan Gohman authored
the operands have pointer type, so that the resulting type matches the original SCEV type, and so that unnecessary ptrtoints are avoided in common cases. llvm-svn: 75680
-
Ted Kremenek authored
llvm-svn: 75677
-
Chris Lattner authored
llvm-svn: 75673
-
Chris Lattner authored
MOV32r0 + subregs to do the same thing. This should work now that PR4544 is fixed. Thanks Evan! llvm-svn: 75671
-
David Greene authored
Have asm printers use formatted_raw_ostream directly to avoid a dynamic_cast<>. llvm-svn: 75670
-
Ted Kremenek authored
llvm-svn: 75666
-
David Goodwin authored
llvm-svn: 75660
-
Bob Wilson authored
llvm-svn: 75658
-
Torok Edwin authored
For now this only computes the allocated size of the memory pointed to by a pointer, and offset a pointer from allocated pointer. The actual checkLimits part will come later, after another round of review. llvm-svn: 75657
-
Bill Wendling authored
llvm-svn: 75652
-
Chris Lattner authored
additional bug fixes: 1. The bug that everyone hit was a problem in the asmprinter where it would remove $stub but keep the L prefix on a name when emitting the indirect symbol. This is easy to fix by keeping the name of the stub and the name of the symbol in a StringMap instead of just keeping a StringSet and trying to reconstruct it late. 2. There was a problem printing the personality function. The current logic to print out the personality function from the DWARF information is a bit of a cesspool right now that duplicates a bunch of other logic in the asm printer. The short version of it is that it depends on emitting both the L and _ prefix for symbols (at least on darwin) and until I can untangle it, it is best to switch the mangler back to emitting both prefixes. llvm-svn: 75646
-
Kevin Enderby authored
llvm-svn: 75645
-
Dale Johannesen authored
llvm-svn: 75642
-
Torok Edwin authored
This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640
-
Daniel Dunbar authored
--- Reverse-merging r75619 into '.': U lib/Target/DarwinTargetAsmInfo.cpp U lib/CodeGen/AsmPrinter/AsmPrinter.cpp --- Reverse-merging r75618 into '.': U lib/CodeGen/ELFWriter.cpp U lib/CodeGen/MachOCodeEmitter.cpp U lib/CodeGen/MachOWriter.cpp --- Reverse-merging r75617 into '.': U lib/Target/CBackend/CBackend.cpp --- Reverse-merging r75616 into '.': U tools/bugpoint/Miscompilation.cpp U tools/lto/LTOCodeGenerator.cpp U tools/lto/LTOModule.cpp llvm-svn: 75638
-