summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PowerPC inline asm was emitting two output operandsDale Johannesen2009-08-183-26/+34
| | | | | | | | | for a single "m" constraint; this is wrong because the opcode of a load or store would have to change in parallel. This patch makes it always compute addresses into a register, which is correct but not as efficient as possible. 7144566. llvm-svn: 79292
* Teach Sema how to pop out of friend function definitions in nested classes.John McCall2009-08-182-13/+23
| | | | llvm-svn: 79291
* Fixed typo in last commit pointed out by Anton.David Chisnall2009-08-171-2/+2
| | | | llvm-svn: 79290
* Add prefix only if it is needed.Devang Patel2009-08-172-2/+33
| | | | llvm-svn: 79289
* Changes to TargetABIInfo to (hopefully) select the correct calling ↵David Chisnall2009-08-171-7/+16
| | | | | | convention. This has been tested on FreeBSD, and now correctly generates GCC-compatible code for functions returning small structures. Please test it on other platforms! llvm-svn: 79288
* cleanups per review. Mostly cosmetic, plus use SmallVector in place of ↵Jim Grosbach2009-08-171-24/+16
| | | | | | std::vector. llvm-svn: 79287
* #include <cstdlib> in the code listing for strtod.John McCall2009-08-171-0/+1
| | | | llvm-svn: 79285
* Oops. find all llvm.dbg.global_variables.Devang Patel2009-08-171-1/+1
| | | | llvm-svn: 79274
* Remove a bit more cruft from the sjlj moving to a backend pass.Jim Grosbach2009-08-176-81/+0
| | | | llvm-svn: 79272
* Support compilation for the blackfin back-endJakob Stoklund Olesen2009-08-171-0/+81
| | | | llvm-svn: 79271
* Patch to 1) synthesizing non-trivial default destructor whenFariborz Jahanian2009-08-174-13/+163
| | | | | | | | one is not provided by user. 2) More complete emission of ctor prologue when it has no initializer list or when it is synthesized. llvm-svn: 79269
* Update CMakeLists.Benjamin Kramer2009-08-171-0/+1
| | | | llvm-svn: 79264
* Update comments to new-style syntax.Dan Gohman2009-08-171-2/+2
| | | | llvm-svn: 79263
* Fix build warning.Daniel Dunbar2009-08-171-1/+1
| | | | llvm-svn: 79262
* Remove an ErrorUnsupported call.Anders Carlsson2009-08-172-6/+1
| | | | llvm-svn: 79261
* XFAIL this test for now. David/Steve, please sort out the correct fix.Daniel Dunbar2009-08-171-0/+3
| | | | llvm-svn: 79259
* Privatize the last bits of static type state.Owen Anderson2009-08-172-23/+32
| | | | llvm-svn: 79258
* Test the pass the test is actually for, instead of one that doesn't exist.Nick Lewycky2009-08-171-1/+1
| | | | llvm-svn: 79257
* Move the TypeMap lock to a member on LLVMContextImpl.Owen Anderson2009-08-172-10/+11
| | | | llvm-svn: 79256
* Add locking around the attributes list.Owen Anderson2009-08-171-0/+6
| | | | llvm-svn: 79255
* Add locking around signal handler registration.Owen Anderson2009-08-171-0/+14
| | | | llvm-svn: 79254
* Clear the uniquing table when initializing TLOF to avoid a crash when the ↵Benjamin Kramer2009-08-171-0/+6
| | | | | | TLOF is reinitialized with a different MCContext. llvm-svn: 79253
* Don't crash on critical edge. Patch by Andre Tavares.Nick Lewycky2009-08-172-1/+16
| | | | llvm-svn: 79252
* Move the sjlj exception handling conversions to a back-end pass where theyJim Grosbach2009-08-175-34/+542
| | | | | | | | | more properly belong. This allows removing the front-end conditionalized SJLJ code, and cleans up the generated IR considerably. All of the infrastructure code (calling _Unwind_SjLj_Register/Unregister, etc) is added by the SjLjEHPrepare pass. llvm-svn: 79250
* Update getSectionForConstant() to to allow mergable sections to be nulled outRichard Osborne2009-08-172-3/+14
| | | | | | if not supported by the ELF subtarget. llvm-svn: 79249
* Initial patch to support definitions of id and Class from headers in ↵David Chisnall2009-08-177-16/+78
| | | | | | | | | | Objective-C code. This currently breaks test/SemaObjC/id-isa-ref.m and issues some spurious warnings when you attempt to assign a struct objc_class* value to a Class variable. The test case probably should fail as it's written, because without the definition of Class the compiler should not assume struct objc_class* is a valid receiver type, but it's left broken because it would be nice if we could get that passing too for the special case of isa. Approved by snaroff. llvm-svn: 79248
* Extend the instruction itinerary model to include the ability to indicate ↵David Goodwin2009-08-175-68/+140
| | | | | | the def and use cycle for each operand. This additional information is optional, so existing itineraries do not need to be changed. llvm-svn: 79247
* the MinPad argument to PadToColumn only really makes sense to be 1,Chris Lattner2009-08-177-61/+59
| | | | | | just remove the argument and replace it with 1. llvm-svn: 79246
* Fixed indentation and spelling.Misha Brukman2009-08-171-2/+2
| | | | llvm-svn: 79245
* Fix more missing newlines.Dan Gohman2009-08-171-2/+2
| | | | llvm-svn: 79244
* Fix printing of instructions with null operands.Dan Gohman2009-08-171-1/+1
| | | | llvm-svn: 79243
* Always print at least one space before adding a comment.Dan Gohman2009-08-171-3/+3
| | | | llvm-svn: 79242
* Fix debug output to include a newline after printing a Value, nowDan Gohman2009-08-173-18/+18
| | | | | | that Value's operator<< doesn't include one. llvm-svn: 79240
* Don't access the first element of a potentially emptyDuncan Sands2009-08-171-6/+7
| | | | | | | | | | | vector (&Formals[0]). With this change llvm-gcc builds with expensive checking enabled for C, C++ and Fortran. While there, change a std::vector into a SmallVector. This is partly gratuitous, but mostly because not all STL vector implementations define the data method (and it should be faster). llvm-svn: 79237
* adjust indentation.Zhongxing Xu2009-08-171-15/+15
| | | | llvm-svn: 79236
* XFAIL this test since the fix was reverted.Duncan Sands2009-08-171-0/+1
| | | | llvm-svn: 79235
* Add a test that shows that SSI is working correctly.Nick Lewycky2009-08-171-0/+22
| | | | llvm-svn: 79230
* Remove unused variable.Zhongxing Xu2009-08-171-2/+0
| | | | llvm-svn: 79229
* To make the analysis independent on the locally stored liveness and cfgZhongxing Xu2009-08-1711-18/+26
| | | | | | | of GRStateManager and GRExprEngine, pass the initial location context to the getInitialState() method. llvm-svn: 79228
* change AsmPrinter to switch sections using AsmStreamer instead ofChris Lattner2009-08-176-21/+14
| | | | | | | | | doing it directly. This requires const'izing a bunch of stuff that took sections, but this seems like the right semantic thing to do: emitting a label to a section shouldn't mutate the MCSection object itself, for example. llvm-svn: 79227
* Don't crash trying to promote VLAs.Nick Lewycky2009-08-172-1/+27
| | | | llvm-svn: 79226
* CMake: Updated library dependencies.Oscar Fuentes2009-08-171-1/+1
| | | | llvm-svn: 79223
* give MCAsmStreamer a TargetAsmInfo.Chris Lattner2009-08-174-15/+19
| | | | llvm-svn: 79222
* formatting cleanups, no functionality change.Chris Lattner2009-08-171-43/+36
| | | | llvm-svn: 79221
* Make a declaration consistent with its definition.Oscar Fuentes2009-08-171-1/+1
| | | | llvm-svn: 79220
* CMake: LLVMConfig assigns LLVMX86 to the `native' componentOscar Fuentes2009-08-172-3/+3
| | | | | | name. Updated LLVM_LINK_COMPONENTS of Kaleidoscope. llvm-svn: 79219
* Wrap unit test death tests in GTEST_HAS_DEATH_TESTErick Tryzelaar2009-08-172-5/+9
| | | | llvm-svn: 79218
* Change APFloatTest from using ASSERTs to EXPECTsErick Tryzelaar2009-08-171-67/+67
| | | | llvm-svn: 79216
* Expose creating constant ints and floats from strings to ocaml.Erick Tryzelaar2009-08-164-0/+39
| | | | llvm-svn: 79214
* Expose creating constant ints and floats from strings in llvm-c.Erick Tryzelaar2009-08-162-20/+26
| | | | llvm-svn: 79213
OpenPOWER on IntegriCloud