| Commit message (Collapse) | Author | Age | Files | Lines | 
| ... |  | 
| | 
| 
| 
|  | 
llvm-svn: 75683
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
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
 | 
| | 
| 
| 
|  | 
llvm-svn: 75678
 | 
| | 
| 
| 
|  | 
llvm-svn: 75677
 | 
| | 
| 
| 
|  | 
llvm-svn: 75674
 | 
| | 
| 
| 
|  | 
llvm-svn: 75673
 | 
| | 
| 
| 
| 
| 
| 
|  | 
MOV32r0 + subregs to do the same thing.  This should work now
that PR4544 is fixed.  Thanks Evan!
llvm-svn: 75671
 | 
| | 
| 
| 
| 
| 
|  | 
dynamic_cast<>.
llvm-svn: 75670
 | 
| | 
| 
| 
|  | 
llvm-svn: 75669
 | 
| | 
| 
| 
|  | 
llvm-svn: 75667
 | 
| | 
| 
| 
|  | 
llvm-svn: 75666
 | 
| | 
| 
| 
|  | 
llvm-svn: 75665
 | 
| | 
| 
| 
|  | 
llvm-svn: 75664
 | 
| | 
| 
| 
|  | 
llvm-svn: 75663
 | 
| | 
| 
| 
|  | 
llvm-svn: 75661
 | 
| | 
| 
| 
|  | 
llvm-svn: 75660
 | 
| | 
| 
| 
|  | 
llvm-svn: 75659
 | 
| | 
| 
| 
|  | 
llvm-svn: 75658
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
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
 | 
| | 
| 
| 
|  | 
llvm-svn: 75655
 | 
| | 
| 
| 
|  | 
llvm-svn: 75652
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
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
 | 
| | 
| 
| 
|  | 
llvm-svn: 75645
 | 
| | 
| 
| 
|  | 
llvm-svn: 75644
 | 
| | 
| 
| 
|  | 
llvm-svn: 75643
 | 
| | 
| 
| 
|  | 
llvm-svn: 75642
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
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
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
--- 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
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
--- 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
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
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
 | 
| | 
| 
| 
| 
| 
|  | 
users from the Scalars map.
llvm-svn: 75634
 | 
| | 
| 
| 
| 
| 
| 
|  | 
This results in the pass manager running IVUsers only once for
indvars, instead of twice.
llvm-svn: 75633
 | 
| | 
| 
| 
| 
| 
|  | 
even when they're obvious.
llvm-svn: 75632
 | 
| | 
| 
| 
| 
| 
| 
|  | 
Fix by making the LLVM_UNREACHABLE pass __FILE__ and __LINE__ to
llvm_unreachable.
llvm-svn: 75631
 | 
| | 
| 
| 
|  | 
llvm-svn: 75630
 | 
| | 
| 
| 
| 
| 
| 
|  | 
extension to another bit width. This is needed to get correct singed value.
Patch by Artur Pietrek!
llvm-svn: 75629
 | 
| | 
| 
| 
|  | 
llvm-svn: 75628
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
- To support using the ProfileInfo analysis results instead of accessing the
   ProfileInfoLoader directly.
 - Based on (part of) a patch by Andreas Neustifter.
 - No functionality change.
llvm-svn: 75625
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
- Add getExecutionCount(const Function).
 - Add helper Edge type.
 - constify.
 - No functionality change.
llvm-svn: 75623
 | 
| | 
| 
| 
|  | 
llvm-svn: 75621
 | 
| | 
| 
| 
|  | 
llvm-svn: 75620
 | 
| | 
| 
| 
| 
| 
|  | 
dubious looking things that I need to investigate in more detail.
llvm-svn: 75619
 | 
| | 
| 
| 
|  | 
llvm-svn: 75618
 | 
| | 
| 
| 
|  | 
llvm-svn: 75617
 | 
| | 
| 
| 
|  | 
llvm-svn: 75616
 | 
| | 
| 
| 
|  | 
llvm-svn: 75615
 | 
| | 
| 
| 
|  | 
llvm-svn: 75613
 | 
| | 
| 
| 
|  | 
llvm-svn: 75612
 | 
| | 
| 
| 
|  | 
llvm-svn: 75611
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
"$non_lazy_ptr"
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
 |