summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Patch to build class meta-data for each implementation Fariborz Jahanian2009-01-241-9/+44
| | | | | | of class in objc2's nonfragile abi. llvm-svn: 62935
* Add support for declaring pointers to members.Sebastian Redl2009-01-2412-56/+378
| | | | | | Add serialization support for ReferenceType. llvm-svn: 62934
* remove a bunch of alignment handling code out of CGExprScalar, sinceChris Lattner2009-01-241-20/+18
| | | | | | | alignment must always be a constant. Just let the constant folder do it. llvm-svn: 62933
* Improve handling of alignof. alignof(VLA) now works properly for example.Chris Lattner2009-01-241-13/+50
| | | | llvm-svn: 62932
* fix some const-correctness issues.Chris Lattner2009-01-241-1/+5
| | | | llvm-svn: 62931
* remove dead code.Chris Lattner2009-01-241-15/+0
| | | | llvm-svn: 62930
* This patch builds the meta-class object for each Fariborz Jahanian2009-01-241-75/+171
| | | | | | implemented class in objc2's nonfrigile abi. llvm-svn: 62929
* Fix PR3386 by handling GCC's rules for alignof, which are substantiallyChris Lattner2009-01-244-1/+40
| | | | | | different than those for sizeof. Reject alignof(bitfield) like gcc does. llvm-svn: 62928
* fix a fixme, don't leak the expr on error.Chris Lattner2009-01-241-5/+10
| | | | llvm-svn: 62927
* minor formatting changes, no functionality change.Chris Lattner2009-01-241-11/+15
| | | | llvm-svn: 62926
* add note about possible GEP improvement with fields of size 0.Torok Edwin2009-01-241-0/+6
| | | | llvm-svn: 62925
* Fix invalid evaluation of _Complex float (real & imaginary parts hadDaniel Dunbar2009-01-243-2/+15
| | | | | | | mismatched semantics). - Enforce this in APValue. llvm-svn: 62924
* Handle the 'e' constraint. Fixes PR3385Anders Carlsson2009-01-242-2/+10
| | | | llvm-svn: 62923
* Ignore parens when determining if an expr is a string literal. Fixes PR3382.Anders Carlsson2009-01-242-1/+3
| | | | llvm-svn: 62922
* Add a PR comment to this test.Dan Gohman2009-01-241-0/+1
| | | | llvm-svn: 62921
* testcase for PR3381.Torok Edwin2009-01-242-1/+19
| | | | | | Also it was an empty struct, not a void after all. llvm-svn: 62920
* Add more documentation mentioning the limitations due to PR2660.Dan Gohman2009-01-241-2/+31
| | | | llvm-svn: 62919
* void* is represented as pointer to empty struct {}.Torok Edwin2009-01-241-0/+2
| | | | | | | Thus we need to check whether the struct is empty before trying to index into it. This fixes PR3381. llvm-svn: 62918
* Some cleanups. No functional changes.Owen Anderson2009-01-241-26/+34
| | | | llvm-svn: 62917
* Add simple make based harness for running ABI tests.Daniel Dunbar2009-01-242-0/+128
| | | | llvm-svn: 62916
* Start filling in x86_64 ABI implementation.Daniel Dunbar2009-01-241-13/+159
| | | | | | | - No functionality change, moved behind -use-x86_64-abi option until it becomes non-experimental. llvm-svn: 62915
* Updated checker build.Ted Kremenek2009-01-241-1/+1
| | | | llvm-svn: 62914
* Fix crash ElementRegion::getRValueType() when the RvalueType of the ↵Ted Kremenek2009-01-242-10/+19
| | | | | | ArrayRegion is a typedef and not (directly) a pointer. llvm-svn: 62909
* Improve the inlining cost function a bit.Dale Johannesen2009-01-241-3/+6
| | | | | | Little practical effect. llvm-svn: 62908
* Make InstCombineStoreToCast handle aggregates more aggressively,Chris Lattner2009-01-242-18/+65
| | | | | | | handling the case in Transforms/InstCombine/cast-store-gep.ll, which is a heavily reduced testcase from Clang on x86-64. llvm-svn: 62904
* More hacking on static analyzer diagnostics. When emitting summary ↵Ted Kremenek2009-01-247-164/+130
| | | | | | diagnostics the code paths for diagnostics involving paths or single locations are now unified. This patch also constifies many arguments/methods that are touched by this logic, leading to a nice overall code cleanup. llvm-svn: 62903
* Perform optional clang building.Mike Stump2009-01-242-0/+11
| | | | llvm-svn: 62895
* Some very early work for new objc's Fariborz Jahanian2009-01-231-11/+208
| | | | | | meta-data generation. llvm-svn: 62894
* Refactor code. No functionality change.Evan Cheng2009-01-231-20/+38
| | | | llvm-svn: 62893
* Introduce two DWARF attribute extentions DW_AT_APPLE_optimized, ↵Devang Patel2009-01-235-4/+23
| | | | | | | | | | | | DW_AT_APPLE_flags. DW_AT_APPLE_optimized flag is set when a compile_unit is optimized. The debugger takes advantage of this information some way. DW_AT_APPLE_flags encodes command line options when certain env. variable is set. This is used by build engineers to track various gcc command lines used by by a project, irrespective of whether the project used makefile, Xcode or something else. llvm-gcc patch is next. llvm-svn: 62888
* hopefully address PR3379 by making the P modifier work in x86 inline asm.Chris Lattner2009-01-231-0/+3
| | | | llvm-svn: 62887
* Fix a small regression in warning about template type parameter redeclarations.Douglas Gregor2009-01-231-1/+1
| | | | llvm-svn: 62886
* Output summary diagnostic for each bug report.Ted Kremenek2009-01-231-7/+12
| | | | llvm-svn: 62885
* More APSInt appeasementDouglas Gregor2009-01-232-13/+21
| | | | llvm-svn: 62884
* Fix test case. Use valid file name and directory in global variable's debug ↵Devang Patel2009-01-231-1/+1
| | | | | | info entry. llvm-svn: 62883
* Make sure that all NamedDecls have an identifier namespace.Douglas Gregor2009-01-232-9/+16
| | | | | | Make sure that we know a call is invalid if we dropped arguments. llvm-svn: 62882
* use CallSite::isCalle instead of slow getOperandNoGabor Greif2009-01-231-3/+3
| | | | llvm-svn: 62877
* Hopefully the last of the APSInt signedness issues with initializers. Fixes ↵Douglas Gregor2009-01-232-1/+3
| | | | | | PR clang/3378 llvm-svn: 62876
* Added clang option '--analyzer-display-progress' to indicate that the ↵Ted Kremenek2009-01-234-12/+27
| | | | | | analyzer should output 'ANALYZE:' messages to display its progress on a source file. llvm-svn: 62875
* Added virtual method DiagnosticClient::IncludeInDiagnosticCounts(). This is ↵Ted Kremenek2009-01-234-43/+59
| | | | | | | | used by Diagnostics to determine if a diagnostic sent to a given DiagnosticClient should be included in the count of diagnostics. The default implementation of this method returns 'true'. Implemented DiagCollector::IncludeInDiagnosticCounts() to return 'false' so that the batching of diagnostics for use with BugReporter doesn't mess up the count of real diagnostics. llvm-svn: 62873
* ccc: Finish definition of long argument translations.Daniel Dunbar2009-01-232-8/+42
| | | | | | | | - However, these last ones do not actually work; the issue is that they translate to batches of options and need to be reparsed. For now we just give an unsupported error on them. llvm-svn: 62872
* When using -analyzer-output-plist always output a plist file even if it ↵Ted Kremenek2009-01-235-17/+29
| | | | | | contains no error reports. llvm-svn: 62871
* ccc: Another batch of long argument translations.Daniel Dunbar2009-01-231-5/+69
| | | | | | - Again turned up a few which don't do anything sensible. llvm-svn: 62870
* Simplify the logic of getting hold of a PHI predecessor block.Gabor Greif2009-01-236-12/+14
| | | | | | | | | There is now a direct way from value-use-iterator to incoming block in PHINode's API. This way we avoid the iterator->index->iterator trip, and especially the costly getOperandNo() invocation. Additionally there is now an assertion that the iterator really refers to one of the PHI's Uses. llvm-svn: 62869
* Add support for deleting a module provider from a JIT in such a way that it ↵Nate Begeman2009-01-234-2/+48
| | | | | | does not cause the owned module to be fully materialized. llvm-svn: 62864
* Empty DIType represents void. In this case no need to construct any type DIE.Devang Patel2009-01-231-3/+1
| | | | llvm-svn: 62861
* Fold x-0 to x in unsafe-fp-math mode. This comes up in theDan Gohman2009-01-232-9/+19
| | | | | | | | | | | | | | testcase from PR3376, and in fact is sufficient to completely avoid the problem in that testcase. There's an underlying problem though; TLI.isOperationLegal considers Custom to be Legal, which might be ok in some cases, but that's what DAGCombiner is using in many places to test if something is legal when LegalOperations is true. When DAGCombiner is running after legalize, this isn't sufficient. I'll address this in a separate commit. llvm-svn: 62860
* Allow subtraction of function pointer types in C, as a GNU extension. Fixes ↵Douglas Gregor2009-01-232-0/+16
| | | | | | rdar://problem/6520707 llvm-svn: 62859
* Make sure all of the isUnsigned flags line up when comparing initializer ↵Douglas Gregor2009-01-232-3/+8
| | | | | | values, to really really fix PR clang/3377 llvm-svn: 62858
* Handle pointer arithmetic on function pointers.Daniel Dunbar2009-01-232-8/+46
| | | | | | - <rdar://problem/6518844> Clang-generated bitcode crashes LLVM while compiling function pointer addition expression llvm-svn: 62857
OpenPOWER on IntegriCloud