1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/lib
Brian Gaeke 9de468d398 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.

llvm-svn: 7265
2003-07-23 18:37:06 +00:00
..
Analysis Fit code into 80 columns 2003-07-23 15:17:01 +00:00
AsmParser Remove redundant const qualifiers from cast<> expressions 2003-07-23 15:30:06 +00:00
Bytecode Remove redundant const qualifiers from cast<> expressions 2003-07-23 15:30:06 +00:00
CodeGen Remove unnecessary casts 2003-07-23 15:17:51 +00:00
CWriter Simplify code by using ConstantInt::getRawValue instead of checking to see 2003-07-23 15:22:26 +00:00
ExecutionEngine Remove redundant const qualifier 2003-07-23 15:30:32 +00:00
Support Simplify code by using ConstantInt::getRawValue instead of checking to see 2003-07-23 15:22:26 +00:00
Target Add, rewrite, and/or reformat many comments. 2003-07-23 18:37:06 +00:00
Transforms IC: (X & C1) | C2 --> (X | C2) & (C1|C2) 2003-07-23 18:29:44 +00:00
VMCore Remove redundant const qualifiers from cast<> expressions 2003-07-23 15:30:06 +00:00
Makefile Merged in autoconf branch. This provides configuration via the autoconf 2003-06-30 21:59:07 +00:00