- Jul 15, 2009
-
-
Dan Gohman authored
several unwanted dependencies. llvm-svn: 75717
-
Chris Lattner authored
llvm-svn: 75716
-
Kevin Enderby authored
llvm-svn: 75711
-
Owen Anderson authored
llvm-svn: 75703
-
- Jul 14, 2009
-
-
Kevin Enderby authored
llvm-svn: 75685
-
Chris Lattner authored
llvm-svn: 75678
-
Chris Lattner authored
llvm-svn: 75674
-
David Greene authored
Have asm printers use formatted_raw_ostream directly to avoid a dynamic_cast<>. llvm-svn: 75670
-
Chris Lattner authored
llvm-svn: 75664
-
Dan Gohman authored
llvm-svn: 75661
-
Dan Gohman authored
llvm-svn: 75659
-
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
-
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
-
Dan Gohman authored
llvm-svn: 75643
-
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
unbreaking llvm-gcc (on Darwin). --- Reverse-merging r75620 into '.': U include/llvm/Support/Mangler.h --- Reverse-merging r75610 into '.': U test/CodeGen/X86/loop-hoist.ll G include/llvm/Support/Mangler.h U lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp U lib/VMCore/Mangler.cpp llvm-svn: 75636
-
Torok Edwin authored
Fix by making the LLVM_UNREACHABLE pass __FILE__ and __LINE__ to llvm_unreachable. llvm-svn: 75631
-
Daniel Dunbar authored
- Add getExecutionCount(const Function). - Add helper Edge type. - constify. - No functionality change. llvm-svn: 75623
-
Chris Lattner authored
llvm-svn: 75620
-
Bob Wilson authored
llvm-svn: 75613
-
Bob Wilson authored
llvm-svn: 75612
-
Chris Lattner authored
to symbols instead of doing it with "printSuffixedName". This gets us to the point where there is a real separation between computing a symbol name and printing it, something I need for MC printer stuff. This patch also fixes a corner case bug where unnamed private globals wouldn't get the private label prefix. Next up, rename all uses of getValueName -> getMangledName for better greppability, and then tackle the ppc/arm backends to eliminate "printSuffixedName". llvm-svn: 75610
-
Lang Hames authored
llvm-svn: 75609
-
Chris Lattner authored
indicates whether the label is private or not, instead of taking prefix stuff. One effect of this is that symbols will be generated with *just* the private prefix, instead of both the private prefix *and* the user-label-prefix, but this doesn't matter as long as it is consistent. For example we'll now get "Lfoo" instead of "L_foo". These are just assembler temporary labels anyway, so they never even make it into the .o file. llvm-svn: 75607
-
Lang Hames authored
llvm-svn: 75588
-
Lang Hames authored
llvm-svn: 75587
-
Dan Gohman authored
works similar to isLoopInvariant, except that it will do trivial hoisting to try to make the value loop invariant if it isn't already. This makes it easier for transformation passes to clear trivial instructions out of the way (the regular LICM pass doesn't run until relatively late). This is code factored out of LoopSimplify and other places. llvm-svn: 75578
-
Devang Patel authored
llvm-svn: 75574
-
Bob Wilson authored
llvm-svn: 75565
-
Eli Friedman authored
llvm-svn: 75563
-
Chris Lattner authored
descriptive. Thange them to keep track of the ID of a global that is assigned, not the first mangled name returned for it. Without doing this, we are required to always use the same suffix for a global that gets mangled. This means that we can mangle the same global once with $stub and another time with $non_lazy_ptr or whatever. llvm-svn: 75561
-
Owen Anderson authored
llvm-svn: 75559
-
Chris Lattner authored
local symbols and we haven't had type planes since llvm 1.9. llvm-svn: 75558
-
Chris Lattner authored
used with globals. llvm-svn: 75557
-
Owen Anderson authored
llvm-svn: 75546
-
Kevin Enderby authored
llvm-svn: 75545
-
Dan Gohman authored
llvm-svn: 75529
-
Owen Anderson authored
llvm-svn: 75528
-
Dan Gohman authored
and related functions out of LoopBase and into Loop, since they are specific to BasicBlock-based loops. This also allows the code to be moved out-of-line. llvm-svn: 75523
-