summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix cmake builds.Mike Stump2009-05-192-0/+6
| | | | llvm-svn: 72078
* Now that we have atomics support properly detected by configure,Owen Anderson2009-05-192-157/+23
| | | | | | | | use it to implement Atomic.h. This expunges the code previously imported from libatomic_ops. llvm-svn: 72077
* Template instantiation for array subscript expressions. This was farDouglas Gregor2009-05-194-1/+67
| | | | | | | easier than expected because of the limitation that subscript operators must be member functions. llvm-svn: 72076
* Test for the presence of GCC atomic builtins at configure time. If not found,Owen Anderson2009-05-182-30/+119
| | | | | | | | disable building LLVM in thread-safe mode and print a nice warning. Regenerate configure for these changes. llvm-svn: 72075
* Add -submit-aux option to NewNightlyTest.plDaniel Dunbar2009-05-181-0/+8
| | | | | | | - If given, the argument will be run using system with the path to the sent data. Useful for testing nightlytest server replacements. llvm-svn: 72070
* BlockDecl node must be complete before block attributesFariborz Jahanian2009-05-181-2/+2
| | | | | | can be processed. No change in functionality. llvm-svn: 72066
* Fix PR 4230: Don't flag leaks of NSAutoreleasePools until we know that we ↵Ted Kremenek2009-05-182-0/+16
| | | | | | aren' at the top-most scope of autorelease pools. llvm-svn: 72065
* Don't set the "location" information for inlined functions' variables.Bill Wendling2009-05-181-7/+16
| | | | llvm-svn: 72064
* Attempted CMake build fixes for r72060; this is untested, so please tell Eli Friedman2009-05-182-7/+7
| | | | | | me if there are any issues. llvm-svn: 72063
* Build fixes for r72060; sorry for any inconvenience.Eli Friedman2009-05-183-5/+4
| | | | llvm-svn: 72062
* Remove -fprintf-source-range-info from the Driver (this was renamed)Daniel Dunbar2009-05-182-2/+0
| | | | llvm-svn: 72061
* Move ASTConsumers.h to include/clang/Frontend, and move the associated Eli Friedman2009-05-187-6/+6
| | | | | | .cpp files to lib/Frontend. (As proposed on cfe-dev.) llvm-svn: 72060
* Move the Wno-rewrite-macros option out of RewriteObjC.cpp in prepration Eli Friedman2009-05-183-12/+23
| | | | | | for moving ASTConsumers.h to include/clang/Frontend. llvm-svn: 72059
* Template instantiation for imaginary literals, because they were next in Expr.hDouglas Gregor2009-05-184-0/+29
| | | | llvm-svn: 72058
* Small code cleanup.Bill Wendling2009-05-181-9/+4
| | | | llvm-svn: 72057
* Rename the factory function for the ObjC rewriter to something sane.Eli Friedman2009-05-183-11/+10
| | | | llvm-svn: 72055
* Move AnalysisConsumer out of ASTConsumers.h in preparation for moving Eli Friedman2009-05-183-8/+11
| | | | | | ASTConsumers.h to include/clang/Frontend. llvm-svn: 72054
* Refactor ASTConsumers to take a raw_ostream instead of a filename where Eli Friedman2009-05-187-187/+156
| | | | | | appropriate. There shouldn't be any significant functionality change. llvm-svn: 72052
* Update a comment to reflect changes in the surrounding code.Dan Gohman2009-05-181-1/+1
| | | | llvm-svn: 72051
* Add short descriptions of 'implicit' and 'parallel'.Evan Cheng2009-05-181-0/+7
| | | | llvm-svn: 72050
* "This patch fixes an obvious buffer overrun inDouglas Gregor2009-05-181-2/+2
| | | | | | SelectInterestingSourceRegion()," from Jay Foad! llvm-svn: 72049
* Fix sorting of using directives, from Jay FoadDouglas Gregor2009-05-181-1/+1
| | | | llvm-svn: 72048
* RecordVariable is called each time a DECLARE node is encountered. For an inlinedBill Wendling2009-05-182-9/+39
| | | | | | | | function, this could be many, many times. We don't want to re-add variables to that DIE for each time. We just want to add them once. Check to make sure that we haven't added them already. llvm-svn: 72047
* Reformat a commentDaniel Dunbar2009-05-181-5/+4
| | | | llvm-svn: 72046
* Add OpSize to 16-bit ADC and SBB.Dale Johannesen2009-05-181-14/+24
| | | | llvm-svn: 72045
* Several fixes to the clang man page.Daniel Dunbar2009-05-181-24/+21
| | | | | | | | | | | | | | - -emit-llvm isn't a stage selection option. - Document -O4 and -flto. - -ObjC++ and -ObjC apply to all inputs, not subsequent ones. - Some versions of pod2man aren't happy about the comment after =over=? - Some minor grammar fixes. llvm-svn: 72044
* Add missing file.Argyrios Kyrtzidis2009-05-181-0/+51
| | | | llvm-svn: 72042
* Deal with an icky corner case where we were complaining that a catchDouglas Gregor2009-05-182-1/+15
| | | | | | | | | statement was using an rvalue reference during the template definition. However, template instantiations based on an lvalue reference type are well-formed, so we delay checking of these property until template instantiation time. llvm-svn: 72041
* Allow the JIT ExecutionEngine to report details about the generated machine ↵Argyrios Kyrtzidis2009-05-184-6/+42
| | | | | | | | | | code. Introduce a new class (MachineCodeInfo) that the JIT can fill in with details. Right now, just the address and the size of the machine code are reported. Patch by Evan Phoenix! llvm-svn: 72040
* more printf attribute on block declaration andFariborz Jahanian2009-05-183-0/+32
| | | | | | checking when block is envoked. In progress. llvm-svn: 72039
* Fix CodePlacementOpt::OptimizeIntraLoopEdges so that its return valueBob Wilson2009-05-181-0/+2
| | | | | | correctly indicates whether it changed the code. llvm-svn: 72038
* Fix pr4202: Disable CodePlacementOpt for ARM. The ARMConstantIslandPass hasBob Wilson2009-05-181-1/+4
| | | | | | | | | to run last because it needs to know the exact size and position of every basic block. Currently CodePlacementOpt is set up to run last. It might be worthwhile to investigate reordering these passes, but for now, let's just make it work. llvm-svn: 72037
* Debug info: Initialize runtime language field correctly for Objective-CDaniel Dunbar2009-05-182-2/+10
| | | | | | interface types. llvm-svn: 72036
* Template instantiation for C++ try/catch statements.Douglas Gregor2009-05-187-29/+136
| | | | llvm-svn: 72035
* Since we miscompile many cases when declaring a variable with a reference ↵Anders Carlsson2009-05-181-0/+10
| | | | | | type, make them unsupported for now. llvm-svn: 72034
* Remove an unused builtin.Anders Carlsson2009-05-183-6/+0
| | | | llvm-svn: 72033
* Add 'cmp' SSE builtins and get rid of a bunch of other builtins.Anders Carlsson2009-05-185-288/+98
| | | | llvm-svn: 72032
* Include StmtNodes.def to declare Visit methods for all of the knownDouglas Gregor2009-05-181-19/+87
| | | | | | | | kinds of statements (in the instantiation logic). No functionality change, but now we'll get linker errors if we add a statement but forget to introduce its instantiation logic. llvm-svn: 72031
* New Spiller interface and trivial implementation.Lang Hames2009-05-183-2/+262
| | | | llvm-svn: 72030
* Revert r72025. It is possible for clients to convert between signed typesDan Gohman2009-05-181-3/+0
| | | | | | | and pointer types safely if they only do so when the sizes are the same. llvm-gcc is such a client. llvm-svn: 72029
* Remove getType() overrides for ExtractValueInst and InsertValueInst.Eric Christopher2009-05-181-10/+0
| | | | | | Patch by John McCall. llvm-svn: 72028
* Simplify struct/class tag mismatch warning, per Sebastian's suggestionDouglas Gregor2009-05-182-2/+1
| | | | llvm-svn: 72027
* Revert last commit. It was wrong.Bill Wendling2009-05-181-2/+1
| | | | llvm-svn: 72026
* Add assertions to CastInst::getCastOpcode to catch attempted conversionsDan Gohman2009-05-181-0/+3
| | | | | | | | between integers and pointers when the source type is marked signed, since inttoptr and ptrtoint always use zero-extension when the destination is larger than the source. llvm-svn: 72025
* Don't call RegionInlinedFnEnd if our optimization level isn't -O0.Bill Wendling2009-05-181-1/+2
| | | | llvm-svn: 72024
* Commands beginning with '--' are converted to '-f' by gcc. Blech!Bill Wendling2009-05-181-1/+1
| | | | llvm-svn: 72023
* Fill in the missing patterns for ADC and SBB.Dale Johannesen2009-05-181-14/+97
| | | | | | Some comment cleanup. llvm-svn: 72022
* Simplify tests now that GNU runtime supports exception handling.Daniel Dunbar2009-05-182-7/+0
| | | | llvm-svn: 72021
* Minor tweak to support format attribute on blocks. No change in functionality.Fariborz Jahanian2009-05-181-3/+3
| | | | llvm-svn: 72020
* Avoid potential out-of-bounds access in SourceManager::getLineNumber.Daniel Dunbar2009-05-181-1/+13
| | | | | | - Chris, please see added FIXMEs. llvm-svn: 72019
OpenPOWER on IntegriCloud