summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* check the correct VTAndrew Lenharth2005-07-041-1/+1
| | | | llvm-svn: 22332
* fix loading address of fp symbolsAndrew Lenharth2005-07-031-0/+4
| | | | llvm-svn: 22331
* Percolate the call up to the right superclassChris Lattner2005-07-031-1/+1
| | | | llvm-svn: 22330
* I really didn't think this was necessary. But, Legalize wasn't running againAndrew Lenharth2005-07-021-2/+3
| | | | | | and legalizing the extload. Strange. Should fix most alpha regressions. llvm-svn: 22329
* The statistic needs to be in the correct namespace.Nate Begeman2005-07-011-1/+2
| | | | llvm-svn: 22327
* Varargs is apparently currently broken on PPC. This hacks it so that itChris Lattner2005-07-011-4/+9
| | | | | | | | is at least overloading the right virtual methods. The implementations are currently wrong though. This fixes Ptrdist/bc, but not other programs (e.g. siod). llvm-svn: 22326
* Refactor X86AsmPrinter.cpp into multiple files. Patch contributedChris Lattner2005-07-016-557/+676
| | | | | | by Aaron Gray, cleaned up by me. llvm-svn: 22324
* simplify call code, remove pseudo ops for div and rem, track more loads and ↵Andrew Lenharth2005-07-011-17/+0
| | | | | | stores llvm-svn: 22323
* simplify call code, remove pseudo ops for div and rem, track more loads and ↵Andrew Lenharth2005-07-013-80/+92
| | | | | | stores llvm-svn: 22322
* remove some debugging codeChris Lattner2005-07-011-3/+0
| | | | llvm-svn: 22321
* oopsAndrew Lenharth2005-06-301-2/+1
| | | | llvm-svn: 22320
* FP EXTLOAD is not support on all archs, expand to LOAD and FP_EXTENDAndrew Lenharth2005-06-301-0/+9
| | | | llvm-svn: 22319
* Fix PR590 and Transforms/Mem2Reg/2005-06-30-ReadBeforeWrite.ll.Chris Lattner2005-06-301-19/+65
| | | | | | | | The optimization for locally used allocas was not safe for allocas that were read before they were written. This change disables that optimization in that case. llvm-svn: 22318
* Make the x86 asm printer darwin-aware. This mostly entails doing the sameNate Begeman2005-06-301-12/+15
| | | | | | | thing as cygwin most of the time, and printing our alignments in log2 rather than number of bytes. llvm-svn: 22316
* restore old srcValueNode behavior and try to to work around itAndrew Lenharth2005-06-294-55/+76
| | | | llvm-svn: 22315
* Doh! Forgot to LLVMify the style.John Criswell2005-06-291-2/+0
| | | | llvm-svn: 22312
* tracking the instructions causing loads and stores provides more information ↵Andrew Lenharth2005-06-293-8/+5
| | | | | | than just the pointer being loaded or stored llvm-svn: 22311
* Basic fix for PR#591; don't convert an fprintf() to an fwrite() if thereJohn Criswell2005-06-291-0/+9
| | | | | | | | | is a mismatch in their character type pointers (i.e. fprintf() prints an array of ubytes while fwrite() takes an array of sbytes). We can probably do better than this (such as casting the ubyte to an sbyte). llvm-svn: 22310
* thinkoAndrew Lenharth2005-06-291-0/+1
| | | | llvm-svn: 22309
* unify SelectExpr and SelectFPAndrew Lenharth2005-06-291-190/+155
| | | | llvm-svn: 22308
* fix most regressionsAndrew Lenharth2005-06-291-1/+2
| | | | llvm-svn: 22307
* support more relocations for stores alsoAndrew Lenharth2005-06-292-1/+36
| | | | llvm-svn: 22306
* Get rid of all symbolic loads. I now do gernate all relocations sequencesAndrew Lenharth2005-06-293-230/+76
| | | | | | | rather than relying on the assembler. Only a few more pseudo instructions left. Also merge load code paths. llvm-svn: 22305
* some call workAndrew Lenharth2005-06-271-1/+64
| | | | llvm-svn: 22303
* Adapt the code for handling uint -> fp conversion for the 32 bit case toAndrew Lenharth2005-06-271-0/+35
| | | | | | handling it in the 64 bit case. The two code paths should probably be merged. llvm-svn: 22302
* So, it turns out I forgot that one valid way of restoring GP after a callAndrew Lenharth2005-06-271-3/+3
| | | | | | | is to use RA, which assumes the called function uses RA for the register holding the return address when it issues a ret. llvm-svn: 22301
* Initial set of .td file changes necessary to get scalar fp in xmm registersNate Begeman2005-06-272-2/+126
| | | | | | | | | | | working. The instruction selector changes will hopefully be coming later this week once they are debugged. This is necessary to support the darwin x86 FP model, and is recommended by intel as the replacement for x87. As a bonus, the register allocator knows how to deal with these registers across basic blocks, unliky the FP stackifier. This leads to significantly better codegen in several cases. llvm-svn: 22300
* get rid of another pseudo opAndrew Lenharth2005-06-272-3/+4
| | | | llvm-svn: 22299
* generate address of constant pool entriesAndrew Lenharth2005-06-272-5/+10
| | | | llvm-svn: 22298
* Misha happification patchAndrew Lenharth2005-06-271-91/+142
| | | | llvm-svn: 22297
* Reduce use of pseudo opsAndrew Lenharth2005-06-272-8/+41
| | | | | | | Namely, output the rellocation flags explicitly when loading constants. Added benifit: save a load when loading from the constant pool. llvm-svn: 22296
* missed a loadAndrew Lenharth2005-06-271-3/+7
| | | | llvm-svn: 22295
* make constant pool labels localAndrew Lenharth2005-06-271-2/+2
| | | | llvm-svn: 22294
* who said we had to use the return address in the return address register. ↵Andrew Lenharth2005-06-272-5/+8
| | | | | | Might save a move in many cases llvm-svn: 22293
* Add support to the X86 backend for emitting ELF files. To use this, weChris Lattner2005-06-273-2/+55
| | | | | | | | | currently use: llc t.bc --filetype=obj This will produce a t.o file which is dumpable with readelf. Currently the file produced is empty, but the scaffolding to do more is now in place. llvm-svn: 22292
* iniital checkin of ELFWriter implementationChris Lattner2005-06-271-0/+230
| | | | | | | | For now, the elf writer is only capable of emitting an empty elf file, with a section table and a section table string table. This will be enhanced in the future :) llvm-svn: 22291
* depend more on legalize putting constants on the RHSAndrew Lenharth2005-06-261-92/+29
| | | | llvm-svn: 22289
* With setOperationAction(ISD::UINT_TO_FP, MVT::i64, Expand), LegalizeAndrew Lenharth2005-06-261-36/+12
| | | | | | | should be able to handle this case. The code is there, so let's see if it works. llvm-svn: 22288
* Refactor the addPassesToEmitAssembly interface into a addPassesToEmitFileChris Lattner2005-06-2516-34/+60
| | | | | | interface. llvm-svn: 22282
* Fix grammarChris Lattner2005-06-241-1/+1
| | | | llvm-svn: 22279
* add a debug typeChris Lattner2005-06-241-0/+1
| | | | llvm-svn: 22277
* remove a pseudo instruction, make ret always right, and fix vararg chainsAndrew Lenharth2005-06-234-15/+20
| | | | llvm-svn: 22276
* finally, Working varargsAndrew Lenharth2005-06-231-13/+24
| | | | llvm-svn: 22275
* more complete Lowering for vacopy and vaargAndrew Lenharth2005-06-221-1/+29
| | | | llvm-svn: 22274
* If we support structs as va_list, we must pass pointers to them to va_copyAndrew Lenharth2005-06-228-65/+42
| | | | | | See last commit for LangRef, this implements it on all targets. llvm-svn: 22273
* Make it easier to find alpha stuff in doxygen, and fixup labelingAndrew Lenharth2005-06-222-17/+52
| | | | | | | of memory instructions in the assembly, to allow later linking of traces with LLVM Value*s. llvm-svn: 22271
* Fixed indentation.John Criswell2005-06-201-3/+3
| | | | llvm-svn: 22270
* because some functions just use va_start and pass things to vfprintfAndrew Lenharth2005-06-201-0/+11
| | | | llvm-svn: 22269
* the correct fix was to fix AliasAnalysis.getModRefInfoAndrew Lenharth2005-06-201-4/+0
| | | | llvm-svn: 22268
* prevent GCSE from forwarding stores to loads around vaarg. This is uggly, ↵Andrew Lenharth2005-06-201-0/+4
| | | | | | and I am trying to fix the AliasInfo, as it should catch the problem instead. llvm-svn: 22266
OpenPOWER on IntegriCloud