- Jan 26, 2010
-
-
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
-
Anders Carlsson authored
If a global variable has an initializer with side effects, it can never be deferred (even if it's in an anonymous namespace). llvm-svn: 94525
-
John McCall authored
about interaction between ADL and default arguments. Shrug shoulders, commit. llvm-svn: 94524
-
Chris Lattner authored
use it to implement the default TargetLowering::getPICJumpTableRelocBaseExpr llvm-svn: 94523
-
Chandler Carruth authored
llvm-svn: 94522
-
Chris Lattner authored
implement it. llvm-svn: 94521
-
Anders Carlsson authored
llvm-svn: 94520
-
Anders Carlsson authored
Fix the test I broke, and also fix a crash when declaring a virtual destructor. Add debug info support for pure virtual member functions. llvm-svn: 94519
-
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
-
Anders Carlsson authored
llvm-svn: 94513
-
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
-
Anders Carlsson authored
llvm-svn: 94511
-
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
-
Chris Lattner authored
llvm-svn: 94508
-
Dan Gohman authored
llvm-svn: 94507
-
Dan Gohman authored
llvm-svn: 94506
-
Chris Lattner authored
jump table entries. llvm-svn: 94505
-
Anders Carlsson authored
llvm-svn: 94504
-
Daniel Dunbar authored
llvm-svn: 94503
-
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
-
Mike Stump authored
multiple inheritance cases. WIP. This fixes 20% of the outstanding problems found by the randomized tester. llvm-svn: 94499
-
John McCall authored
general refactoring in operator resolution. llvm-svn: 94498
-
Douglas Gregor authored
source location in file + offset. llvm-svn: 94497
-
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
-
Dale Johannesen authored
llvm-svn: 94489
-
Daniel Dunbar authored
llvm-svn: 94488
-
Daniel Dunbar authored
Driver/Darwin: Stuff iPhoneOS into environment portion of the (llvm/clang) triple instead of keying off architecture. Also, fix version define to properly include the revision/micro component of the version number. llvm-svn: 94487
-
John McCall authored
llvm-svn: 94485
-
Jeffrey Yasskin authored
lack of RTTI. llvm-svn: 94484
-
Sean Callanan authored
TargetAsmLexer. llvm-svn: 94482
-