- Jun 27, 2003
-
-
Brian Gaeke authored
SingleSource except oopack and Oscar. (Sorry, Oscar.) include/llvm/Target/TargetInstrInfo.h: Remove virtual print method. Add accessors for ImplicitUses/Defs. lib/Target/TargetInstrInfo.cpp: Remove virtual print method. If you really wanted this, just use MI->print(O, TM); instead... lib/Target/X86: FloatingPoint.cpp: ...like this. X86InstrInfo.h: Remove virtual print method. Define the PrintImplUses target-specific flag bit. X86InstrInfo.def: Add the PrintImplUses flag to all the instructions which implicitly use CL, because the assembler needs to see the CL in order to generate the right instruction. Printer.cpp: Ditch fnIndex at Chris's request. Now we use CurrentFnName to name constants in the constant pool for each function instead. This avoids keeping state between runOnMachineFunction() invocations, which is a no-no. Having MangledGlobals be global is a bogon I'd like to get rid of too, but making it a static member of Printer causes link errors (why???). Make NumberForBB into a member of Printer instead of a global, too. Make printOp and printMemReference into methods of Printer. X86InstrInfo::print is now Printer::printMachineInstruction, because TargetInstrInfo::print is history. (Because of this, we have to qualify the names of some TargetInstrInfo methods we call.) Print out the ImplicitUses field of any instruction we print that has the PrintImplUses bit set. llvm-svn: 6924
-
- Jun 26, 2003
-
-
Brian Gaeke authored
and i is the constant pool index. llvm-svn: 6920
-
Chris Lattner authored
llvm-svn: 6918
-
Chris Lattner authored
until DSA is working all of the time and is totally reliable, we do this. llvm-svn: 6917
-
Chris Lattner authored
llvm-svn: 6913
-
Chris Lattner authored
llvm-svn: 6912
-
Brian Gaeke authored
llvm-svn: 6908
-
- Jun 25, 2003
-
-
Brian Gaeke authored
Shootout, but it has some issues with bigger programs. Work in progress. llvm-svn: 6907
-
Chris Lattner authored
llvm-svn: 6904
-
Chris Lattner authored
llvm-svn: 6903
-
Chris Lattner authored
llvm-svn: 6901
-
Joel Stanley authored
particular, name mangling for GlobalValues only occurs when the linkage type is internal or when the name must be mangled to avoid a collision. See comments in CWriter::getValueName for more information. - 'inline' keyword is now emitted for functions with 'linkonce' linkage type. - Fixed typos. llvm-svn: 6898
-
Chris Lattner authored
llvm-svn: 6895
-
Brian Gaeke authored
ordinarily promoted to doubles. llvm-svn: 6894
-
Chris Lattner authored
llvm-svn: 6891
-
Chris Lattner authored
llvm-svn: 6889
-
- Jun 24, 2003
-
-
Chris Lattner authored
want to mark it live if it is an unconditional branch. This fixes bug: ADCE/2002-05-28-Crash.ll and makes this pass _much_ more useful. llvm-svn: 6887
-
Chris Lattner authored
llvm-svn: 6883
-
Chris Lattner authored
llvm-svn: 6881
-
- Jun 23, 2003
-
-
Chris Lattner authored
Replace (cast (sub A, B) to bool) -> (setne A, B) Replace (cast (add A, B) to bool) -> (setne A, -B) llvm-svn: 6873
-
Brian Gaeke authored
explicitly cast the result to be a byte, or C will gleefully promote it to int. llvm-svn: 6869
-
Brian Gaeke authored
Remove isnan; it's too unportable to handle cleanly at this point. llvm-svn: 6866
-
Chris Lattner authored
llvm-svn: 6865
-
Chris Lattner authored
llvm-svn: 6862
-
Vikram S. Adve authored
llvm-svn: 6859
-
- Jun 22, 2003
-
-
Chris Lattner authored
llvm-svn: 6857
-
Chris Lattner authored
llvm-svn: 6856
-
Chris Lattner authored
llvm-svn: 6852
-
Chris Lattner authored
llvm-svn: 6846
-
Chris Lattner authored
llvm-svn: 6844
-
Chris Lattner authored
llvm-svn: 6842
-
Chris Lattner authored
llvm-svn: 6840
-
Chris Lattner authored
This fixes type safety problems in a variety of benchmarks that were confusing DSA. llvm-svn: 6837
-
- Jun 21, 2003
-
-
Chris Lattner authored
llvm-svn: 6831
-
Chris Lattner authored
This allows us to not force the use of the EAX/AX registers! llvm-svn: 6830
-
Chris Lattner authored
llvm-svn: 6829
-
Chris Lattner authored
llvm-svn: 6828
-
Chris Lattner authored
llvm-svn: 6821
-
- Jun 20, 2003
-
-
Chris Lattner authored
llvm-svn: 6797
-
Vikram S. Adve authored
llvm-svn: 6796
-