summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Use shuffles to implement insert_vector_elt for i32, i64, f32, and f64.Evan Cheng2007-12-125-64/+58
| | | | llvm-svn: 44929
* Add a test case for -optimize-ext-uses.Evan Cheng2007-12-121-0/+19
| | | | llvm-svn: 44928
* resolve some fixmes and clean up some code by eliminating the get*Vars apis ↵Chris Lattner2007-12-124-122/+90
| | | | | | to some classes and use iterators instead. llvm-svn: 44927
* start cleaning up interfaces for objc bits and pieces by switching to anChris Lattner2007-12-122-21/+39
| | | | | | iterator interface. llvm-svn: 44926
* split objc pieces of SemaDecl.cpp out into SemaDeclObjC.cppChris Lattner2007-12-123-896/+919
| | | | llvm-svn: 44925
* Added back VisitDeclStmt() to the StmtDumper, essentially reverting r44920:Ted Kremenek2007-12-121-9/+28
| | | | | | | | | | | | | http://llvm.org/viewvc/llvm-project?rev=44920&view=rev Putting VisitDeclStmt() was motivated because it called DumpDeclarator(), which printed out a little bit more information than just using the child_iterator interface to visit the subexpressions of DeclStmt. To avoid printing the initializers twice, DumpSubTree() now specially checks for DeclStmts; in such cases it calls VisitDeclStmt() without using the child_iterators to visit the subexpressions. llvm-svn: 44924
* move function to a more logical location, add its grammar productions.Chris Lattner2007-12-122-37/+38
| | | | llvm-svn: 44923
* remove todoChris Lattner2007-12-121-1/+0
| | | | llvm-svn: 44922
* Lower a build_vector with all constants into a constpool load unless it can ↵Evan Cheng2007-12-122-17/+26
| | | | | | be done with a move to low part. llvm-svn: 44921
* Removed VisitDeclStmt(). The initializers of a DeclStmt are now automaticallyTed Kremenek2007-12-121-15/+0
| | | | | | | printed out by DumpSubTree() via the child_iterator interface. This fixes a bug where the initializers were being dumped twice. llvm-svn: 44920
* Unbreak -stats on cocoa.hChris Lattner2007-12-123-3/+8
| | | | llvm-svn: 44919
* add run lines.Chris Lattner2007-12-122-0/+3
| | | | llvm-svn: 44918
* add run lineChris Lattner2007-12-121-1/+1
| | | | llvm-svn: 44917
* add runline, make this test real.Chris Lattner2007-12-121-1/+3
| | | | llvm-svn: 44916
* verify that tests contain RUN lines.Chris Lattner2007-12-121-1/+7
| | | | llvm-svn: 44915
* Add a guard to cxxabi header as other platform mayZhou Sheng2007-12-121-0/+12
| | | | | | not support it. llvm-svn: 44914
* simplify some code.Chris Lattner2007-12-121-43/+25
| | | | llvm-svn: 44913
* implement correct semantic analysis for shifts. For:Chris Lattner2007-12-122-26/+21
| | | | | | | | | | | | int test(int x, long long y) { return x << y; } we now realize the type of the shift is int, not long long. This fixes a fixme from june. llvm-svn: 44912
* Simplify some code, don't force the triple to a darwin triple if non-darwin.Chris Lattner2007-12-121-21/+10
| | | | llvm-svn: 44911
* Fixed PR1629.Zhou Sheng2007-12-122-0/+94
| | | | | | | Make lli interpreter correctly call external functions sin()/cos(), __cxa_guard_acquire() and __cxa_guard_release(). llvm-svn: 44910
* typo reported by Gabor GreifChris Lattner2007-12-121-1/+1
| | | | llvm-svn: 44909
* Fix a codegen crash on test/CodeGen/cast.c, reported by Keith.Chris Lattner2007-12-123-1/+18
| | | | llvm-svn: 44908
* Fix a bug in my previous patch, thanks to Jay Foad forChris Lattner2007-12-121-2/+2
| | | | | | pointing this out and correcting the patch! llvm-svn: 44907
* fix typo pointed out by gordonChris Lattner2007-12-121-1/+1
| | | | llvm-svn: 44906
* Don't muck with phi nodes; bug fixes.Evan Cheng2007-12-121-2/+11
| | | | llvm-svn: 44905
* Correct typo for Linux: s/esp/%rsp/Scott Michel2007-12-121-1/+1
| | | | llvm-svn: 44904
* Bit masks conflicted. Needed to bump them by one.Bill Wendling2007-12-121-9/+9
| | | | llvm-svn: 44903
* Forgot to remove a register from the PHI-union after I'd determined that itOwen Anderson2007-12-121-3/+6
| | | | | | interfered with other registers. Seems like that might be a good thing to do. :-) llvm-svn: 44902
* fix expected errors.Chris Lattner2007-12-121-6/+6
| | | | llvm-svn: 44901
* Add -pedantic so test passes.Fariborz Jahanian2007-12-121-4/+4
| | | | llvm-svn: 44900
* Add (very basic) bindings for ModuleProvider.Gordon Henriksen2007-12-127-0/+90
| | | | llvm-svn: 44899
* Add ObjC parser support for concatenated ObjC strings. Note thatChris Lattner2007-12-127-16/+65
| | | | | | | | this is passed to sema and ignored there, so the second part of the string will not make it into the AST. Passing to Fariborz to finish Sema + AST construction. llvm-svn: 44898
* Implemented type checking for pointer of objects of protocol-qualified types.Fariborz Jahanian2007-12-123-0/+71
| | | | | | | | Note that incompatible-protocol-qualified-types.m is currently failing. This is unrelated to this patch and Steve is looking at the general problem of not reporting incompitible pointer types in return stetement.. llvm-svn: 44897
* Bug fix. Only safe to perform extension uses optimization if the source of ↵Evan Cheng2007-12-121-0/+5
| | | | | | extension is also defined in the same BB as the extension. llvm-svn: 44896
* Changes from Curtis Dunham implementing lazy cycle detection algorithm.Daniel Berlin2007-12-121-125/+287
| | | | | | | Changes from me implementing different way of representing points-to anything. Changes from me that improve slightly on LCD. llvm-svn: 44895
* If deleting a reload instruction due to reuse (value is available in ↵Evan Cheng2007-12-111-2/+18
| | | | | | register R and reload is targeting R), make sure to invalidate the kill information of the last kill. llvm-svn: 44894
* Moved creation of SourceManager, HeaderSearch, TargetInfo, and LangOptionsTed Kremenek2007-12-111-42/+45
| | | | | | | into the loop that processes input files. These will soon become translation unit specific (with the exception of LangOptions). llvm-svn: 44893
* Need to grow the indexed map. Added debug statements.Bill Wendling2007-12-111-21/+27
| | | | llvm-svn: 44892
* simplify code now that isConstantExpr really does alwaysChris Lattner2007-12-111-11/+13
| | | | | | return a loc. llvm-svn: 44890
* Fix a case where we'd return "is not a constant expr" withoutChris Lattner2007-12-111-2/+7
| | | | | | return a location. llvm-svn: 44889
* 80-column please.Fariborz Jahanian2007-12-111-2/+5
| | | | llvm-svn: 44888
* Modified the internals of Diagnostic and DiagnosticClient to useTed Kremenek2007-12-119-32/+46
| | | | | | | | | | | | | | | | SourceManager*'s instead of SourceManager&'s. This allows the client specify a NULL SourceManager when using a default constructed SourceLocation. Thus the SourceManager can be NULL when the SourceLocation's isValid() == false. The interface to most clients of Diagnostic remains the same. Diagnostic::Report() is overload to either accept a SourceLocation and a SourceManager&, or neither. Thus clients that do not have a SourceManager cannot specify a SourceLocation. Modified TextDiagnostics* to use this new interface. Modified the driver to not passed in SourceManager when warning about "-I-". llvm-svn: 44887
* Implemented rewriting of protocol-qualified global variable types.Fariborz Jahanian2007-12-112-19/+72
| | | | | | | Re-implemented some of rewriting of protocol-qualified function argument types to support it in its generality. llvm-svn: 44886
* gcc supports more targets.Chris Lattner2007-12-111-1/+1
| | | | llvm-svn: 44885
* update pch discussionChris Lattner2007-12-111-4/+5
| | | | llvm-svn: 44884
* improve titleChris Lattner2007-12-111-2/+2
| | | | llvm-svn: 44883
* add a con of clang vs gccChris Lattner2007-12-111-0/+3
| | | | llvm-svn: 44882
* Simplify slightly.Bill Wendling2007-12-111-3/+4
| | | | llvm-svn: 44881
* Remove Trie::Edge class. Now edge labels are stored into nodes itself.Anton Korobeynikov2007-12-111-91/+85
| | | | llvm-svn: 44880
* Match union field type when member expression is u->xDevang Patel2007-12-112-3/+15
| | | | llvm-svn: 44879
OpenPOWER on IntegriCloud