llvm-6502/lib/Transforms/Utils
Chris Lattner 944fac71e0 Switch the asmprinter (.ll) and all the stuff it requires over to
use raw_ostream instead of std::ostream.  Among other goodness,
this speeds up llvm-dis of kc++ with a release build from 0.85s
to 0.49s (88% faster).

Other interesting changes:
 1) This makes Value::print be non-virtual.
 2) AP[S]Int and ConstantRange can no longer print to ostream directly, 
    use raw_ostream instead.
 3) This fixes a bug in raw_os_ostream where it didn't flush itself 
    when destroyed.
 4) This adds a new SDNode::print method, instead of only allowing "dump".


A lot of APIs have both std::ostream and raw_ostream versions, it would
be useful to go through and systematically anihilate the std::ostream 
versions.

This passes dejagnu, but there may be minor fallout, plz let me know if
so and I'll fix it.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55263 91177308-0d34-0410-b5e6-96231b3b80d8
2008-08-23 22:23:09 +00:00
..
BasicBlockUtils.cpp Add some checks that got lost in the shuffle. This fixes 464.h264ref. 2008-07-18 17:46:41 +00:00
BasicInliner.cpp Clean up the use of static and anonymous namespaces. This turned up 2008-05-13 00:00:25 +00:00
BreakCriticalEdges.cpp LoopIndexSplit can sometimes result in cases where a block in its own domfrontier. 2008-06-03 18:29:48 +00:00
CloneFunction.cpp Factor code to copy global value attributes like 2008-05-26 19:58:59 +00:00
CloneLoop.cpp
CloneModule.cpp Factor code to copy global value attributes like 2008-05-26 19:58:59 +00:00
CloneTrace.cpp
CodeExtractor.cpp Use Instruction::eraseFromParent(). 2008-06-21 22:08:46 +00:00
DemoteRegToStack.cpp Fix warning when assertions disabled. 2008-06-21 19:49:01 +00:00
InlineCost.cpp Inliner tweak. Function calls should cost more than one instruction! 2008-07-17 01:31:49 +00:00
InlineFunction.cpp Rename some GC classes so that their roll will hopefully be clearer. 2008-08-17 18:44:35 +00:00
InstructionNamer.cpp Add a new trivial -inst-namer pass which makes it possible to diff the 2008-08-23 06:07:02 +00:00
LCSSA.cpp Enable first-class aggregates support. 2008-07-23 00:34:11 +00:00
Local.cpp Use Instruction::eraseFromParent(). 2008-06-21 22:08:46 +00:00
LoopSimplify.cpp Use Loop::block_iterator. 2008-06-22 20:18:58 +00:00
LowerAllocations.cpp API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. Legacy interfaces will be in place for some time. (Merge from use-diet branch.) 2008-05-16 19:29:10 +00:00
LowerInvoke.cpp Tidy up BasicBlock::getFirstNonPHI, and change a bunch of places to 2008-05-23 21:05:58 +00:00
LowerSwitch.cpp Switch the asmprinter (.ll) and all the stuff it requires over to 2008-08-23 22:23:09 +00:00
Makefile
Mem2Reg.cpp Change class' public PassInfo variables to by initialized with the 2008-05-13 02:05:11 +00:00
PromoteMemoryToRegister.cpp
SimplifyCFG.cpp Use empty() instead of begin() == end(). 2008-08-14 18:13:49 +00:00
UnifyFunctionExitNodes.cpp Enable first-class aggregates support. 2008-07-23 00:34:11 +00:00
UnrollLoop.cpp Revert 52645, the loop unroller changes. It caused a regression in 252.eon. 2008-06-24 20:44:42 +00:00
ValueMapper.cpp rewrite operand loops to use iterators 2008-05-30 21:24:22 +00:00