summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Pass and return aggregate types directly to function calls.Sanjiv Gupta2009-04-212-1/+42
| | | | llvm-svn: 69668
* add support for goto checking and @synchronized blocks,Chris Lattner2009-04-215-4/+36
| | | | | | rdar://6810106 llvm-svn: 69667
* fix massive testsuite failures from Alexei's patch due to inverted logic.Chris Lattner2009-04-211-9/+7
| | | | llvm-svn: 69666
* Handle direct aggregate type arguments.Sanjiv Gupta2009-04-212-51/+36
| | | | llvm-svn: 69665
* Split preprocessor initialization logic out of clang-cc intoChris Lattner2009-04-215-486/+625
| | | | | | libfrontend. Patch by Alexei Svitkine! llvm-svn: 69664
* document new form of -fdiagnostics-print-source-range-inChris Lattner2009-04-211-3/+4
| | | | llvm-svn: 69663
* rename -fprint-source-range-info -> -fdiagnostics-print-source-range-info.Chris Lattner2009-04-213-2/+9
| | | | | | Temporarily accept both of them, I'll rip out the old one after awhile. llvm-svn: 69662
* Fix PR4027 + rdar://6808859, we were rejecting implicit casts ofChris Lattner2009-04-212-0/+7
| | | | | | aggregates even though we already accept explicit ones. Easy fix. llvm-svn: 69661
* downgrade from extwarn to warning.Chris Lattner2009-04-211-1/+1
| | | | llvm-svn: 69660
* improve MacroInfo to track the source range of the macro definition,Chris Lattner2009-04-212-2/+20
| | | | | | patch by Alexei Svitkine! llvm-svn: 69659
* use of predefined identifiers like __func__ at global scope warn in sema,Chris Lattner2009-04-212-1/+7
| | | | | | | but crashed codegen. Fix this to report the name of the llvm function. This fixes rdar://6808051 llvm-svn: 69658
* make "in included from" and "in instatiation from" messages respectChris Lattner2009-04-211-9/+15
| | | | | | -fno-show-location, patch by Alexei Svitkine (PR4024) llvm-svn: 69657
* add a preprocessor callback function for #undef, patch byChris Lattner2009-04-212-1/+10
| | | | | | Alexei Svitkine! llvm-svn: 69656
* Teach ScalarEvolution how to recognize zext-inreg and sext-inreg,Dan Gohman2009-04-211-0/+27
| | | | | | | as they appear in LLVM IR. This isn't particularly interesting on its own; this is just setting up some infrastructure. llvm-svn: 69655
* Add a CXXDestroyExpr. Add classof member functions to CXXTempVarDecl.Anders Carlsson2009-04-215-0/+48
| | | | llvm-svn: 69654
* Use an APInt of target int size to detect overflow while parsing multichars.Sanjiv Gupta2009-04-212-15/+20
| | | | | | So 'abc' on i16 platforms will warn but not on i32 platforms. llvm-svn: 69653
* Add the beginnings of a CXXTempVarDecl class.Anders Carlsson2009-04-213-0/+20
| | | | llvm-svn: 69652
* This FIXME is fixed, now that SCEV understands pointers.Dan Gohman2009-04-211-3/+0
| | | | llvm-svn: 69651
* Remove unnused variable.Daniel Dunbar2009-04-211-1/+0
| | | | llvm-svn: 69650
* Factor out a common base class from SCEVTruncateExpr, SCEVZeroExtendExpr,Dan Gohman2009-04-213-64/+48
| | | | | | and SCEVSignExtendExpr. llvm-svn: 69649
* Kill ASTContext::[gs]etFieldForDecl, instead we just lookup thingsDaniel Dunbar2009-04-219-52/+16
| | | | | | | | when we need them -- which is exactly what some code was already doing! - No intended functionality change. llvm-svn: 69648
* Revert 69646, that was the precise inverse of what I wanted to commit.Daniel Dunbar2009-04-211-13/+0
| | | | llvm-svn: 69647
* Kill ASTContext::[gs]etFieldForDecl, instead we just lookup thingsDaniel Dunbar2009-04-211-0/+13
| | | | | | | | when we need them -- which is exactly what some code was already doing! - No intended functionality change. llvm-svn: 69646
* Usage getAnalysisToUpdate for TargetData, per PR760.Dan Gohman2009-04-211-2/+1
| | | | llvm-svn: 69645
* Introduce encapsulation for ScalarEvolution's TargetData object, and refactorDan Gohman2009-04-216-188/+244
| | | | | | the code to minimize dependencies on TargetData. llvm-svn: 69644
* Move some assertion checks so they can do more complete checking.Dan Gohman2009-04-211-6/+8
| | | | llvm-svn: 69643
* Fixup codegen for write barriers for block variables. Radar 6786715Mike Stump2009-04-214-11/+22
| | | | llvm-svn: 69642
* Remove LateBoundIVars() runtime interface, it is unused.Daniel Dunbar2009-04-213-24/+3
| | | | llvm-svn: 69641
* Convert ScalarEvolution to use raw_ostream instead of OStream.Dan Gohman2009-04-213-41/+49
| | | | llvm-svn: 69640
* Assert on a few conditions that (I believe) should holdDaniel Dunbar2009-04-213-0/+5
| | | | | | | w.r.t. ASTContext::[gs]etFieldDecl, and the Field argument to EmitObjCValueForIvar). llvm-svn: 69639
* Look at the TMP environment variable as well.Daniel Dunbar2009-04-211-0/+2
| | | | llvm-svn: 69638
* Fix Visual Studio 2008 build failure.Devang Patel2009-04-211-3/+3
| | | | | | Patch by Marius Wachtler llvm-svn: 69637
* Update this (non-default) test case.Daniel Dunbar2009-04-201-0/+1
| | | | llvm-svn: 69636
* Make X86's copyRegToReg able to handle copies to and from subclasses.Dan Gohman2009-04-202-45/+29
| | | | | | | This makes the extra copyRegToReg calls in ScheduleDAGSDNodesEmit.cpp unnecessary. Derived from a patch by Jakob Stoklund Olesen. llvm-svn: 69635
* Simplify this code. getConstant knows how to makeDan Gohman2009-04-201-10/+3
| | | | | | broadcasted vector constants. llvm-svn: 69634
* No, we are not avoiding -O3, just -fstrict-aliasing.Evan Cheng2009-04-201-2/+2
| | | | llvm-svn: 69633
* Adjust loop size estimate for full unrolling;Dale Johannesen2009-04-201-0/+2
| | | | | | GEP's don't usually become instructions. llvm-svn: 69631
* One Mac OS X, just build with -O3 but without -fstrict-aliasing (which is ↵Evan Cheng2009-04-202-10/+12
| | | | | | kinda broken). llvm-svn: 69630
* ObjC2's Ivar bitmap layout work. No change in functionality.Fariborz Jahanian2009-04-201-17/+29
| | | | llvm-svn: 69629
* Mark TypeForDecl mutable.Daniel Dunbar2009-04-201-1/+1
| | | | | | - Let the const propogation begin. llvm-svn: 69628
* fix the second half of PR4006 and rdar://6807000 by treatingChris Lattner2009-04-202-8/+19
| | | | | | | () as being either zero arguments or one empty argument depending on situation. llvm-svn: 69627
* Make Unix.h:MakeErrMsg separate the prefix and errno string, so we get:Daniel Dunbar2009-04-204-7/+10
| | | | | | | | | | | | | | | | | clang: error: unable to make temporary file: /etc/cc: can't make unique filename: Permission denied instead of clang: error: unable to make temporary file: /etc/cc: can't make unique filenamePermission denied for example. Also, audited the uses of MakeErrMsg to make the prefix strings consistent (not end with newline/punctuation/space/": "). llvm-svn: 69626
* Write the identifier table into the PCH file as an on-disk hash tableDouglas Gregor2009-04-205-25/+122
| | | | | | | | | | | that also includes the contents of the IdentifierInfo itself (the various fields and flags, along with the chain of identifiers visible at the top level that have that name). We don't make any use of the hash table yet, except that our identifier ID -> string mapping points into the hash table now. llvm-svn: 69625
* Remove unused variable.Daniel Dunbar2009-04-201-1/+0
| | | | llvm-svn: 69624
* Fix tyop in SSSE3 header (6808876).Anders Carlsson2009-04-201-2/+2
| | | | llvm-svn: 69623
* Also look at the TEMP environment variable as a place to put temporaryDaniel Dunbar2009-04-201-5/+6
| | | | | | files. llvm-svn: 69622
* Move countInheritedIvars to within striking distance ofDaniel Dunbar2009-04-201-39/+34
| | | | | | | | | | | | GetClassSizeInfo Reduce nesting in GetInterfaceDeclStructLayout. Tweak some comments. No functionality change. llvm-svn: 69621
* Fix spelling error.Steve Naroff2009-04-201-1/+1
| | | | llvm-svn: 69620
* Add pch reader/writer support for ObjCContainerDecl, ObjCInterfaceDecl, & ↵Steve Naroff2009-04-206-4/+90
| | | | | | | | ObjCIvarDecl. Next step: Add selector support to PCHWriter::AddDeclarationName(). llvm-svn: 69619
* the __gnuc_inline__ attribute is actually named __gnu_inline__,Chris Lattner2009-04-2011-26/+26
| | | | | | PR4023 llvm-svn: 69618
OpenPOWER on IntegriCloud