summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* It's not obvious, but lto_module_create_from_memory doesn't need to use theNick Lewycky2009-02-051-6/+0
| | | | | | | buffer after it creates the Module. Thus, we don't need to store this pointer in claimed_file. llvm-svn: 63834
* Fix a bug where we were not emitting a cvt rnd sat node for convertingMon P Wang2009-02-051-2/+4
| | | | | | between a unsigned integer and signed integer. llvm-svn: 63831
* Remove accidentally included debug message!Nick Lewycky2009-02-051-6/+4
| | | | | | Reword a comment for clarity. Remove some extra whitespace. llvm-svn: 63823
* ccc: Translate -O to -O1 for clang, and only pass last -O option.Daniel Dunbar2009-02-052-1/+12
| | | | llvm-svn: 63816
* Reapply Daniel's patch to match up with llvm 63765.Dale Johannesen2009-02-051-6/+3
| | | | | | Untested, Daniel or Nate please review. llvm-svn: 63814
* x86-32: Use Ignore to avoid passing empty structs (instead of Expand).Daniel Dunbar2009-02-051-2/+2
| | | | llvm-svn: 63813
* Reapply 63765. Patches for clang and llvm-gcc to follow.Dale Johannesen2009-02-0521-43/+207
| | | | llvm-svn: 63812
* Honor ByVal alignment. Patch by Nate Begeman!Daniel Dunbar2009-02-051-2/+3
| | | | llvm-svn: 63811
* This patch generates messaging code for objc2's non-fragile abi.Fariborz Jahanian2009-02-051-4/+21
| | | | llvm-svn: 63810
* Initialize alignment field for ByVal ABIInfo correctly.Daniel Dunbar2009-02-051-1/+1
| | | | llvm-svn: 63809
* Get rid of 3 non-DebugLoc getNode variants.Dale Johannesen2009-02-055-77/+65
| | | | llvm-svn: 63808
* Fix regression: Leak (BugType) object should have 'isLeak()' return true.Ted Kremenek2009-02-051-0/+2
| | | | llvm-svn: 63803
* Ignore dbg intrinsics while folding switch instruction.Devang Patel2009-02-052-8/+77
| | | | llvm-svn: 63802
* Remove non-DebugLoc versions of getMergeValues, ZeroExtendInReg.Dale Johannesen2009-02-057-55/+42
| | | | llvm-svn: 63800
* Unbreak CGFunctionInfo::Profile method and reenable caching of ABIDaniel Dunbar2009-02-052-3/+2
| | | | | | information. llvm-svn: 63799
* Overhaul BugReporter interface and implementation. The new interface cleans upTed Kremenek2009-02-0422-909/+805
| | | | | | | | | | | | | | | | | | | | | the ownership of BugTypes and BugReports. Now BugReports are owned by BugTypes, and BugTypes are owned by the BugReporter object. The major functionality change in this patch is that reports are not immediately emitted by a call to BugReporter::EmitWarning (now called EmitReport), but instead of queued up in report "equivalence classes". When BugReporter::FlushReports() is called, it emits one diagnostic per report equivalence class. This provides a nice cleanup with the caching of reports as well as enables the BugReporter engine to select the "best" path for reporting a path-sensitive bug based on all the locations in the ExplodedGraph that the same bug could occur. Along with this patch, Leaks are now coalesced into a common equivalence class by their allocation site, and the "summary" diagnostic for leaks now reports the allocation site as the location of the bug (this may later be augmented to also provide an example location where the leak occurs). llvm-svn: 63796
* Chase LLVM TOT in circles (i.e., revert r63773 to match revert ofDaniel Dunbar2009-02-041-3/+6
| | | | | | r63765). llvm-svn: 63795
* Add ABIArgInfo::dump()Daniel Dunbar2009-02-042-0/+33
| | | | llvm-svn: 63794
* Remove non-DebugLoc forms of CopyToReg and CopyFromReg.Dale Johannesen2009-02-0415-220/+251
| | | | | | Adjust callers. llvm-svn: 63789
* Reverting 63765. This broke the build of both clangDale Johannesen2009-02-0421-207/+43
| | | | | | and llvm-gcc. llvm-svn: 63786
* Implement semantic analysis for the GNU flexible array initializationDouglas Gregor2009-02-046-39/+186
| | | | | | | | | | | | | extension. The interaction with designated initializers is a bit... interesting... but we follow GNU's lead and don't permit too much crazy code in this area. Also, make the "excess initializers" error message a bit more informative. Addresses PR2561: http://llvm.org/bugs/show_bug.cgi?id=2561 llvm-svn: 63785
* Add support for blocks with explicit return types.Mike Stump2009-02-0411-52/+206
| | | | llvm-svn: 63784
* Use correct signature for calling enumeration mutation function.Daniel Dunbar2009-02-041-1/+1
| | | | llvm-svn: 63782
* Ignore dbg intrinsics.Devang Patel2009-02-042-7/+151
| | | | llvm-svn: 63781
* Temporarily disable caching of ABI results; this is going horriblyDaniel Dunbar2009-02-041-1/+3
| | | | | | wrong in some cases. llvm-svn: 63780
* Implement taking address of member functions, including overloaded ones.Sebastian Redl2009-02-044-12/+60
| | | | llvm-svn: 63779
* ccc: Forward -femit-all-decls to clang and use an option group toDaniel Dunbar2009-02-042-25/+15
| | | | | | simplify handling of -f options clang recognizes. llvm-svn: 63778
* Test case for -femit-all-decls.Daniel Dunbar2009-02-041-0/+8
| | | | llvm-svn: 63777
* Add -femit-all-decls codegen option.Daniel Dunbar2009-02-043-1/+10
| | | | | | | | - Emits all declarations, even unused (static) ones. - Useful when doing minimization of codegen problems (otherwise problems localized to a static function aren't minimized well). llvm-svn: 63776
* Add asserts that the function signature matches the other arguments provideDaniel Dunbar2009-02-042-0/+6
| | | | | | to CGCall functions. llvm-svn: 63775
* Add test case for r63760.Mon P Wang2009-02-041-0/+15
| | | | llvm-svn: 63774
* (llvm up) Update for intrinsic lookup changes.Daniel Dunbar2009-02-041-6/+3
| | | | llvm-svn: 63773
* Remove now-incorrect test.Nate Begeman2009-02-041-9/+0
| | | | llvm-svn: 63772
* Alphabetize includes. Update comment.Torok Edwin2009-02-041-4/+3
| | | | llvm-svn: 63771
* Some early code for objc2's nonfragile abi messaging.Fariborz Jahanian2009-02-041-12/+93
| | | | llvm-svn: 63770
* Patch fixes messaging for GNU runtime.Fariborz Jahanian2009-02-041-58/+36
| | | | | | Patch by David Chisnall llvm-svn: 63769
* 80 column rule.Stuart Hastings2009-02-041-1/+2
| | | | llvm-svn: 63768
* Remove non-DebugLoc versions of getLoad and getStore.Dale Johannesen2009-02-0415-379/+347
| | | | | | Adjust the many callers of those versions. llvm-svn: 63767
* smaller header.Chris Lattner2009-02-041-1/+1
| | | | llvm-svn: 63766
* New feature: add support for target intrinsics being defined in theNate Begeman2009-02-0421-43/+207
| | | | | | | | | target directories themselves. This also means that VMCore no longer needs to know about every target's list of intrinsics. Future work will include converting the PowerPC target to this interface as an example implementation. llvm-svn: 63765
* Fix PR3464 by searching for headers from the predefinesChris Lattner2009-02-043-7/+16
| | | | | | buffer as if the #include happened from the main file. llvm-svn: 63764
* Ok, we need a system header for this test to pass in the clang/test ↵Chris Lattner2009-02-041-2/+2
| | | | | | directory as well as from the pp directory. llvm-svn: 63763
* fix testChris Lattner2009-02-041-1/+2
| | | | llvm-svn: 63762
* rename againChris Lattner2009-02-041-0/+0
| | | | llvm-svn: 63761
* Avoids generating a legalization assert for the case where a vector type is ↵Mon P Wang2009-02-041-2/+10
| | | | | | | | | | legal but when legalizing the operation, we split the vector type and generate a library call whose type needs to be promoted. For example, X86 with SSE on but MMX off, a divide v2i64 will be scalarized to 2 calls to a library using i64. llvm-svn: 63760
* rename some testsChris Lattner2009-02-042-2/+8
| | | | llvm-svn: 63759
* include smaller header for test.Chris Lattner2009-02-041-1/+1
| | | | llvm-svn: 63758
* add DeclTemplate.h/cppChris Lattner2009-02-041-0/+6
| | | | llvm-svn: 63757
* Improve documentation for Sema::getTypeName. Also, it's return type isDouglas Gregor2009-02-043-4/+14
| | | | | | DeclTy*, not TypeTy*. llvm-svn: 63756
* mention that PIC is needed for libLTO and libLLVMgoldTorok Edwin2009-02-041-1/+5
| | | | llvm-svn: 63755
OpenPOWER on IntegriCloud