summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Switch to using IRBuilder throughout.Jay Foad2009-05-121-204/+195
| | | | llvm-svn: 71587
* static methods don't get this pointers.Chris Lattner2009-05-121-4/+4
| | | | llvm-svn: 71586
* revert my previous patch, I committed the wrong file.Chris Lattner2009-05-121-10/+2
| | | | llvm-svn: 71585
* Diagnostic wording fix, from Anders JohnsenDouglas Gregor2009-05-121-1/+1
| | | | llvm-svn: 71584
* static methods don't get this pointers.Chris Lattner2009-05-121-2/+10
| | | | llvm-svn: 71583
* 80 col violations.Evan Cheng2009-05-121-2/+4
| | | | llvm-svn: 71582
* Fix: <rdar://problem/6320065> false positive - init method returns an object ↵Ted Kremenek2009-05-122-22/+89
| | | | | | | | | owned by caller Now 'init' methods are treated by the retain/release checker as claiming their receiver and allocating a new object. llvm-svn: 71579
* Fixed typos, used DenseSet for keeping track ofFariborz Jahanian2009-05-121-34/+48
| | | | | | | selectors which need use Nonfrgile API for message dispatch. llvm-svn: 71578
* Align the N/A in the C++ status table, from Anders JohnsenDouglas Gregor2009-05-121-2/+2
| | | | llvm-svn: 71576
* Add nounwind.Evan Cheng2009-05-121-1/+1
| | | | llvm-svn: 71575
* Fixed a stack slot coloring with reg bug: do not update implicit use / def ↵Evan Cheng2009-05-124-18/+278
| | | | | | when doing forward / backward propagation. llvm-svn: 71574
* Use llvm::raw_stream instead of llvm::Streams.Bill Wendling2009-05-122-2/+4
| | | | llvm-svn: 71573
* accept "#pragma clang foo" where we accept "#pragma GCC foo".Chris Lattner2009-05-122-3/+14
| | | | llvm-svn: 71572
* Patch to implement ivar synthesis of properties declared in protocolsFariborz Jahanian2009-05-124-29/+97
| | | | | | only and used in class imllementations (objc2 Nonfragile ABI specific). llvm-svn: 71571
* Make scan-build process of --use-cc and --html-title more robust.Ted Kremenek2009-05-121-3/+3
| | | | llvm-svn: 71567
* Fill in more C++ status. We're now using the check mark to mean,Douglas Gregor2009-05-121-378/+697
| | | | | | "complete, and we have tests for every paragraph". llvm-svn: 71564
* Fix up a few minor typos in comments.Bob Wilson2009-05-121-7/+7
| | | | llvm-svn: 71563
* Fix 80-col violations and remove trailing whitespace. No functional changes.Bob Wilson2009-05-121-69/+71
| | | | llvm-svn: 71562
* Clarify a comment.Dan Gohman2009-05-121-1/+1
| | | | llvm-svn: 71561
* Iterate over globals once and sectionize them into appropriate sections.Sanjiv Gupta2009-05-124-78/+111
| | | | | | | Later in asmprinter, go over thsese sections and print them. Do not print empty sections. llvm-svn: 71560
* Darwin x86-32 ABI: Now that structure passing is farther along, weDaniel Dunbar2009-05-122-12/+8
| | | | | | don't need special treatment for unions. llvm-svn: 71559
* x86-64 ABI: clang incorrectly passes union { long double, float } inDaniel Dunbar2009-05-122-1/+5
| | | | | | | register. - Merge algorithm was returning MEMORY as it should. llvm-svn: 71556
* Add logic for invalidating array region to CFRefCount.cpp. When invalidatingZhongxing Xu2009-05-127-14/+77
| | | | | | | | | array region, set its default value to conjured symbol. When retrieving its element, create new region value symbol for the element. Also fix some 80 columns violations. llvm-svn: 71548
* Allow client Makefiles control over whether they want -pedantic byDaniel Dunbar2009-05-121-1/+4
| | | | | | | defining NO_PEDANTIC. - Pedantic C89 is a painful language... llvm-svn: 71545
* We do not need to create a label for external defs and decls,Sanjiv Gupta2009-05-122-17/+4
| | | | | | just emit a comment for readability. llvm-svn: 71544
* Set svn:ignore on a slew of +Coverage directoriesDaniel Dunbar2009-05-120-0/+0
| | | | llvm-svn: 71543
* Refactor dependency generation for .ll files.Daniel Dunbar2009-05-121-16/+26
| | | | | | | | | | - This matches the normal dependency generation code. - This also fixes the problem that when building a normal and bitcode archive from the same source, the dependency files would overwrite one another. Which was bad. llvm-svn: 71542
* Remove obsolete Makefile magic for calling llvm-upgradeDaniel Dunbar2009-05-121-16/+0
| | | | llvm-svn: 71540
* Install bytecode libraries with a .bca suffix, otherwise it isn'tDaniel Dunbar2009-05-121-1/+1
| | | | | | | | possible to build both a .a and a .bca. - My understanding is no one else is using this stuff, please let me know if I am wrong. llvm-svn: 71539
* Fix <rdar://problem/6877235> Classes typedef-ed to CF objects should get the ↵Ted Kremenek2009-05-122-3/+32
| | | | | | | | same treatment as CF objects This was accomplished by having 'isTypeRef' recursively walk the typedef stack. llvm-svn: 71538
* Mark mayLoad, mayStore for insns correctly and use themSanjiv Gupta2009-05-123-24/+14
| | | | | | to check if an insn is accessing memory during mem sel optimization. llvm-svn: 71537
* Fix pr4195: When iterating through predecessor blocks, break out of the loopBob Wilson2009-05-122-3/+33
| | | | | | | | | | | after finding the (unique) layout predecessor. Sometimes a block may be listed more than once, and processing it more than once in this loop can lead to inconsistent values for FtTBB/FtFBB, since the AnalyzeBranch method does not clear these values. There's no point in continuing the loop regardless. The testcase for this is reduced from the 2003-05-02-DependentPHI SingleSource test. llvm-svn: 71536
* Factor the code for collecting IV users out of LSR into an IVUsers class,Dan Gohman2009-05-1213-944/+1376
| | | | | | | | | | | | | | | | | | | | | | | | and generalize it so that it can be used by IndVarSimplify. Implement the base IndVarSimplify transformation code using IVUsers. This removes TestOrigIVForWrap and associated code, as ScalarEvolution now has enough builtin overflow detection and folding logic to handle all the same cases, and more. Run "opt -iv-users -analyze -disable-output" on your favorite loop for an example of what IVUsers does. This lets IndVarSimplify eliminate IV casts and compute trip counts in more cases. Also, this happens to finally fix the remaining testcases in PR1301. Now that IndVarSimplify is being more aggressive, it occasionally runs into the problem where ScalarEvolutionExpander's code for avoiding duplicate expansions makes it difficult to ensure that all expanded instructions dominate all the instructions that will use them. As a temporary measure, IndVarSimplify now uses a FixUsesBeforeDefs function to fix up instructions inserted by SCEVExpander. Fortunately, this code is contained, and can be easily removed once a more comprehensive solution is available. llvm-svn: 71535
* Make precompiled headers work with -E. When we're only preprocessingDouglas Gregor2009-05-128-16/+173
| | | | | | | (with -E), we turn the PCH include into an implicit include of the file from which the PCH file was generated. llvm-svn: 71534
* When forgetting SCEVs for loop PHIs, don't forget SCEVUnknown values.Dan Gohman2009-05-122-2/+44
| | | | | | | | | These values aren't analyzable, so they don't care if more information about the loop trip count can be had. Also, SCEVUnknown is used for a PHI while the PHI itself is being analyzed, so it needs to be left in the Scalars map. This fixes a variety of subtle issues. llvm-svn: 71533
* Fix GetMinTrailingZeros for SCEVSignExtend and SCEVZeroExtendExpr toDan Gohman2009-05-121-2/+2
| | | | | | | | | | return the correct value when the cast operand is all zeros. This ought to be pretty rare, because it would mean that the regular SCEV folding routines missed a case, though there are cases they might legitimately miss. Also, it's unlikely anything currently using GetMinTrailingZeros cares about this case. llvm-svn: 71532
* wrap up a version of the man page that is minimally helpful, but somewhat ↵Chris Lattner2009-05-121-45/+31
| | | | | | complete. llvm-svn: 71524
* Update checker build.Ted Kremenek2009-05-121-1/+1
| | | | llvm-svn: 71523
* Avoid unneeded SIB byte encoding. Patch by Zoltan Varga.Evan Cheng2009-05-122-2/+4
| | | | llvm-svn: 71520
* - Record that the debug info is actually used so that the label folder doesn'tBill Wendling2009-05-121-10/+10
| | | | | | | blast it away. - Move InlineInfo bookkeeping to bookkeep the correct debug info object. llvm-svn: 71519
* add some more content.Chris Lattner2009-05-121-80/+182
| | | | llvm-svn: 71518
* Encapsulate template arguments lists in a new class,Douglas Gregor2009-05-119-143/+177
| | | | | | | | TemplateArgumentList. This avoids the need to pass around pointer/length pairs of template arguments lists, and will eventually make it easier to introduce member templates and variadic templates. llvm-svn: 71517
* BugReport::getEndPath() - Only add a Stmt's range to the constructed ↵Ted Kremenek2009-05-112-9/+13
| | | | | | PathDiagnosticEventPiece if the BugReport contained no explicit ranges. llvm-svn: 71516
* Factor code that's common to EmitCXXMemberCallExpr and ↵Anders Carlsson2009-05-112-27/+41
| | | | | | EmitCXXConstructorCall out into a EmitCXXMemberCall function. llvm-svn: 71514
* Use Text::ParseWords to make 'clang -###' parsing more robust.Ted Kremenek2009-05-111-8/+5
| | | | llvm-svn: 71504
* Fixed PR4090.Lang Hames2009-05-111-1/+16
| | | | llvm-svn: 71495
* Tweak this non-default test so it still works w/ x86 feature support.Daniel Dunbar2009-05-111-1/+6
| | | | llvm-svn: 71494
* Test for x86 target features, I forgot to commit this.Daniel Dunbar2009-05-111-0/+3
| | | | llvm-svn: 71492
* Darwin x86-32: Multi-dimensional arrays were not handled correctly,Daniel Dunbar2009-05-112-9/+18
| | | | | | spotted by Eli! llvm-svn: 71490
* Friend declarations are only valid inside class definitions.Anders Carlsson2009-05-114-0/+21
| | | | llvm-svn: 71489
OpenPOWER on IntegriCloud