summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Get the right warning message.Reid Spencer2007-02-091-1/+1
| | | | llvm-svn: 34075
* New shell script to replace gccld, eventually.Reid Spencer2007-02-091-0/+23
| | | | llvm-svn: 34074
* Clean up error handling.Reid Spencer2007-02-091-72/+55
| | | | llvm-svn: 34073
* This is done.Evan Cheng2007-02-081-14/+0
| | | | llvm-svn: 34072
* i64 setcc tests.Evan Cheng2007-02-083-6/+38
| | | | llvm-svn: 34067
* Make use of TLI.SimplifySetCC() in LegalizeSetCCOperands().Evan Cheng2007-02-081-8/+36
| | | | llvm-svn: 34066
* Move SimplifySetCC to TargetLowering and allow it to be shared with legalizer.Evan Cheng2007-02-083-401/+436
| | | | llvm-svn: 34065
* Rename CStringMap -> StringMap, since it now supports nul characters in theChris Lattner2007-02-082-25/+25
| | | | | | strings. llvm-svn: 34064
* update this.Chris Lattner2007-02-081-10/+9
| | | | llvm-svn: 34063
* Allow cstringmap to contain strings with nul characters in them.Chris Lattner2007-02-082-32/+62
| | | | llvm-svn: 34062
* For PR1153:Reid Spencer2007-02-081-0/+5
| | | | | | Copy a couple more missing options from gccld to llvm-ld. llvm-svn: 34061
* For PR1153:Reid Spencer2007-02-081-13/+32
| | | | | | | | Make llvm-ld more gccld-like by having it run the same set of passes. The delta was probably due to lack of llvm-ld being maintained. Just another reason to have only one optimizing linker in in LLVM. llvm-svn: 34058
* return addresses, those I already haveAndrew Lenharth2007-02-081-2/+3
| | | | llvm-svn: 34056
* Describe llvm/test more accurately given recent changes.Reid Spencer2007-02-081-13/+21
| | | | llvm-svn: 34055
* Switched this file on accidently.Zhou Sheng2007-02-081-1/+1
| | | | llvm-svn: 34054
* As Chris and Reid suggested, remove "isSigned" field from APInt, instead,Zhou Sheng2007-02-082-226/+262
| | | | | | | | add some signed/unsigned arithmetic operation functions into APInt.h to handle the signed/unsigned issue. These functions will be defined inside a namespace "APIntOps" which is inside llvm namespace. llvm-svn: 34053
* New test cases for PR1187Reid Spencer2007-02-082-0/+33
| | | | llvm-svn: 34052
* Make this legal input.Reid Spencer2007-02-081-1/+1
| | | | llvm-svn: 34051
* Regenerate.Reid Spencer2007-02-083-1395/+1504
| | | | llvm-svn: 34050
* Rename a field so there's less confusion between fields of the same name.Reid Spencer2007-02-081-2/+3
| | | | llvm-svn: 34049
* For PR1187:Reid Spencer2007-02-081-11/+20
| | | | | | Rename function scope names that conflict with basic block names. llvm-svn: 34048
* For PR1187:Reid Spencer2007-02-081-4/+18
| | | | | | | | | Always rename, never give a redef error. We could check for collapsed type planes and generate an error if that's not the cause, but the 99.9999 percentile case will be that its the result of collapsed type planes. So, rather than doing an expensive check, just rename. llvm-svn: 34047
* For PR1187:Reid Spencer2007-02-081-252/+276
| | | | | | | | | | | | | Some changes to get the smbd.ll test case working: 1. Move the logic for CSRETCC->sret attribute out of the ResolveDefinitions code and into getExistingValue. This resolves it much earlier and works in function scope as well. 2. Fix handling of CSRETCC->sret for the store instruction. 3. Rewrite the code for handling renaming to factor in linkage types. 4. Rename a structure filed for a PATypeInfo* so it doesn't get confused with a field for a Type*. llvm-svn: 34043
* Add some more interesting cases to this test.Reid Spencer2007-02-081-0/+2
| | | | llvm-svn: 34042
* For PR1187:Reid Spencer2007-02-081-0/+21
| | | | | | Add some interesting CSRETCC upgrade cases. llvm-svn: 34041
* Fixed comments.Bill Wendling2007-02-082-4/+3
| | | | llvm-svn: 34040
* Fixed a long standing spiller bug that's exposed by Thumb:Evan Cheng2007-02-081-13/+13
| | | | | | | | | | | | | | | | | | | | | | | The code sequence before the spiller is something like: = tMOVrr %reg1117 = tMOVrr %reg1078 = tLSLri %reg1117, 2 The it starts spilling: %r0 = tRestore <fi#5>, 0 %r1 = tRestore <fi#7>, 0 %r1 = tMOVrr %r1<kill> tSpill %r1, <fi#5>, 0 %reg1078 = tLSLri %reg1117, 2 It restores the value while processing the first tMOVrr. At this point, the spiller remembers fi#5 is available in %r0. Next it processes the second move. It restores the source before the move and spills the result afterwards. The move becomes a noop and is deleted. However, a spill has been inserted and that should invalidate reuse of %r0 for fi#5 and add reuse of %r1 for fi#5. Therefore, %reg1117 (which is also assigned fi#5) should get %r1, not %r0. llvm-svn: 34039
* New testcase for PR947Chris Lattner2007-02-081-0/+10
| | | | llvm-svn: 34038
* llvm-gcc3 is goneChris Lattner2007-02-089-11/+0
| | | | llvm-svn: 34037
* Avoid assert() in lto. Let linker handle all failures. Use LTO_WRITE_FAILUREBill Wendling2007-02-081-9/+4
| | | | | | instead of LTO_UNKNOWN. llvm-svn: 34036
* The new version of how to add passes to emit files. We explicitly call aBill Wendling2007-02-082-3/+51
| | | | | | function to add the file writers between calls to add the passes. llvm-svn: 34035
* Moved the MachOWriter and ELFWriter out of the Target/* files. Placed theBill Wendling2007-02-087-36/+20
| | | | | | | | definition of it into the CodeGen library. This is so that a backend doesn't necessarily add in these writers if it doesn't use them (like in the lli program). llvm-svn: 34034
* Added new method to add a "simple" code emitter. That is, to only addBill Wendling2007-02-082-0/+7
| | | | | | the code emitter and not set variables. llvm-svn: 34033
* Split the addPassesToEmitFile method up into two. This is so that we canBill Wendling2007-02-081-48/+52
| | | | | | | do some common stuff, then on our own add an object file writer (by calling a concrete function), and then do some finishing stuff, if need be. llvm-svn: 34032
* Add function to create a file writer.Bill Wendling2007-02-082-3/+28
| | | | llvm-svn: 34031
* Added new method to finish up the addition of passes to emit files. ThisBill Wendling2007-02-081-23/+52
| | | | | | | | allows us to split that method into two so that we can optionally call a concrete function to add a writer. Removed moribund addObjectWriter() method. llvm-svn: 34030
* Dead files. Functionality has been taken over by the Add*Writer functions.Bill Wendling2007-02-082-75/+0
| | | | llvm-svn: 34029
* Declarations for functions that create different file writers.Bill Wendling2007-02-081-0/+32
| | | | llvm-svn: 34028
* Moved from include/llvm/CodeGen to lib/CodeGen.Bill Wendling2007-02-082-8/+7
| | | | llvm-svn: 34027
* For PR1188:Reid Spencer2007-02-082-2/+2
| | | | | | | | Compute BitMask correctly. Patch by Leo (wenwenti@hotmail.com). llvm-svn: 34026
* Regenerate for recent changes.Reid Spencer2007-02-084-800/+888
| | | | llvm-svn: 34025
* For PR1187:Reid Spencer2007-02-081-5/+29
| | | | | | | When a naming conflict arises, allow internal linkage functions to be renamed without warning or error. llvm-svn: 34024
* For PR1187:Reid Spencer2007-02-081-2/+7
| | | | | | | | | Allow @ before identifer names. Recognize the i1, i8, i16, i32, i64 keywords as type names corresponding to bool, ubyte, ushort, uint, and ulong respectively. While these aren't LLVM 1.9 constructs, permitting the syntax allows post-1.9 assembly files to be upgraded. llvm-svn: 34023
* move archive-specific stuff out of bcreader into archive library.Chris Lattner2007-02-074-100/+80
| | | | llvm-svn: 34022
* move an llvmc-specific function out of the bcreader into llvmc.Chris Lattner2007-02-073-28/+17
| | | | llvm-svn: 34021
* move AnalyzeBytecodeFile out of ReaderWrappers.cpp into Analyzer.cpp. NowChris Lattner2007-02-073-36/+15
| | | | | | lli doesn't link in Analyzer.cpp. llvm-svn: 34020
* For PR1187:Reid Spencer2007-02-071-0/+8
| | | | | | | Add a test to ensure that i1, i8, i16, i32 and i64 are recognized by the lexer and vars using them will be renamed appropriately. llvm-svn: 34019
* For PR1187:Reid Spencer2007-02-071-0/+11
| | | | | | | Add a test case to test rename of internal linkage functions with the same name, without an error or warning. llvm-svn: 34018
* new testcase for nested functionsChris Lattner2007-02-071-0/+54
| | | | llvm-svn: 34017
* This really only affects pointers in high memory, and only llvm 1.9, but ↵Andrew Lenharth2007-02-071-0/+28
| | | | | | make a regression for it anyway llvm-svn: 34014
OpenPOWER on IntegriCloud