- Sep 16, 2009
-
-
Xerxes Ranby authored
llvm-svn: 82038
-
Chris Lattner authored
stuff common across all macho targets. llvm-svn: 82018
-
Chris Lattner authored
llvm-svn: 82012
-
Chris Lattner authored
we have MCInstPrinter. llvm-svn: 82006
-
Chris Lattner authored
Eliminate the PersonalityPrefix/Suffix & NeedsIndirectEncoding fields from MAI: they aren't part of the asm syntax, they are related to the structure of the object file. To replace their functionality, add a new TLOF::getSymbolForDwarfGlobalReference method which asks targets to decide how to reference a global from EH in a pc-relative way. The default implementation just returns the symbol. The default darwin implementation references the symbol through an indirect $non_lazy_ptr stub. The bizarro x86-64 darwin specialization handles the weird "foo@GOTPCREL+4" hack. DwarfException.cpp now uses this to emit the reference to the symbol in the right way, and this also eliminates another horrible hack from DwarfException.cpp: - if (strcmp(MAI->getPersonalitySuffix(), "+4@GOTPCREL")) - O << "-" << MAI->getPCSymbol(); llvm-svn: 81991
-
Chris Lattner authored
llvm-svn: 81970
-
Chris Lattner authored
one implementation into its one caller. This eliminates a totally awesome and gratuitous hack where we casted a Function* to GlobalVariable*. llvm-svn: 81967
-
Chris Lattner authored
it into all of its call sites and simplifying them. llvm-svn: 81962
-
Chris Lattner authored
llvm-svn: 81946
-
Chris Lattner authored
llvm-svn: 81942
-
Chris Lattner authored
move MachineFunctionInfo virtual method out of line to give it a home. llvm-svn: 81940
-
Nate Begeman authored
SVOffsets. llvm-svn: 81937
-
- Sep 15, 2009
-
-
Eric Christopher authored
llvm-svn: 81928
-
Daniel Dunbar authored
llvm-svn: 81909
-
Nate Begeman authored
Better solution for tracking both the original alignment of the access, and the current alignment based on the source value offset. This avoids increasing the size of mem nodes. llvm-svn: 81897
-
Evan Cheng authored
Another try at early partial coalescing. Identity phi source copies (their sources are defined by phi join def) are coalesced. And the phi join copy is backward copy propagated into the other copies. Still miscompiling some tests. :-( llvm-svn: 81849
-
Nate Begeman authored
llvm-svn: 81819
-
Nate Begeman authored
1. Switch from an std::set to a SmallPtrSet for visited chain nodes. 2. Do not force the recursive flattening of token factor nodes, regardless of use count. 3. Immediately process newly created TokenFactor nodes. Also, improve combiner-aa by teaching it that loads to non-overlapping offsets of relatively aligned objects cannot alias. These changes result in a >5x speedup for combiner-aa on most testcases. llvm-svn: 81816
-
Nate Begeman authored
it splits them. llvm-svn: 81815
-
Nate Begeman authored
DAG Combiner to disambiguate chains for loads and stores of types which are broken up by the Legalizer into smaller pieces. llvm-svn: 81813
-
- Sep 14, 2009
-
-
Evan Cheng authored
Add early coalescing to liveintervals. This is work in progress and is known to miscompute some tests. Read it at your own rish, I have aged 10 year while writing this. The gist of this is if source of some of the copies that feed into a phi join is defined by the phi join, we'd like to eliminate them. However, if any of the non-identity source overlaps the live interval of the phi join then the coalescer won't be able to coalesce them. The early coalescer's job is to eliminate the identity copies by partially-coalescing the two live intervals. llvm-svn: 81796
-
Bill Wendling authored
created once, so shouldn't be stuck in the middle of the loop. Also early exit if there are no uses of UnwindInst in the function. llvm-svn: 81785
-
Chris Lattner authored
llvm-svn: 81755
-
Chris Lattner authored
full AsmPrinter, and change TargetRegistry to keep track of registered MCInstPrinters. llvm-mc is still linking in the entire target foo to get the code emitter stuff, but this is an important step in the right direction. llvm-svn: 81754
-
Chris Lattner authored
llvm-svn: 81727
-
- Sep 13, 2009
-
-
Chris Lattner authored
llvm-svn: 81705
-
Chris Lattner authored
has real information about linker private linkage. llvm-svn: 81695
-
Chris Lattner authored
now that printBasicBlockLabel is only used for starting a MBB. This allows elimination of a bunch of arguments. llvm-svn: 81684
-
Chris Lattner authored
instead. llvm-svn: 81677
-
Chris Lattner authored
Move GetMBBSymbol up to AsmPrinter and make printBasicBlockLabel use it so that we only have one place that decides what to name bb labels. Hopefully various clients of printBasicBlockLabel can start using GetMBBSymbol instead. llvm-svn: 81652
-
- Sep 12, 2009
-
-
Lang Hames authored
llvm-svn: 81605
-
Evan Cheng authored
llvm-svn: 81600
-
Evan Cheng authored
llvm-svn: 81598
-
- Sep 11, 2009
-
-
Caroline Tice authored
llvm-svn: 81542
-
Duncan Sands authored
object, the timer it creates was not being deleted. Since the timer belonged to a static timer group, the timer group would be destroyed on shutdown, and would notice and complain that not all timers it contained were destroyed. llvm-svn: 81533
-
Dan Gohman authored
llvm-svn: 81493
-
Dan Gohman authored
isn't legal. llvm-svn: 81492
-
Bob Wilson authored
post-decrement load/store. llvm-svn: 81464
-
- Sep 10, 2009
-
-
Bill Wendling authored
llvm-svn: 81454
-
Bill Wendling authored
llvm-svn: 81436
-