- Jan 26, 2010
-
-
Jakob Stoklund Olesen authored
A GEP with all constant indices is already considered free by analyzeBasicBlock(), so don't give it an extra bonus in CountCodeReductionForAlloca(). This patch should remove a small positive bias toward inlining functions with variable-index GEPs, and remove a smaller negative bias from functions with all-constant index GEPs. llvm-svn: 94591
-
Jakob Stoklund Olesen authored
Functions containing indirectbr are marked NeverInline by analyzeBasicBlock(), so there is no point in giving indirectbr special treatment in CountCodeReductionForConstant. It is never called. No functional change intended. llvm-svn: 94590
-
Jakob Stoklund Olesen authored
Save a few bytes by allocating the correct size vector. No functional change intended. llvm-svn: 94589
-
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
-
Junjie Gu authored
llvm-svn: 94578
-
Dan Gohman authored
llvm-svn: 94574
-
Dan Gohman authored
and clean up some loose ends. llvm-svn: 94572
-
Evan Cheng authored
llvm-svn: 94570
-
Bob Wilson authored
llvm-svn: 94569
-
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: 94546
-
Mikhail Glushenkov authored
llvm-svn: 94545
-
Mikhail Glushenkov authored
llvm-svn: 94544
-
Mikhail Glushenkov authored
llvm-svn: 94543
-
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
-
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
-