- Aug 04, 2003
-
-
Chris Lattner authored
llvm-svn: 7564
-
Chris Lattner authored
llvm-svn: 7558
-
Chris Lattner authored
llvm-svn: 7556
-
Chris Lattner authored
llvm-svn: 7552
-
Chris Lattner authored
* Use .zero to emit padding between struct elements * Emit .comm symbols when we can, this dramatically reduces the amount of gunk we have to print * Print global variable identifiers next to initializer more nicely. llvm-svn: 7551
-
Chris Lattner authored
llvm-svn: 7547
-
- Aug 03, 2003
-
-
Chris Lattner authored
llvm-svn: 7542
-
Chris Lattner authored
llvm-svn: 7541
-
Chris Lattner authored
llvm-svn: 7540
-
Chris Lattner authored
* Fix bug in the createNOP method, which was not marking the operands of the generated XCHG as useanddef. I don't think this method is actually used, so it wasn't breaking anything, but it should be fixed anyway... llvm-svn: 7539
-
Chris Lattner authored
llvm-svn: 7538
-
Chris Lattner authored
llvm-svn: 7537
-
Chris Lattner authored
llvm-svn: 7536
-
Chris Lattner authored
llvm-svn: 7532
-
Chris Lattner authored
llvm-svn: 7523
-
Chris Lattner authored
llvm-svn: 7522
-
Chris Lattner authored
llvm-svn: 7513
-
Chris Lattner authored
llvm-svn: 7512
-
Chris Lattner authored
llvm-svn: 7511
-
Chris Lattner authored
llvm-svn: 7510
-
Chris Lattner authored
llvm-svn: 7509
-
Chris Lattner authored
llvm-svn: 7505
-
- Aug 02, 2003
-
-
Chris Lattner authored
llvm-svn: 7497
-
- Aug 01, 2003
-
-
Chris Lattner authored
llvm-svn: 7460
-
- Jul 31, 2003
-
-
Chris Lattner authored
llvm-svn: 7455
-
Misha Brukman authored
llvm-svn: 7454
-
Brian Gaeke authored
.; so I have changed the basic block markers to start with .L. I also broke up a >80char line. llvm-svn: 7452
-
- Jul 30, 2003
-
-
Chris Lattner authored
llvm-svn: 7413
-
- Jul 29, 2003
-
-
Chris Lattner authored
value types llvm-svn: 7377
-
- Jul 27, 2003
-
-
Chris Lattner authored
llvm-svn: 7352
-
Chris Lattner authored
llvm-svn: 7345
-
Chris Lattner authored
llvm-svn: 7344
-
- Jul 24, 2003
-
-
Brian Gaeke authored
SlotCalculator in CWriter. (Unfortunately, all this means a lot of X86/Printer's methods have to be de-constified again. Oh well.) llvm-svn: 7299
-
Brian Gaeke authored
llvm-svn: 7291
-
Brian Gaeke authored
doFinalization too except that would have made them shadow, not override, the parent class :-P. Allow *any* constant cast expression between pointers and longs, or vice-versa, or any widening (not just same-size) conversion that isLosslesslyConvertibleTo approves. This fixes oopack. llvm-svn: 7288
-
- Jul 23, 2003
-
-
Brian Gaeke authored
Printer::doFinalization() out in the cold. Now we pass in a TargetMachine to Printer's constructor and get the TargetData from the TargetMachine. Don't pass TargetMachine or MRegisterInfo objects around in the Printer. Constify TargetData references. X86.h: Update comment and prototype of createX86CodePrinterPass(). X86TargetMachine.cpp: Update callers of createX86CodePrinterPass(). llvm-svn: 7275
-
Brian Gaeke authored
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
-
Chris Lattner authored
whether the constant is signed or unsigned, then casting llvm-svn: 7252
-
- Jul 18, 2003
-
-
Brian Gaeke authored
Avoid a fall-through in the (stubby) treatment of the longjmp intrinsic call which causes llc & lli to core-dump. Add a sort-of treatment of cast double to ulong. I am not really sure what a user should expect to see upon casting a negative FP value to unsigned long long. But with what is given here, I was able to write a program that could cast -123.456 to ulong and back and get -123.0, which seems like a step in the right direction. GCC seems to give you 0. I don't know if I'd consider that useful. These cases were coming up in GNU coreutils-5.0. llvm-svn: 7205
-
- Jul 17, 2003
-
-
Brian Gaeke authored
try to load or store through a bool*. llvm-svn: 7195
-