- Jan 26, 2010
-
-
Duncan Sands authored
to append a newline when using setModuleInlineAsm in case later someone calls appendModuleInlineAsm - make newline handling fully automatic. In case anyone is wondering there is only one user of appendModuleInlineAsm: the dragonegg plugin. llvm-svn: 94539
-
Torok Edwin authored
With the previous cleanup to configure.ac, configure is now only 393k, instead of 1.1M! llvm-svn: 94535
-
Torok Edwin authored
HAVE_{BI,STD,FWD}_ITERATOR and HAVE_NAMESPACES were not used in the code. bison and flex are no longer used. CAN_DLOPEN_SELF was never used either. AC_PROG_LIBTOOL is not needed since we don't use libtool, we only need the libltdl checks for dlopen. Add check for AR, it used to be done by AC_PROG_LIBTOOL. AC_TYPE_SIGNAL is deprecated, follow autoupdate's suggestion and replace with void. Remove unused m4 files. Configure can now be generated using autoconf 2.65 too, without any warnings! llvm-svn: 94534
-
Torok Edwin authored
llvm-svn: 94533
-
Bill Wendling authored
llvm-svn: 94532
-
John McCall authored
llvm-svn: 94531
-
John McCall authored
This solution relies on an O(n) scan of redeclarations, which means it might scale poorly in crazy cases with tons of redeclarations brought in by a ton of distinct associated namespaces. I believe that avoiding this is not worth the common-case cost. llvm-svn: 94530
-
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
-
Chandler Carruth authored
type when that type is 64 bits wide, and the 'long long' type when 'long' is only 32 bits wide. This fixes PR6108. Also adds a bunch of test cases to ensure proper conversion between equally sized standard types and mode-specified types on both 32 and 64 bit targets. llvm-svn: 94527
-
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
-