- Jan 26, 2010
-
-
Devang Patel authored
llvm-svn: 94587
-
Devang Patel authored
Add extra element to composite type. This new element will be used to record c++ class that holds current class's vtable. llvm-svn: 94586
-
Chris Lattner authored
Default HasSetDirective to true, since most targets have it. The targets that claim to not have it probably do, or it is spelled differently. These include Blackfin, Mips, Alpha, and PIC16. All of these except pic16 are normal ELF targets, so they almost certainly have it. llvm-svn: 94585
-
Evan Cheng authored
llvm-svn: 94583
-
Rafael Espindola authored
Original patch by Sandeep Patel and updated by me. llvm-svn: 94582
-
Chris Lattner authored
that has it. llvm-svn: 94581
-
Chris Lattner authored
llvm-svn: 94580
-
Dan Gohman authored
and clean up some loose ends. llvm-svn: 94572
-
Evan Cheng authored
llvm-svn: 94570
-
Victor Hernandez authored
llvm-svn: 94567
-
Dan Gohman authored
llvm-svn: 94562
-
Dan Gohman authored
llvm-svn: 94560
-
Dan Gohman authored
llvm-svn: 94558
-
Dan Gohman authored
than an iteration count. llvm-svn: 94549
-
Dan Gohman authored
in the case of empty and full ranges. llvm-svn: 94548
-
Dan Gohman authored
wrapping that Duncan pointed out. llvm-svn: 94547
-
Mikhail Glushenkov authored
llvm-svn: 94544
-
Chris Lattner authored
subsumed by TargetLowering::getJumpTableEncoding(). Change uses of it to be more specific. llvm-svn: 94529
-
Chris Lattner authored
inline it into its only caller, allowing us to simplify it and hoist bits out of the loop. llvm-svn: 94528
-
Chris Lattner authored
which is more convenient, and change getPICJumpTableRelocBaseExpr to take a MachineFunction to match. Next, move the X86 code that create a PICBase symbol to X86TargetLowering::getPICBaseSymbol from X86MCInstLower::GetPICBaseSymbol, which was an asmprinter specific library. This eliminates a 'gross hack', and allows us to implement X86ISelLowering::getPICJumpTableRelocBaseExpr which now calls it. This in turn allows us to eliminate the X86AsmPrinter::printPICJumpTableSetLabel method, which was the only overload of printPICJumpTableSetLabel. llvm-svn: 94526
-
Chris Lattner authored
use it to implement the default TargetLowering::getPICJumpTableRelocBaseExpr llvm-svn: 94523
-
Chris Lattner authored
implement it. llvm-svn: 94521
-
Chris Lattner authored
EK_LabelDifference32 kind and the target has .set support. Simplify X86AsmPrinter::printPICJumpTableSetLabel to make use of recent helpers. llvm-svn: 94518
-
Chris Lattner authored
make it private and non-virtual. It handles the non-pic case too, so just use it, simplifying EmitJumpTableInfo. llvm-svn: 94517
-
Chris Lattner authored
jump table entry kind, instead of overloading AsmPrinter::printPICJumpTableEntry. This has a pretty horrible and inefficient FIXME around how @GOTOFF is currently smashed into the mcsymbol name, but otherwise this is much cleaner. llvm-svn: 94516
-
Chris Lattner authored
the AsmPrinter::GetMBBSymbol. llvm-svn: 94515
-
Lang Hames authored
* Fixed a reduction bug which occasionally led to infinite-cost (invalid) register allocation solutions despite the existence finite-cost solutions. * Significantly reduced memory usage (>50% reduction). * Simplified a lot of the solver code. llvm-svn: 94514
-
Dan Gohman authored
have trouble with an intermediate add overflowing. Also, be more conservative about the case where the induction variable in an SLT loop exit can step past the RHS of the SLT and overflow in a single step. Make getSignedRange more aggressive, to recover for some common cases which the above fixes pessimized. This addresses rdar://7561161. llvm-svn: 94512
-
Chris Lattner authored
AsmPrinter::SetupMachineFunction sets it. Note that systemz and msp430 didn't. Yay for reduced inconsistency! :) llvm-svn: 94510
-
Chris Lattner authored
MachineFunctionAnalysis dole them out, instead of having AsmPrinter do both. Have the AsmPrinter::SetupMachineFunction method set the 'AsmPrinter::MF' variable. llvm-svn: 94509
-
Dan Gohman authored
llvm-svn: 94507
-
Dan Gohman authored
llvm-svn: 94506
-
Chris Lattner authored
jump table entries. llvm-svn: 94505
-
Daniel Dunbar authored
llvm-svn: 94502
-
Chris Lattner authored
JITInfo::getPICJumpTableEntry can probably be removed now, but I don't plan to do this. llvm-svn: 94501
-
Chris Lattner authored
instead of magic variables. llvm-svn: 94500
-
Victor Hernandez authored
In mem2reg, for all alloca/stores that get promoted where the alloca has an associated llvm.dbg.declare instrinsic, insert an llvm.dbg.var intrinsic before each store. llvm-svn: 94493
-
Victor Hernandez authored
Add MDNode::getIfExists(), an efficient way to determine if a value is used by metadata (since metadata does not appear in a value's use list) llvm-svn: 94492
-
Victor Hernandez authored
llvm-svn: 94491
-
Evan Cheng authored
llvm-svn: 94490
-