llvm/lib/Target
Brian Gaeke 92bdfe6951 Add, rewrite, and/or reformat many comments.
Stop passing ostreams around: we already have one perfectly good ostream
and we can all share it.

Stop stashing a pointer to TargetData in the Pass object, because that will
lead to a crash if there are no functions in the module (ouch!)  Instead,
use addRequired() and getAnalysis(), like we always should have done.

Move the check for ConstantExpr up before the check for isPrimitiveType,
because we need to be able to catch e.g. ubyte (cast bool false to ubyte),
whose type is primitive but which is nevertheless a ConstantExpr, by calling
our specialized handler instead of the AsmWriter. This would result in
assembler errors when we would try to output something like ".byte (cast
bool false to ubyte)".

GC some unused variable declarations.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7265 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 18:37:06 +00:00
..
CBackend Simplify code by using ConstantInt::getRawValue instead of checking to see 2003-07-23 15:22:26 +00:00
SparcV9 Remove redundant const qualifiers from cast<> expressions 2003-07-23 15:30:06 +00:00
X86 Add, rewrite, and/or reformat many comments. 2003-07-23 18:37:06 +00:00
Makefile X86 target builds fine now 2002-11-20 20:17:03 +00:00
MRegisterInfo.cpp Capture more information in ctor 2002-12-28 20:34:18 +00:00
Target.td Added the target-independent part of TableGen data. 2003-05-29 18:48:17 +00:00
TargetData.cpp Remove redundant const qualifiers from cast<> expressions 2003-07-23 15:30:06 +00:00
TargetInstrInfo.cpp Nice tasty llc fixes. These should fix LLC for x86 for everything in 2003-06-27 00:00:48 +00:00
TargetMachine.cpp The promotion rules are the same for all targets, they are set by the C standard. 2003-04-26 19:47:36 +00:00
TargetSchedInfo.cpp More renamings of Target/Machine*Info to Target/Target*Info 2002-12-29 03:13:05 +00:00