summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling2006-12-0770-1409/+1563
| | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298
* Fix i64 uint_to_fp on ppc64Chris Lattner2006-12-071-1/+2
| | | | llvm-svn: 32297
* MI keeps a ptr of TargetInstrDescriptor, use it.Evan Cheng2006-12-073-4/+7
| | | | llvm-svn: 32296
* getOperandConstraint returns -1 if the operand does have the specific ↵Evan Cheng2006-12-071-1/+1
| | | | | | constraint. This bug was causing excessive spills. llvm-svn: 32295
* implement sextinreg i8->i64 and i16->i64Chris Lattner2006-12-061-0/+8
| | | | llvm-svn: 32293
* fix another sradi encoding bug. This fixes Olden/health with the ppc64 jit.Chris Lattner2006-12-061-1/+1
| | | | llvm-svn: 32291
* Always pass "true" to isMaxValue(bool) because we know the type is LongTy.Reid Spencer2006-12-061-1/+1
| | | | llvm-svn: 32290
* Adjust to new ConstantIntegral interface for Max/Min tests.Reid Spencer2006-12-062-11/+57
| | | | llvm-svn: 32289
* Update ConstantIntegral Max/Min tests for new interface.Reid Spencer2006-12-061-4/+4
| | | | llvm-svn: 32288
* For PR950:Reid Spencer2006-12-061-47/+0
| | | | | | | | | Remove the getMaxValue and getMinValue functions from ConstantIntegral. They don't make sense for a signless type. Also, for isMaxValue and isMinValue, have the caller provided the signedness rather than obtaining it from the constant's type. llvm-svn: 32287
* fix the jit encoding of sradi, simplify the MDForm1 description.Chris Lattner2006-12-061-5/+5
| | | | llvm-svn: 32285
* add relocation support for ppc64 branches.Chris Lattner2006-12-061-2/+2
| | | | llvm-svn: 32284
* merge the Statistic and StatisticBase classes, eliminating virtual methodsChris Lattner2006-12-061-10/+5
| | | | | | and eliminating #includes from the Statistic.h file. llvm-svn: 32282
* add #includeChris Lattner2006-12-061-0/+1
| | | | llvm-svn: 32281
* add missing #includeChris Lattner2006-12-062-0/+2
| | | | llvm-svn: 32280
* Detemplatize the Statistic class. The only type it is instantiated withChris Lattner2006-12-0696-235/+233
| | | | | | is 'unsigned'. llvm-svn: 32279
* Some addresssed should be 64-bit and some shouldn't.Jim Laskey2006-12-061-19/+25
| | | | llvm-svn: 32278
* Make it easier for gdb to find the return address.Jim Laskey2006-12-063-58/+98
| | | | llvm-svn: 32277
* print weak referencesRafael Espindola2006-12-062-1/+14
| | | | llvm-svn: 32276
* Move copyKillDeadInfo out-of-line. Add findRegisterUseOperand().Evan Cheng2006-12-061-0/+31
| | | | llvm-svn: 32273
* Remove the dead CachedWriter class.Chris Lattner2006-12-061-57/+11
| | | | llvm-svn: 32271
* Simplify codeChris Lattner2006-12-061-10/+4
| | | | llvm-svn: 32270
* printName is almost always true. In the cases that mattered where it was false,Chris Lattner2006-12-061-35/+25
| | | | | | | | | | | it was effectively set to true by this: - if ((PrintName || isa<GlobalValue>(V)) && V->hasName()) + if (V->hasName()) Delete printname entirely. llvm-svn: 32265
* Remove the 'printname' argument to WriteAsOperand. It is always true, andChris Lattner2006-12-067-13/+13
| | | | | | passing false would make the asmprinter fail anyway. llvm-svn: 32264
* The hasSlot methods are gone.Chris Lattner2006-12-061-25/+20
| | | | | | | Remove the 'PrintName' argument to WriteAsOperand, as it is always true. Only call getOrCreateSlot on things that are valid. llvm-svn: 32263
* These asm printers shouldn't use assembly/writer.hChris Lattner2006-12-063-20/+4
| | | | llvm-svn: 32262
* remove unused api, simplify some codeChris Lattner2006-12-061-20/+2
| | | | llvm-svn: 32260
* remove more code that was only used by the bc writerChris Lattner2006-12-061-90/+2
| | | | llvm-svn: 32259
* remove dead code left over from when this functionality was shared with theChris Lattner2006-12-061-68/+5
| | | | | | bcwriter. llvm-svn: 32258
* rename createSlot -> getOrCreateSlot.Chris Lattner2006-12-061-21/+19
| | | | llvm-svn: 32256
* clean up some sloppy and inconsistent spacingChris Lattner2006-12-061-46/+46
| | | | llvm-svn: 32255
* wrap long linesChris Lattner2006-12-061-4/+6
| | | | llvm-svn: 32254
* Fix a CmpInst writing bug by removing merge cruft that I *know* I've removedReid Spencer2006-12-061-9/+4
| | | | | | | before. Also, make sure we write the predicate value for Cmp instructions using instruction format 0. llvm-svn: 32253
* counter should be unsigned.Chris Lattner2006-12-061-1/+1
| | | | llvm-svn: 32252
* eliminate fp statisticChris Lattner2006-12-061-3/+3
| | | | llvm-svn: 32251
* Fix constant folding to deal with external weak global values.Reid Spencer2006-12-061-14/+22
| | | | llvm-svn: 32247
* Regenerate.Reid Spencer2006-12-053-263/+257
| | | | llvm-svn: 32246
* Remove dead var NewVarArgs.Reid Spencer2006-12-051-3/+0
| | | | llvm-svn: 32245
* Fix Transforms/InstCombine/2006-12-05-fp-to-int-ext.ll, fixing an out-of-Chris Lattner2006-12-051-3/+10
| | | | | | stack-space issue in the ppc bootstrap. llvm-svn: 32244
* Regenerate.Reid Spencer2006-12-053-1202/+863
| | | | llvm-svn: 32242
* Dump the old va_arg and va_next upgrade support. No need to keep track ofReid Spencer2006-12-051-156/+2
| | | | | | the current basic block any more either. llvm-svn: 32241
* Finally get the casting right in this file. Also, remove some unnecessaryReid Spencer2006-12-051-7/+6
| | | | | | casting because sdiv doesn't require operand signs to match any more. llvm-svn: 32240
* Revert an unintended change.Evan Cheng2006-12-051-1/+1
| | | | llvm-svn: 32239
* - Switch X86-64 JIT to large code size model.Evan Cheng2006-12-057-82/+61
| | | | | | | - Re-enable some codegen niceties for X86-64 static relocation model codegen. - Clean ups, etc. llvm-svn: 32238
* straighten out various memory ownership issues in the callgraph stuff.Chris Lattner2006-12-051-3/+2
| | | | | | This fixes Regression/Other/2002-01-31-CallGraph.ll. llvm-svn: 32237
* Regenerate.Reid Spencer2006-12-052-229/+149
| | | | llvm-svn: 32233
* Remove various old upgrade hacks that are no longer needed.Reid Spencer2006-12-051-41/+1
| | | | llvm-svn: 32232
* Bail on the getInferredCast idea. Remove the function and convertReid Spencer2006-12-052-17/+18
| | | | | | remaining uses to more specific casts. llvm-svn: 32231
* If we have ScalarSSE, we can select bitconvert into single instructions.Chris Lattner2006-12-052-2/+14
| | | | | | | | | | | | | This compiles bitcast.ll:test3/test4 into: _test3: movd %xmm0, %eax ret _test4: movd %edi, %xmm0 ret llvm-svn: 32230
* Add a perf optzn corresponding to PR1033.Chris Lattner2006-12-051-0/+5
| | | | llvm-svn: 32229
OpenPOWER on IntegriCloud