- Jul 14, 2009
-
-
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
-
Daniel Dunbar authored
--- Reverse-merging r75615 into '.': U lib/Target/XCore/XCoreAsmPrinter.cpp U lib/Target/PIC16/PIC16AsmPrinter.cpp U lib/Target/X86/AsmPrinter/X86IntelAsmPrinter.cpp U lib/Target/MSP430/MSP430AsmPrinter.cpp U lib/Target/IA64/AsmPrinter/IA64AsmPrinter.cpp U lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp U lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp U lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp U lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp U lib/Target/MSIL/MSILWriter.cpp U lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp U lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp llvm-svn: 75637
-
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
-
Dan Gohman authored
users from the Scalars map. llvm-svn: 75634
-
Dan Gohman authored
This results in the pass manager running IVUsers only once for indvars, instead of twice. llvm-svn: 75633
-
Dan Gohman authored
even when they're obvious. llvm-svn: 75632
-
Torok Edwin authored
Fix by making the LLVM_UNREACHABLE pass __FILE__ and __LINE__ to llvm_unreachable. llvm-svn: 75631
-
Torok Edwin authored
llvm-svn: 75630
-
Anton Korobeynikov authored
extension to another bit width. This is needed to get correct singed value. Patch by Artur Pietrek! llvm-svn: 75629
-
Anton Korobeynikov authored
llvm-svn: 75628
-
Daniel Dunbar authored
- Add getExecutionCount(const Function). - Add helper Edge type. - constify. - No functionality change. llvm-svn: 75623
-
Chris Lattner authored
dubious looking things that I need to investigate in more detail. llvm-svn: 75619
-
Chris Lattner authored
llvm-svn: 75618
-
Chris Lattner authored
llvm-svn: 75617
-
Chris Lattner authored
llvm-svn: 75615
-
Bob Wilson authored
llvm-svn: 75611
-
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
-
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
-
Eli Friedman authored
llvm-svn: 75586
-
Evan Cheng authored
2. BX does not "use" the link register, it defines it. 3. Fix a couple more places in thumb td file that still uses pre-UAL syntax. llvm-svn: 75585
-
Dan Gohman authored
function. llvm-svn: 75584
-
Bill Wendling authored
llvm-svn: 75581
-
Dan Gohman authored
block has a single unique exiting block. llvm-svn: 75579
-
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
-
Chris Lattner authored
llvm-svn: 75577
-
David Goodwin authored
llvm-svn: 75576
-
Devang Patel authored
llvm-svn: 75574
-
Evan Cheng authored
Fix pr4544. When remating, make sure the destination register fits the instruction definition. It may be mismatched due to sub-register coalescing. No test case yet because the code doesn't trigger until 75408 is re-applied. llvm-svn: 75572
-
Dale Johannesen authored
xor R, R is a common and valid idiom for zeroing a register, for example. llvm-svn: 75571
-
Dan Gohman authored
llvm-svn: 75568
-
Dan Gohman authored
llvm-svn: 75567
-