summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix a nasty bug that Nate ran into. In particular, instead of emitting a 2+MBChris Lattner2004-08-211-6/+13
| | | | | | | | | | | | error message, print out: llvm-link: error linking in 'g.2.rbc': Global Variable Collision on ' %struct.D_Reduction* %d_reduction_10_gram' - External linkage globals have different initializers That's a bit more concise, huh? llvm-svn: 15958
* remove some things from the todo list.Nate Begeman2004-08-201-6/+0
| | | | llvm-svn: 15956
* Do not register ppc64 yet, as it breaks the SparcV9 backendChris Lattner2004-08-201-0/+3
| | | | llvm-svn: 15955
* quish a warningChris Lattner2004-08-201-1/+1
| | | | llvm-svn: 15954
* Fix a bug found exposed by: Regression/Other/2004-08-20-PackedControlFlow.llReid Spencer2004-08-201-1/+5
| | | | | | | | Packed types need to be allowed in type statements too. Patch provided by Brad Jones. llvm-svn: 15953
* Implement code to convert SetCC into straight line code where appropriate. ↵Nate Begeman2004-08-202-22/+173
| | | | | | Add necessary instructions for this transformation to the .td file. llvm-svn: 15952
* Packed types, brought to you by Brad JonesBrian Gaeke2004-08-209-6/+336
| | | | llvm-svn: 15938
* If we are linking two global variables and they have the same size, do notChris Lattner2004-08-201-8/+9
| | | | | | spew warnings, even if the types don't match. llvm-svn: 15933
* Fix opcodes being printed in caps (the more general fix may be `AsmWriter')Misha Brukman2004-08-191-1/+1
| | | | llvm-svn: 15932
* Stack space for argument passing is 32 regardless of 32- vs. 64-bit arch.Misha Brukman2004-08-191-6/+6
| | | | | | Thanks to Nate Begeman for pointing this out. llvm-svn: 15930
* LR needs to be saved at 16-byte offset on a 64-bit archMisha Brukman2004-08-192-6/+6
| | | | llvm-svn: 15929
* On 64-bit PowerPC, pointers are 8 bytes, so parameter area offset is 48, not 24Misha Brukman2004-08-191-7/+10
| | | | llvm-svn: 15928
* This PHI has 4 additional operands, not 2.Misha Brukman2004-08-191-1/+1
| | | | llvm-svn: 15926
* Use the appropriate 64-bit register description file.Misha Brukman2004-08-191-1/+1
| | | | llvm-svn: 15922
* Fix more remaining 32-bit vestiges of PowerPCMisha Brukman2004-08-191-6/+2
| | | | llvm-svn: 15919
* Fix another vestige of the 32-bit PowerPC backend.Misha Brukman2004-08-191-3/+1
| | | | llvm-svn: 15918
* Correct character prepended to global symbols ('.'), use Mangler consistentlyMisha Brukman2004-08-191-2/+2
| | | | llvm-svn: 15917
* * Eliminate global base register, r2 is used for that on AIX/PowerPCMisha Brukman2004-08-191-45/+6
| | | | | | * Fix bug from 32-bit PowerPC days of 2-register long split llvm-svn: 15916
* Wrap long lines.Misha Brukman2004-08-191-4/+5
| | | | llvm-svn: 15915
* Convert casts that will have no effect into move instructions.Nate Begeman2004-08-191-4/+22
| | | | llvm-svn: 15914
* Clean up floating point instruction selection.Nate Begeman2004-08-194-110/+30
| | | | | | | | Change int->float cast code to put conversion constants in constant pool. Shorten code sequence for constant pool fp loads. Remove LOADLoDirect/LOADLoIndirect psuedo instructions and tweak asmwriter llvm-svn: 15913
* M_DUMMY_PHI_FLAG is no longer used to distinguish V9::PHI. Get rid of it andBrian Gaeke2004-08-181-2/+1
| | | | | | its TargetInstrInfo accessor. llvm-svn: 15907
* Instead of using isDummyPhiInstr, we just compare the opcode with V9::PHI.Brian Gaeke2004-08-184-9/+8
| | | | llvm-svn: 15906
* Instead of using isDummyPhiInstr, we just compare the opcode with V9::PHI.Brian Gaeke2004-08-181-3/+3
| | | | | | Also, squash a use of TargetInstrInfo::isNop(). llvm-svn: 15905
* Convert to the new MachineFunctionInfo interfaceChris Lattner2004-08-1810-43/+34
| | | | llvm-svn: 15904
* The SparcV9 target no longer uses any pseudoinstructions (SETSW, SETUW,Brian Gaeke2004-08-183-18/+1
| | | | | | SETX) or M_PSEUDO_FLAG. llvm-svn: 15901
* The Create*Const methods don't need to pass around a TargetMachine reference.Brian Gaeke2004-08-181-20/+18
| | | | | | Other minor cleanups. llvm-svn: 15900
* Doxygenify some comments.Brian Gaeke2004-08-181-98/+88
| | | | | | | | | | | Clean up cpReg2MemMI and cpMem2RegMI, and doxygenify comments. Get rid of their uses of SETSW, which is a pseudoinstruction. We can't JIT-compile pseudoinstructions at the moment. This was blowing up 252.eon/jit, which has some HUGE stack frames. Reduce the uses of constantFitsInImmedField(). Consolidate some assertions. llvm-svn: 15899
* Switch V9 over to using the AsmPrinter base class to do its constant printingChris Lattner2004-08-182-505/+91
| | | | | | Massive thanks to the brg miester for doing the testing. :) llvm-svn: 15898
* Rename varChris Lattner2004-08-183-15/+15
| | | | llvm-svn: 15897
* Add support for targets without a .zero directiveChris Lattner2004-08-171-4/+23
| | | | llvm-svn: 15894
* This file is no longer used.Misha Brukman2004-08-171-30/+0
| | | | llvm-svn: 15893
* Start using alignment output routines from AsmPrinter.Chris Lattner2004-08-171-12/+12
| | | | | | | | Changes to make this more similar to the X86 asmprinter Fix overalignment of globals. llvm-svn: 15891
* Start using alignment output routines from AsmPrinter.Chris Lattner2004-08-171-10/+8
| | | | | | Changes to make this more similar to the ppc asmprinter llvm-svn: 15890
* Add support for alignmentChris Lattner2004-08-171-0/+6
| | | | llvm-svn: 15888
* Add a new helper method to get log2(type alignment)Chris Lattner2004-08-171-0/+7
| | | | llvm-svn: 15887
* Check constant expression validity more strictlyChris Lattner2004-08-171-0/+31
| | | | llvm-svn: 15883
* Work around PR424 for old c/c++ frontends.Chris Lattner2004-08-171-3/+29
| | | | llvm-svn: 15882
* Print comments with ;Chris Lattner2004-08-171-0/+1
| | | | llvm-svn: 15881
* Use a designated comment character when printing comments.Chris Lattner2004-08-171-9/+18
| | | | llvm-svn: 15880
* Bytecode File Format Changes:Reid Spencer2004-08-174-38/+39
| | | | | | | | - File format version number bumped to 4 - Writer will now align nothing - Reader now only expects alignment for version 3 or earlier llvm-svn: 15875
* Re-fix hiding the Frame Pointer from the register allocator in functionsNate Begeman2004-08-173-23/+11
| | | | | | | | that have a frame pointer. This change fixes Burg. In addition, make the necessary changes to floating point code gen and constant loading after Chris Lattner's fixes to the asm writer. These changes fix MallocBench/gs llvm-svn: 15873
* Use the AsmPrinter emitGlobalConstant.Chris Lattner2004-08-171-137/+0
| | | | llvm-svn: 15872
* Add support for targets that have .quad, drop extra tab insertedChris Lattner2004-08-171-6/+6
| | | | llvm-svn: 15870
* Use the emitGlobalConstant defined in AsmPrinterChris Lattner2004-08-171-163/+2
| | | | llvm-svn: 15869
* Implement emitGlobalConstantChris Lattner2004-08-171-0/+161
| | | | llvm-svn: 15868
* New, more general, interface.Chris Lattner2004-08-172-2/+2
| | | | llvm-svn: 15866
* Allow an arbitrary prefixChris Lattner2004-08-171-4/+3
| | | | llvm-svn: 15865
* We now allow targets to use any prefix they want for global symbols. LetsChris Lattner2004-08-171-1/+1
| | | | | | hear it for ".". llvm-svn: 15863
* Rewrite targets/rules to generate files for just PowerPC or PPC{32,64}Misha Brukman2004-08-171-19/+18
| | | | llvm-svn: 15862
OpenPOWER on IntegriCloud