summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* When Intrinsic::getName is constructing names for overloaded intrinsics,Dan Gohman2007-08-201-1/+2
| | | | | | | | use the ValueType name instead of the llvm type name, to match what the verifier expects. For integers these are the same, but for floating-point values the intrinsics use f32/f64 instead of float/double. llvm-svn: 41189
* Fix this test for gcc-4.2.Duncan Sands2007-08-201-1/+1
| | | | llvm-svn: 41187
* Partial implementation of calling functions with byval arguments:Rafael Espindola2007-08-203-2/+33
| | | | | | | *) The needed information is propagated to the DAG *) The X86-64 backend detects it and aborts llvm-svn: 41179
* add a noteChris Lattner2007-08-201-0/+18
| | | | llvm-svn: 41178
* update the xcode project file, patch by Gordon HenriksenChris Lattner2007-08-201-186/+307
| | | | llvm-svn: 41175
* Fix PR1611 - Visibility should be ignored for a declarationChris Lattner2007-08-191-6/+13
| | | | | | | when a definition's visibility is different. Likewise, the visibility of two declarations mismatching is not an error. llvm-svn: 41174
* simplify code and print visibility for declarations.Chris Lattner2007-08-191-25/+21
| | | | llvm-svn: 41173
* add mips target to builder. I'd appreciate it if someone withChris Lattner2007-08-191-1/+5
| | | | | | the right version of autoconf could regenerate the configure script. llvm-svn: 41172
* Oops, remove assert that wasn't meant to be committed.Nick Lewycky2007-08-181-2/+0
| | | | llvm-svn: 41170
* Never insert duplicate edges.Nick Lewycky2007-08-181-13/+17
| | | | llvm-svn: 41169
* Typo.Nick Lewycky2007-08-181-1/+1
| | | | llvm-svn: 41168
* Simplify.Nick Lewycky2007-08-181-2/+1
| | | | llvm-svn: 41167
* Compute the argument list as lazily as possible. This ensures that clientsChris Lattner2007-08-182-23/+71
| | | | | | | | that don't use it don't have to pay the memory cost for the arguments. This allows us to avoid creating Argument nodes for many prototypes and for clients who lazily deserialize code from a bytecode file. llvm-svn: 41166
* use a nicer accessor.Chris Lattner2007-08-181-1/+1
| | | | llvm-svn: 41165
* Test dag xform: Fold C ? 0 : 1 to ~C or zext(~C) or trunc(~C)Evan Cheng2007-08-181-0/+25
| | | | llvm-svn: 41164
* Fold C ? 0 : 1 to ~C or zext(~C) or trunc(~C) depending the types.Evan Cheng2007-08-181-3/+14
| | | | llvm-svn: 41163
* MipsHi now has ouput flagBruno Cardoso Lopes2007-08-181-91/+185
| | | | | | | | | | | | MipsAdd SDNode created to add support to an Add opcode which supports input flag Added an instruction itinerary to all instruction classes Added branches with zero cond codes Now call clobbers all non-callee saved registers Call w/ register support added Added DelaySlot to branch and load instructions Added patterns to handle all setcc, brcond/setcc and MipsAdd instructions llvm-svn: 41161
* Fixed stack frame addressing bugBruno Cardoso Lopes2007-08-181-8/+8
| | | | llvm-svn: 41160
* support for Schedule included on Mips.tdBruno Cardoso Lopes2007-08-182-28/+15
| | | | llvm-svn: 41159
* Removed LowerRETURADDR, fixed small bug into LowerRET, LowerGlobalAddressBruno Cardoso Lopes2007-08-182-17/+11
| | | | | | fixed to generate instructions (add, lui) glued! llvm-svn: 41158
* Couple of small changes. Delay Slot handle header declared. Bruno Cardoso Lopes2007-08-182-2/+3
| | | | | | Newline added after macros at function init on generated asm! llvm-svn: 41157
* Added InstrItinClass support for instruction formatsBruno Cardoso Lopes2007-08-181-9/+10
| | | | llvm-svn: 41156
* Branch Analysis and InsertNoop inserted into header filesBruno Cardoso Lopes2007-08-181-2/+36
| | | | llvm-svn: 41155
* createMipsDelaySlotFillerPass added to mips codegen runtime Bruno Cardoso Lopes2007-08-181-2/+2
| | | | llvm-svn: 41154
* Added Branch Analysis support Bruno Cardoso Lopes2007-08-181-5/+234
| | | | | | Added InsertNoop support llvm-svn: 41153
* LowerRETURNADDR removed since it was wrong and does not have utility yet!Bruno Cardoso Lopes2007-08-181-2/+3
| | | | | | MipsAdd opcode added llvm-svn: 41152
* InstrItineraryData support on added.Bruno Cardoso Lopes2007-08-181-2/+8
| | | | | | Added Mips3 ISA feature (needed when supporting R4000 machines) llvm-svn: 41151
* A Pass to insert Nops on intructions with DelaySlotBruno Cardoso Lopes2007-08-181-0/+77
| | | | llvm-svn: 41150
* Mips generic fallback instruction schedule support!Bruno Cardoso Lopes2007-08-181-0/+63
| | | | llvm-svn: 41149
* Avoid spliting loops where two split condition branches are not independent.Devang Patel2007-08-181-1/+11
| | | | llvm-svn: 41148
* Add loop index split tests.Devang Patel2007-08-177-0/+325
| | | | llvm-svn: 41146
* When one branch of condition is eliminated then head of the otherDevang Patel2007-08-173-22/+64
| | | | | | branch is not necessary immediate dominators of merge blcok in all cases. llvm-svn: 41144
* Avoid issue on 64-bit hosts.Evan Cheng2007-08-171-1/+2
| | | | llvm-svn: 41143
* improve iplist comments. Switch iplist from allocating its sentinal object ↵Chris Lattner2007-08-171-17/+56
| | | | | | | | | (for end()) eagerly to allocating it lazily. This saves a lot of memory for JIT applications that read a module but don't materialize most of the functions (e.g. 62K for 252.eon). llvm-svn: 41142
* Fix GLIBCXX_DEBUG error of comparing two singular iteratorsDavid Greene2007-08-171-3/+8
| | | | llvm-svn: 41139
* Regenerate.Reid Spencer2007-08-171-37/+215
| | | | llvm-svn: 41138
* Fix PR1606:Reid Spencer2007-08-172-2/+6
| | | | | | | | | The AC_CHECK_HEADER macro was used instead of AC_CHECK_HEADERS. The former does not automatically add a #define to the configure variables while the latter does. Consequently, the HAVE_PTHREAD_H symbol was not defined which caused the Mutex.cpp file to compile to an empty implementation. llvm-svn: 41137
* New test. Make sure dynamic_stackalloc size is rounded up.Evan Cheng2007-08-161-0/+16
| | | | llvm-svn: 41135
* Update test: dynamic_stackalloc size *must* be rounded to ensure stack ptr ↵Evan Cheng2007-08-161-1/+8
| | | | | | be left in a valid state. llvm-svn: 41134
* If dynamic_stackalloc alignment is > stack alignment, first issue an ↵Evan Cheng2007-08-161-5/+12
| | | | | | instruction to align the stack ptr before the decrement. llvm-svn: 41133
* - If a dynamic_stackalloc alignment requirement is <= stack alignment, then ↵Evan Cheng2007-08-161-12/+12
| | | | | | | | | the alignment argument is ignored. - *Always* round up the size of the allocation to multiples of stack alignment to ensure the stack ptr is never left in an invalid state after a dynamic_stackalloc. llvm-svn: 41132
* Factor out some code into a helper function.Owen Anderson2007-08-161-55/+34
| | | | llvm-svn: 41131
* Fix the verification for overloaded intrinsic types. Check that they areDan Gohman2007-08-161-6/+19
| | | | | | what they're supposed to be before using them. llvm-svn: 41130
* Add some more comments to GVN.Owen Anderson2007-08-161-0/+14
| | | | llvm-svn: 41129
* Add MVT::fAny for overloading intrinsics on floating-point types.Dan Gohman2007-08-166-2/+27
| | | | llvm-svn: 41128
* Cache non-local memory dependence analysis. This is a significant compileOwen Anderson2007-08-162-3/+33
| | | | | | time performance win in most cases. llvm-svn: 41126
* This adds a bunch of static functions that implement unsignedChris Lattner2007-08-162-0/+692
| | | | | | | | | | | two's complement bignum arithmetic. They could be used to implement much of APInt, but the idea is they are enough to implement APFloat as well, which the current APInt interface is not suited for. Patch by Neil Booth! llvm-svn: 41124
* add byval testRafael Espindola2007-08-161-0/+10
| | | | llvm-svn: 41123
* Improve error handling in the linker by:Reid Spencer2007-08-161-6/+6
| | | | | | | | | | | | | 1. Eliminate redundant error messages. LinkInFile and LinkInArchive already call the error() method in each case so there's no use telling the user again that an item couldn't be linked in. 2. Improve the formatting of error messages (separating content). 3. Change the wording for the warning about unrecognized files. Make it clear that the file is being ignored. llvm-svn: 41121
* Comments.Evan Cheng2007-08-161-3/+7
| | | | llvm-svn: 41119
OpenPOWER on IntegriCloud