summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CursorVisitor: migrate handling ofTed Kremenek2010-11-171-19/+31
| | | | | | | AddrLabelExpr to data-recursion algorithm, and unify that reasoning with GotoStmt. llvm-svn: 119441
* CursorVisitor: migrate handling ofTed Kremenek2010-11-171-8/+5
| | | | | | VAArgExpr to data-recursion algorithm. llvm-svn: 119440
* CursorVisitor: migrate handling ofTed Kremenek2010-11-171-12/+6
| | | | | | CXXTypeidExpr to data-recursion algorithm. llvm-svn: 119439
* CursorVisitor: migrate handling ofTed Kremenek2010-11-171-6/+6
| | | | | | TypesCompatibleExpr to data-recursion algorithm. llvm-svn: 119438
* CursorVisitor: Migrate CXXUnresolvedConstructExpr over to data-recursive ↵Ted Kremenek2010-11-171-10/+7
| | | | | | algorithm. llvm-svn: 119437
* Add comments.Ted Kremenek2010-11-171-1/+4
| | | | llvm-svn: 119436
* Add binary emission stuff for VLDM/VSTM. This reuses theBill Wendling2010-11-172-6/+49
| | | | | | | "getRegisterListOpValue" logic. If the registers are double or single precision, the value returned is suitable for VLDM/VSTM. llvm-svn: 119435
* Re-enable test with modifications for Neon vector changes in clang.Bob Wilson2010-11-171-3/+3
| | | | | | | | | | I mistakenly thought that this was checking for vector name mangling, but it is not. Since we're no longer wrapping Neon vectors in structs, this test can just return a vector directly. There are already other tests for that, so just to make this interesting, change the test to return a struct of two vectors. llvm-svn: 119434
* Fix typo: Exectuable -> ExecutablePeter Collingbourne2010-11-173-3/+3
| | | | llvm-svn: 119433
* Add support for distros that like x86_64-unknown-linux-gnu.Rafael Espindola2010-11-171-0/+2
| | | | llvm-svn: 119425
* Fixes synthesis of type for the object which holds info.Fariborz Jahanian2010-11-173-4/+11
| | | | | | about a __block cxx object. llvm-svn: 119411
* Fix source-range information for Objective-C properties. Previously,Douglas Gregor2010-11-177-19/+99
| | | | | | | | | | | | we were just getting a range covering only the property name, which is certainly not correct (and broke token annotation, among other things). Also, teach libclang about the relationship between @synthesize/@dynamic and @property, so we get property name and cursor-reference information for @synthesize and @dynamic. llvm-svn: 119409
* Reset the lifetime-managed flag between emission of the agg conditionalJohn McCall2010-11-173-4/+42
| | | | | | branches. Fixes PR8623. llvm-svn: 119408
* Front-end support for __attribute__((may_alias)). This is notDan Gohman2010-11-174-1/+23
| | | | | | yet hooked up to anything yet. llvm-svn: 119407
* Use new neon_vector_type and neon_polyvector_type attributes for Neon vectors.Bob Wilson2010-11-161-7/+11
| | | | llvm-svn: 119406
* Change Neon polynomial types to be signed to match GCC.Bob Wilson2010-11-161-2/+2
| | | | llvm-svn: 119405
* Refactor to new GetNumElements function.Bob Wilson2010-11-161-35/+38
| | | | | | No functional change. llvm-svn: 119404
* Use the correct variable names so that the encodings will be correct.Bill Wendling2010-11-162-4/+4
| | | | llvm-svn: 119403
* Support compound complex operations as l-values in C++. Add a testJohn McCall2010-11-164-5/+422
| | | | | | | case based on CodeGen/volatile-1.c which tests the current C++ semantics, and note the many, many places we fall short of them. llvm-svn: 119402
* Reapply r118917. With pseudo-instruction expansion moved toDan Gohman2010-11-161-5/+5
| | | | | | | a different pass, the complicated interaction between cmov expansion and fast isel is no longer a concern. llvm-svn: 119400
* Add an option '-# count' to run the specified test suite for a said number ↵Johnny Chen2010-11-161-3/+19
| | | | | | | | | | | | | | | of times. This is not to be used during normal test suite run, but to be used to stress test specific test sequences repeatedly. Example: ./dotest.py -# 3 -v breakpoint_conditions will repeat the test suite 3 times for tests under the breakpoint_conditions directory. llvm-svn: 119399
* update coding standards. Partial specialization is now ok,Chris Lattner2010-11-161-3/+4
| | | | | | though possibly not a good idea. llvm-svn: 119398
* license changeHoward Hinnant2010-11-16328-654/+657
| | | | llvm-svn: 119397
* Use different qualifier enums on the request of a clang engineer.Greg Clayton2010-11-161-2/+2
| | | | llvm-svn: 119396
* license changeHoward Hinnant2010-11-164302-8604/+8604
| | | | llvm-svn: 119395
* Fix assembling X86CompilationCallback_Win64.asm on VS 10.Oscar Fuentes2010-11-161-2/+2
| | | | | | Patch by Louis Zhuang! llvm-svn: 119394
* Test for llvm-gcc patch 119392.Dale Johannesen2010-11-161-0/+16
| | | | llvm-svn: 119393
* libc++ is now dual licensed under both UIUC and MIT licenses.Chris Lattner2010-11-162-22/+36
| | | | llvm-svn: 119391
* add a credits file for libc++Chris Lattner2010-11-161-0/+15
| | | | llvm-svn: 119390
* compiler_rt is now dual licensed under MIT and UIUC license.Chris Lattner2010-11-162-23/+36
| | | | llvm-svn: 119389
* Dave Zarzycki showed how the efficiency of shared_ptr could be significantlyHoward Hinnant2010-11-162-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | increased. The following program is running 49% faster: #include <iostream> #include <memory> #include <chrono> #include <vector> #include "chrono_io" int main() { typedef std::chrono::high_resolution_clock Clock; Clock::time_point t0 = Clock::now(); { std::shared_ptr<int> p(new int (1)); std::vector<std::shared_ptr<int> > v(1000000, p); v.insert(v.begin(), p); v.insert(v.begin(), p); v.insert(v.begin(), p); v.insert(v.begin(), p); } Clock::time_point t1 = Clock::now(); std::cout << (t1-t0) << '\n'; } llvm-svn: 119388
* libc++ and compiler_rt are now dual licensed under UIUC and MIT license.Chris Lattner2010-11-161-9/+20
| | | | llvm-svn: 119387
* Fix grammaro.Dan Gohman2010-11-161-1/+1
| | | | llvm-svn: 119386
* Add ExpandPseudos.cpp.Evan Cheng2010-11-161-0/+1
| | | | llvm-svn: 119385
* Add .loc methods to the streamer.Rafael Espindola2010-11-1612-27/+85
| | | | | | | Next: Add support for the !HasDotLocAndDotFile case to the MCAsmStreamer and then switch codegen to use it. llvm-svn: 119384
* I have reverted all contributions made by Jesse Towner in revision 110724Howard Hinnant2010-11-169-134/+21
| | | | llvm-svn: 119383
* Split pseudo-instruction expansion into a separate pass, to make itDan Gohman2010-11-165-13/+92
| | | | | | | easier to debug, and to avoid complications when the CFG changes in the middle of the instruction selection process. llvm-svn: 119382
* Warn about arg1 && arg2 || arg3, as GCC 4.3+ does. Fixes rdar://8659922Argyrios Kyrtzidis2010-11-163-4/+32
| | | | llvm-svn: 119381
* Add const.Rafael Espindola2010-11-161-6/+6
| | | | llvm-svn: 119380
* Use an OwningPtr for the preamble buffer in ASTUnit. This plugs a leakDouglas Gregor2010-11-161-15/+5
| | | | | | | where we failed to free this buffer along one of the paths, and detangles the code a little. llvm-svn: 119379
* turned pointers into pointers to const in function parameters in all ↵Anton Yartsev2010-11-162-186/+186
| | | | | | functions/builtins accepting pointers to a const-qualified type according to PIM and "Language Extensions for CBEA" llvm-svn: 119376
* Fix emergency spilling in LiveIntervals::spillPhysRegAroundRegDefsUses.Jakob Stoklund Olesen2010-11-161-22/+23
| | | | | | | | | | | | | | Always spill the full representative register at any point where any subregister is live. This fixes PR8620 which caused the old logic to get confused and not spill anything at all. The fundamental problem here is that the coalescer is too aggressive about physical register coalescing. It sometimes makes it impossible to allocate registers without these emergency spills. llvm-svn: 119375
* Print out the register class of the current interval.Jakob Stoklund Olesen2010-11-161-2/+3
| | | | llvm-svn: 119374
* Initial check-in of a Python utility to run the lldb test suite and send theJohnny Chen2010-11-161-0/+176
| | | | | | result including the session logs of test failures/errors as a MIME message. llvm-svn: 119371
* Document -enable-no-infs-fp-math and -enable-no-nans-fp-math command line ↵Peter Collingbourne2010-11-162-3/+14
| | | | | | options llvm-svn: 119370
* Tidy up some things in <arm_neon.h>.Bob Wilson2010-11-161-94/+33
| | | | | | | | | Stop defining types with "__neon_" prefixes and then using typedefs without the prefix; there's no reason to do that anymore. Remove types that combine multiple Neon vectors and treat them as a single long vector; they are not used. llvm-svn: 119369
* Implements __block API for c++ objects. There is stillFariborz Jahanian2010-11-163-20/+57
| | | | | | | issue with runtime which I am discussing it with Blaine. This is wip (so no test yet). llvm-svn: 119368
* Reapply "Stop using struct wrappers for Neon vector types in <arm_neon.h>."Bob Wilson2010-11-161-65/+48
| | | | | | I've temporarily disabled the failing clang test. llvm-svn: 119367
* Temporarily disable this check for Neon vector type mangling.Bob Wilson2010-11-161-1/+1
| | | | | | I'll reenable it soon when I'm done reworking <arm_neon.h>. llvm-svn: 119366
* system_error: More conditional error codes for Darwin.Michael J. Spencer2010-11-161-0/+8
| | | | llvm-svn: 119365
OpenPOWER on IntegriCloud