summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Try to fix unit test linking on linux ...Benjamin Kramer2009-10-021-2/+2
| | | | llvm-svn: 83252
* MingW build fixesBenjamin Kramer2009-10-022-1/+7
| | | | | | | | | | - MingW needs -lpsapi (in ${LIBS}) linked after -lLLVMSystem. Noticed by Ronald Pijnacker! - Some parts of the System library must be build with exceptions on windows. Based on a patch by Jay Foad! llvm-svn: 83251
* Fix a use-after-free in post-ra-scheduling.Benjamin Kramer2009-10-021-1/+3
| | | | | | | MI->addOperand invalidates references to it's operands, avoid touching the operand after a new one was added. llvm-svn: 83249
* Fix typo.Benjamin Kramer2009-10-021-1/+1
| | | | llvm-svn: 83246
* FileCheckize test case.Benjamin Kramer2009-10-021-26/+22
| | | | llvm-svn: 83244
* Fix make rule when objdir is inside srcdir.Torok Edwin2009-10-021-1/+1
| | | | llvm-svn: 83243
* getFunctionAlignment should return log2 alignment.Evan Cheng2009-10-022-3/+4
| | | | llvm-svn: 83242
* Fix tests.Evan Cheng2009-10-022-3/+3
| | | | llvm-svn: 83241
* Fix test.Evan Cheng2009-10-021-1/+2
| | | | llvm-svn: 83240
* C++ member functions must be 2 byte aligned per ABI.Evan Cheng2009-10-021-0/+19
| | | | llvm-svn: 83239
* Forgot about ARM::tPUSH. It also has a new writeback operand.Evan Cheng2009-10-022-0/+11
| | | | llvm-svn: 83237
* Move load / store multiple before post-alloc scheduling.Evan Cheng2009-10-024-17/+7
| | | | llvm-svn: 83236
* Don't update the struct alignment when adding fields to a packed struct. ↵Anders Carlsson2009-10-022-4/+16
| | | | | | Fixes PR5118. llvm-svn: 83235
* Test case for aligned attribute on function declaration.Evan Cheng2009-10-021-0/+7
| | | | llvm-svn: 83234
* More magic pixie dust.Mike Stump2009-10-021-3/+3
| | | | llvm-svn: 83232
* Fix up debug information for block pointers a bit more.Mike Stump2009-10-021-1/+3
| | | | llvm-svn: 83231
* When building constant structs, check if the resulting LLVM struct will be ↵Anders Carlsson2009-10-022-39/+66
| | | | | | bigger than the record layout size and use a packed struct if that's the case. Fixes PR5108. llvm-svn: 83230
* Make sure to free the explicit template arguments provided for anDouglas Gregor2009-10-013-1/+9
| | | | | | | explicit instantiation. Also, tighten up reference-count checking to help catch these issues earlier. Fixes PR5069. llvm-svn: 83225
* - Remove Sema::FindMethodInNestedImplementations().Steve Naroff2009-10-014-24/+17
| | | | | | | | | - Add ObjCInterfaceDecl::lookupPrivateInstanceMethod(). - Convert clients. No functionality change - One less method in Sema:-) llvm-svn: 83224
* All callee-saved registers are live-out of a return block.David Goodwin2009-10-011-18/+21
| | | | llvm-svn: 83223
* When the return type of a function is dependent, don't perform anyDouglas Gregor2009-10-013-2/+20
| | | | | | | | | | | | of the flow-control checks for falling off the end of a function, since the return type may instantiate to void. Similarly, if a return statement has an expression and the return type of the function is void, don't complain if the expression is type-dependent, since that type could instantiate to void. Fixes PR5071. llvm-svn: 83222
* Implement a FIXME. This improves codegen just a tad.Mike Stump2009-10-012-11/+12
| | | | llvm-svn: 83221
* Remove neonfp attribute and instead set default based on CPU string. Add ↵David Goodwin2009-10-0121-37/+40
| | | | | | -arm-use-neon-fp to override the default. llvm-svn: 83218
* enumerator value of 0 is not a null pointer constant forFariborz Jahanian2009-10-012-0/+24
| | | | | | deciding const of null pointer conversion. Fixes PR5086. llvm-svn: 83217
* Expand api out in the usual inserter way, though, I do have aMike Stump2009-10-012-4/+23
| | | | | | | question, can we get rid of the BasicBlock versions of all inserters and use Head == 0 to indicate the old case when GetInsertBlock == 0? llvm-svn: 83216
* Restore the -post-RA-scheduler flag as an override for the target ↵David Goodwin2009-10-019-15/+61
| | | | | | specification. Remove -mattr for setting PostRAScheduler enable and instead use CPU string. llvm-svn: 83215
* ARM::tPOP and tPOP_RET each has an extra writeback operand now.Evan Cheng2009-10-014-2/+19
| | | | llvm-svn: 83214
* remove trailing whitespaceJim Grosbach2009-10-011-19/+19
| | | | llvm-svn: 83213
* CodeGen may see out-of-line declarations of the various special memberDouglas Gregor2009-10-012-15/+32
| | | | | | | | | | | functions when they are explicitly declared, e.g., via a function template specialization or explicit template instantiation declaration. Don't try to synthesize bodies for the special member functions in this case; rather, check whether we have an implicit declaration and, if so, synthesize the appropriate function body. Fixes PR5084. llvm-svn: 83212
* Patch to implement static casting which requires one Fariborz Jahanian2009-10-015-8/+74
| | | | | | user-defined type conversion. Fixes PR5040. llvm-svn: 83211
* Add support to extract lexical scope information from DebugLoc attached with ↵Devang Patel2009-10-012-1/+143
| | | | | | | | an machine instruction. This is not yet enabled. llvm-svn: 83210
* Set __EXCEPTIONS by checking on darwin's triple.Fariborz Jahanian2009-10-011-3/+8
| | | | | | Patch by Rafael Espindola. llvm-svn: 83209
* Use MachineFrameInfo.getPristineRegs() to determine which callee-saved ↵David Goodwin2009-10-011-47/+30
| | | | | | registers are available for anti-dependency breaking. Some cleanup. llvm-svn: 83208
* Record first and last instruction of a scope in DbgScope.Devang Patel2009-10-011-2/+8
| | | | llvm-svn: 83207
* Don't use identifiers that start with an underscore followedDan Gohman2009-10-011-2/+2
| | | | | | by a capital letter, which invokes undefined behavior. llvm-svn: 83206
* Fix bad grammar in static analyzer diagnostic. Reported by Robert Purves!Ted Kremenek2009-10-012-3/+3
| | | | llvm-svn: 83204
* Teach CMake to look for bidirectional_iterator, iterator, forward_iterator, ↵Douglas Gregor2009-10-012-9/+46
| | | | | | uint64_t, and u_int64_t, from Yonggang Luo llvm-svn: 83203
* Move the "needs exception support" logic to clang. This also fixesRafael Espindola2009-10-012-11/+32
| | | | | | | -fno-exceptions in C++ code. We used to always define __EXCEPTIONS in C++. llvm-svn: 83199
* Observe hasExtraSrcRegAllocReq and hasExtraDefRegAllocReq. Do not changeEvan Cheng2009-10-011-18/+55
| | | | | | operands of instructions with these properties while breaking anti-dep. llvm-svn: 83198
* Add hasExtraSrcRegAllocReq and hasExtraDefRegAllocReq flags to ld / st multiple,Evan Cheng2009-10-015-24/+33
| | | | | | ld / st pairs, etc. llvm-svn: 83197
* Add instruction flags: hasExtraSrcRegAllocReq and hasExtraDefRegAllocReq. WhenEvan Cheng2009-10-015-1/+31
| | | | | | | | | | set, these flags indicate the instructions source / def operands have special register allocation requirement that are not captured in their register classes. Post-allocation passes (e.g. post-alloc scheduler) should not change their allocations. e.g. ARM::LDRD require the two definitions to be allocated even / odd register pair. llvm-svn: 83196
* Fix a lame regression in IR gen for C++ delete expressions. PR5102Douglas Gregor2009-10-012-0/+14
| | | | llvm-svn: 83195
* Remove GVNPRE.cpp from the CMake makefileDouglas Gregor2009-10-011-1/+0
| | | | llvm-svn: 83194
* remove the GVNPRE pass. It has been subsumed by the GVN pass.Chris Lattner2009-10-0122-2324/+0
| | | | | | Ok'd by Owen. llvm-svn: 83193
* Update ARM JIT emitter to account for ld/st multiple changes.Evan Cheng2009-10-011-3/+3
| | | | llvm-svn: 83192
* Change ld/st multiples to explicitly model the writeback to base register. ↵Evan Cheng2009-10-016-40/+55
| | | | | | This fixes most of the -ldstopti-before-sched2 regressions. llvm-svn: 83191
* Add another MDNode into DebugLocTuple. This will be used to keep track of ↵Devang Patel2009-10-013-12/+17
| | | | | | inlined functions. llvm-svn: 83190
* If location info is attached with an instruction then keep track of alloca ↵Devang Patel2009-10-012-3/+23
| | | | | | slots used by a variable. This info will be used by AsmPrinter to emit debug info for variables. llvm-svn: 83189
* Add support for class and protocol references.Steve Naroff2009-10-013-145/+203
| | | | llvm-svn: 83186
* A couple of refinements for laying out debug information forMike Stump2009-10-011-12/+15
| | | | | | BlockDeclRefDecls. llvm-svn: 83185
OpenPOWER on IntegriCloud