llvm-6502/include/llvm/Support
Daniel Dunbar e0f0e0be1c Change LTO to run the global opt pass twice.
- This matches llvm-ld.

It took a bit of archeology to figure out what the right thing to do was
(whether this was intentionally added or intentionally removed). My final
conclusion is that Chris added this intentionally here:
  http://llvm.org/viewvc/llvm-project?view=rev&revision=16913
but the changes weren't propogated to llvm-ld until here:
  http://llvm.org/viewvc/llvm-project?view=rev&revision=34058
which was after lto.cpp had been cloned off (of llvm-ld), here:
  http://llvm.org/viewvc/llvm-project?view=rev&revision=29494

From the commit message, it looks like the motivation for running global opt
again is because we ran it prior to inlining. Based on that I updated the
comment and also only run the pass if we actually ran the inliner.

Chris, please review.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72811 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 21:51:32 +00:00
..
AIXDataTypesFix.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
AlignOf.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
Allocator.h Changed Allocate to use size_t instead of unsigned. 2009-03-10 23:48:49 +00:00
Annotation.h Tidy up #includes, deleting a bunch of unnecessary #includes. 2009-01-05 17:59:02 +00:00
CallSite.h Revert r66920. It was causing failures in the self-hosting buildbot (in release 2009-03-13 21:15:59 +00:00
Casting.h Roll back rev 59890, since Chris says this can never happen. 2008-11-23 19:22:48 +00:00
CFG.h For PR1338: rename include/llvm/ADT/ilist and friends to end with ".h" 2008-05-29 17:41:17 +00:00
CommandLine.h Add support for a character after a command line option. Like '-Os'. 2009-04-29 23:26:16 +00:00
Compiler.h Add BUILTIN_EXPECT Support/Compiler macro. 2009-03-17 21:15:18 +00:00
ConstantFolder.h Add a NullFolder class that doesn't fold constants. 2008-08-12 20:39:27 +00:00
ConstantRange.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
DataFlow.h Make dataflow iteration possible on Value*, not only on User*: df_ext_iterator<Value*, SmallPtrSet<const Value*, 16> > 2009-04-30 17:09:22 +00:00
DataTypes.h.cmake CMake: Sync'ed DataTypes.h.cmake with DataTypes.h.in. 2008-10-25 03:25:11 +00:00
DataTypes.h.in Revert r58411. The user needs to #define this when using the JITMemoryManager.h header. 2008-10-30 01:22:58 +00:00
Debug.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
DOTGraphTraits.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
Dwarf.h Add DW_AT_APPLE_isa and DW_AT_APPLE_block. Radar 6867696 2009-05-11 21:58:01 +00:00
DynamicLinker.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
ELF.h Add AMD64 elf machine type 2009-05-30 21:05:47 +00:00
FileUtilities.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
Format.h Add C++ marker. 2009-03-10 15:56:48 +00:00
GetElementPtrTypeIterator.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
GraphWriter.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
InstIterator.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
InstVisitor.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
IRBuilder.h Add an accessor method to return the insertion point. 2009-05-20 21:45:41 +00:00
LeakDetector.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
ManagedStatic.h Have llvm_start_multithreaded return a bool indicating whether multithreaded 2009-05-20 21:03:06 +00:00
Mangler.h Quotes should be printed before private prefix; some code clean up. 2009-05-05 22:50:29 +00:00
MathExtras.h Fix the name of the function in this comment. 2009-05-31 16:18:03 +00:00
MemoryBuffer.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
MutexGuard.h Tidy up #includes, deleting a bunch of unnecessary #includes. 2009-01-05 17:59:02 +00:00
NoFolder.h Fix the name of the include guard to match the filename. 2008-10-28 00:52:46 +00:00
OutputBuffer.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
PassNameParser.h Tidy up #includes, deleting a bunch of unnecessary #includes. 2009-01-05 17:59:02 +00:00
PatternMatch.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
PluginLoader.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
PointerLikeTypeTraits.h Drop the default assumption about alignment down to 2 bits from 3. This apparently 2009-05-01 23:48:33 +00:00
PredIteratorCache.h Add caching of predecessor counts as well as predecessors themselves. 2009-04-22 08:46:33 +00:00
PrettyStackTrace.h add some helper classes for building light-weight symbolic stack traces 2009-03-04 21:40:23 +00:00
raw_ostream.h Make all raw_ostreams support the tell() function. 2009-04-20 07:34:17 +00:00
Recycler.h ooops, forgot to include the pointless-write eliminator in my previous checkin 2009-03-04 21:54:31 +00:00
RecyclingAllocator.h Fold the useful features of alist and alist_node into ilist, and 2008-07-28 21:51:04 +00:00
Registry.h Registry.h should not depend on CommandLine.h. 2009-01-16 07:02:28 +00:00
RegistryParser.h Registry.h should not depend on CommandLine.h. 2009-01-16 07:02:28 +00:00
SlowOperationInformer.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
StableBasicBlockNumbering.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
StandardPasses.h Change LTO to run the global opt pass twice. 2009-06-03 21:51:32 +00:00
Streams.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
StringPool.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
SystemUtils.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
TargetFolder.h Change TargetFolder's TD member from a reference to a 2009-06-03 00:13:48 +00:00
Timer.h allow TimeRegion to take a potentially-null pointer to a 2009-02-18 01:48:17 +00:00
type_traits.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
TypeBuilder.h Include <limits.h> to get the definition of CHAR_BIT. 2009-05-02 21:03:21 +00:00
ValueHandle.h Add simplify_type specializations to allow WeakVH, AssertingVH, and 2009-05-06 17:12:48 +00:00