aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove the 'printname' argument to WriteAsOperand. It is always true, andChris Lattner2006-12-068-14/+14
| | | | | | | passing false would make the asmprinter fail anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32264 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32263 91177308-0d34-0410-b5e6-96231b3b80d8
* These asm printers shouldn't use assembly/writer.hChris Lattner2006-12-063-20/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32262 91177308-0d34-0410-b5e6-96231b3b80d8
* remove unused apiChris Lattner2006-12-061-3/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32261 91177308-0d34-0410-b5e6-96231b3b80d8
* remove unused api, simplify some codeChris Lattner2006-12-061-20/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32260 91177308-0d34-0410-b5e6-96231b3b80d8
* remove more code that was only used by the bc writerChris Lattner2006-12-061-90/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32259 91177308-0d34-0410-b5e6-96231b3b80d8
* remove dead code left over from when this functionality was shared with theChris Lattner2006-12-061-68/+5
| | | | | | | bcwriter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32258 91177308-0d34-0410-b5e6-96231b3b80d8
* reword messageChris Lattner2006-12-061-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32257 91177308-0d34-0410-b5e6-96231b3b80d8
* rename createSlot -> getOrCreateSlot.Chris Lattner2006-12-061-21/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32256 91177308-0d34-0410-b5e6-96231b3b80d8
* clean up some sloppy and inconsistent spacingChris Lattner2006-12-061-46/+46
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32255 91177308-0d34-0410-b5e6-96231b3b80d8
* wrap long linesChris Lattner2006-12-061-4/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32254 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32253 91177308-0d34-0410-b5e6-96231b3b80d8
* counter should be unsigned.Chris Lattner2006-12-061-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32252 91177308-0d34-0410-b5e6-96231b3b80d8
* eliminate fp statisticChris Lattner2006-12-061-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32251 91177308-0d34-0410-b5e6-96231b3b80d8
* make all llvm tools call llvm_shutdown when they exit, static'ify some stuff.Chris Lattner2006-12-0621-59/+94
| | | | | | | With this change, I can now move -stats to print when llvm_shutdown is called. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32250 91177308-0d34-0410-b5e6-96231b3b80d8
* add a helper to call llvm_shutdown()Chris Lattner2006-12-061-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32249 91177308-0d34-0410-b5e6-96231b3b80d8
* this is a subset of Codegen/X86/bitcast.ll, remove it.Chris Lattner2006-12-061-13/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32248 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix constant folding to deal with external weak global values.Reid Spencer2006-12-061-14/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32247 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate.Reid Spencer2006-12-053-263/+257
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32246 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead var NewVarArgs.Reid Spencer2006-12-051-3/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32245 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32244 91177308-0d34-0410-b5e6-96231b3b80d8
* Instcombine shouldn't fold these casts.Chris Lattner2006-12-051-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32243 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate.Reid Spencer2006-12-053-1202/+863
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32242 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32241 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32240 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert an unintended change.Evan Cheng2006-12-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32239 91177308-0d34-0410-b5e6-96231b3b80d8
* - 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32238 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32237 91177308-0d34-0410-b5e6-96231b3b80d8
* This needs the callgraph data structure to stick around as long as theChris Lattner2006-12-051-1/+1
| | | | | | | printer does. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32236 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate.Reid Spencer2006-12-055-396/+423
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32235 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR645:Reid Spencer2006-12-052-4/+19
| | | | | | | | Keep track of global constant and variable definitions for eventual use in resolving conflicts between global and local symbol usage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32234 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate.Reid Spencer2006-12-052-229/+149
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32233 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove various old upgrade hacks that are no longer needed.Reid Spencer2006-12-051-41/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32232 91177308-0d34-0410-b5e6-96231b3b80d8
* Bail on the getInferredCast idea. Remove the function and convertReid Spencer2006-12-053-26/+19
| | | | | | | remaining uses to more specific casts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32231 91177308-0d34-0410-b5e6-96231b3b80d8
* 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32230 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a perf optzn corresponding to PR1033.Chris Lattner2006-12-051-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32229 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR1033 and CodeGen/X86/bitcast.ll, by expanding bitcast to a load/store ↵Chris Lattner2006-12-051-0/+5
| | | | | | | | | pair. This could be better, readme entry pending. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32228 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2006-12-051-0/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32227 91177308-0d34-0410-b5e6-96231b3b80d8
* expand memmove and memcpyRafael Espindola2006-12-052-0/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32226 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate "control reaches end of non-void function" warnings.Reid Spencer2006-12-051-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32225 91177308-0d34-0410-b5e6-96231b3b80d8
* add support for the "r" asm constraintRafael Espindola2006-12-052-0/+34
| | | | | | | patch by Lauro Ramos Venancio git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32224 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo noticed by Lauro Ramos Venancio, thanks!Chris Lattner2006-12-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32223 91177308-0d34-0410-b5e6-96231b3b80d8
* add support for weak linkageRafael Espindola2006-12-052-1/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32222 91177308-0d34-0410-b5e6-96231b3b80d8
* Ignore the Output directory.Reid Spencer2006-12-051-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32221 91177308-0d34-0410-b5e6-96231b3b80d8
* JIT large code model support.Evan Cheng2006-12-051-7/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32220 91177308-0d34-0410-b5e6-96231b3b80d8
* Can't make these fail now with just BitCast. Previous failures must haveReid Spencer2006-12-051-2/+2
| | | | | | | | been in conjunction with something else. By right, they should just be BitCasts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32219 91177308-0d34-0410-b5e6-96231b3b80d8
* Asm printing bug.Evan Cheng2006-12-051-6/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32218 91177308-0d34-0410-b5e6-96231b3b80d8
* - Fix X86-64 JIT by temporarily disabling code that treats GV address as 32-bitEvan Cheng2006-12-057-129/+126
| | | | | | | | | immediate in small code model. The JIT cannot ensure GV's are placed in the lower 4G. - Some preliminary support for large code model. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32215 91177308-0d34-0410-b5e6-96231b3b80d8
* UpdateEvan Cheng2006-12-051-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32214 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the last inferred casts from VMCore.Reid Spencer2006-12-051-10/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32213 91177308-0d34-0410-b5e6-96231b3b80d8