summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Modify test case comments.Zhongxing Xu2009-06-181-5/+2
| | | | llvm-svn: 73691
* When casting region, if we do not create an element region, record the cast-to Zhongxing Xu2009-06-184-9/+38
| | | | | | | | | type. When retrieving the region value, if we are going to create a symbol value, use the cast-to type if possible. llvm-svn: 73690
* Fix a crash that can occur when a #pragma handler eats to the end of theChris Lattner2009-06-181-1/+1
| | | | | | | | line, and when the pragma is at the end of a file. In this case, the last token consumed could pop the lexer, invalidating CurPPLexer. Thanks to Peter Thoman for pointing it out. llvm-svn: 73689
* Don't use int8_t, that requires DataTypes.hChris Lattner2009-06-181-7/+8
| | | | llvm-svn: 73682
* Fix build when disable thread support.Owen Anderson2009-06-181-1/+1
| | | | | | Patch by Howard Su. llvm-svn: 73680
* include header for uint8_t.Zhongxing Xu2009-06-181-0/+1
| | | | llvm-svn: 73675
* More GRStateRef removal fix.Zhongxing Xu2009-06-181-4/+2
| | | | llvm-svn: 73674
* Add braces to clarify if/else structure and remove warning.Nick Lewycky2009-06-181-1/+2
| | | | llvm-svn: 73673
* Add a target triple to a couple of tests which depend on it. Reported Eli Friedman2009-06-182-3/+3
| | | | | | by Mark Cianciosa on cfe-dev. llvm-svn: 73672
* - Update register allocation hint after coalescing. This is done by the ↵Evan Cheng2009-06-186-87/+172
| | | | | | | | | target since the hint is target dependent. This is important for ARM register pair hints. - Register allocator should resolve the second part of the hint (register number) before passing it to the target since it knows virtual register to physical register mapping. - More fixes to get ARM load / store double word working. llvm-svn: 73671
* Remove GRStateRef.Ted Kremenek2009-06-183-155/+11
| | | | llvm-svn: 73670
* Remove more dependencies on GRStateRef. As a consequence, we can nowTed Kremenek2009-06-184-137/+140
| | | | | | | pretty-print a GRState object anywhere it is referenced (instead of needing a GRStateRef of a GRStateManager handy). llvm-svn: 73669
* It looks like nobody is working on PR 4158, so I'mDale Johannesen2009-06-181-0/+11
| | | | | | | | | adding a check to catch this case at compile time instead of quietly generating incorrect code. That will at least let us identify CBE failures that are not due to this problem. llvm-svn: 73668
* Remove another dependency on GRStateRef.Ted Kremenek2009-06-182-10/+47
| | | | llvm-svn: 73667
* Fix trailing whitespace from ScalarEvolution::print.Dan Gohman2009-06-181-2/+1
| | | | llvm-svn: 73666
* ARM unified syntax is not specific to ELF; use it for Darwin, too.Bob Wilson2009-06-181-1/+1
| | | | llvm-svn: 73665
* Teach ScalarEvolution how to recognize another xor(and(x, C), C) case.Dan Gohman2009-06-182-6/+22
| | | | | | | If C is a single bit and the and gets analyzed as a truncate and zero-extend, the xor can be represnted as an add. llvm-svn: 73664
* Delete unnecessary braces.Dan Gohman2009-06-171-2/+1
| | | | llvm-svn: 73663
* Reapply r73647 in a non-broken form.Owen Anderson2009-06-172-16/+26
| | | | llvm-svn: 73662
* Fix asm string from MOVi16Anton Korobeynikov2009-06-171-1/+1
| | | | llvm-svn: 73661
* Thumb2 instructions are enabled only in unified assembler mode.Anton Korobeynikov2009-06-171-0/+4
| | | | | | | Emit switch directive for it. I have no idea whether this is requirement for Darwin or not. llvm-svn: 73660
* Diagnose class members that shadow a template parameter. FixesDouglas Gregor2009-06-175-3/+25
| | | | | | | | | | <rdar://problem/6952203>. To do this, we actually remove a not-quite-correct optimization in the C++ name lookup routines. We'll revisit this optimization for the general case once more C++ is working. llvm-svn: 73659
* Fix regression testing in Xcode, againDouglas Gregor2009-06-171-1/+5
| | | | llvm-svn: 73658
* Fix some erroneous comments due to trigger-happy copy&paste.Argyrios Kyrtzidis2009-06-171-5/+2
| | | | | | No functionality change. llvm-svn: 73657
* Instcombine zext(trunc(x) & mask) to x&mask, even if the trunc hasDan Gohman2009-06-172-0/+37
| | | | | | multiple users. llvm-svn: 73656
* Factor out some common code into ↵Argyrios Kyrtzidis2009-06-174-27/+34
| | | | | | Sema::EnterDeclaratorContext/ExitDeclaratorContext. llvm-svn: 73655
* Use double-checked locking for this lazy initialization.Owen Anderson2009-06-171-2/+21
| | | | llvm-svn: 73653
* Implement correct name lookup inside an initializer of a C++ class static ↵Argyrios Kyrtzidis2009-06-175-1/+86
| | | | | | | | data member. Fixes "test/CXX/basic/basic.lookup/basic.lookup.unqual/p13.cpp" test case. llvm-svn: 73652
* Move CXXMethodDecl::OutOfLineDefinition into Decl::OutOfLine.Argyrios Kyrtzidis2009-06-175-10/+10
| | | | llvm-svn: 73651
* Removed deadcode related to addition of constructorFariborz Jahanian2009-06-172-29/+21
| | | | | | decls to a class. llvm-svn: 73650
* First step toward fixing <rdar://problem/6613046> refactor clang objc type ↵Steve Naroff2009-06-1719-134/+194
| | | | | | | | | | | | representation. Add a type (ObjCObjectPointerType) and remove a type (ObjCQualifiedIdType). This large/tedious patch is just a first step. Next step is to remove ObjCQualifiedInterfaceType. After that, I will remove the magic TypedefType for 'id' (installed by Sema). This work will enable various simplifications throughout clang (when dealing with ObjC types). No functionality change. llvm-svn: 73649
* Remove more uses of GRStateRef.Ted Kremenek2009-06-174-40/+85
| | | | llvm-svn: 73648
* Protect the GC table in Function.cppOwen Anderson2009-06-172-19/+39
| | | | llvm-svn: 73647
* Honour calling convention and attributes of Callee by default.Anton Korobeynikov2009-06-171-6/+24
| | | | llvm-svn: 73646
* Class 'Environment' no longer should subclass llvm::FoldingSetNode.Ted Kremenek2009-06-171-2/+1
| | | | | | | Environment hasn't been uniqued in a FoldingSet for some time, so this was just wasting a pointer in GRState. llvm-svn: 73645
* Start moving in the direction of removing GRStateRef. Now eachTed Kremenek2009-06-175-285/+360
| | | | | | | | GRState object has a direct reference to its GRStateManager, making the functionality of GRStateRef redunandant. This will lead to some nice API cleanup and code shrinking across libAnalysis. llvm-svn: 73644
* Use atomic increment here.Owen Anderson2009-06-171-2/+7
| | | | llvm-svn: 73643
* Thread-safe (and ManagedStatic-ized) LeakDetector!Owen Anderson2009-06-171-34/+59
| | | | llvm-svn: 73642
* Support dependent extended vector types and template instantiationDouglas Gregor2009-06-1716-60/+258
| | | | | | thereof. Patch by Anders Johnsen! llvm-svn: 73641
* Testing improvements:Daniel Dunbar2009-06-172-27/+121
| | | | | | | | | | | | | | - Make python test runner force COLUMNS=0 to increase determinism. - Substitute clang-cc as we do for clang. - Improved detection of Ctrl-C. - Honor CLANG and CLANGCC environment variables. - Add proper command line arguments to TestRunner.py (see --help) llvm-svn: 73640
* Guard mutation of the timing info global.Owen Anderson2009-06-171-0/+9
| | | | llvm-svn: 73639
* Search path for 64-bit Ubuntu Linux, from Anders JohnsenDouglas Gregor2009-06-171-0/+6
| | | | llvm-svn: 73637
* We need to use double-checked locking for lazy initialization in this case ↵Owen Anderson2009-06-171-1/+15
| | | | | | when running multithreaded. llvm-svn: 73636
* Fix link to BasicBlock doxygen documentation in Programmer's ManualStefanus Du Toit2009-06-171-1/+1
| | | | llvm-svn: 73635
* VNInfo cleanup.Lang Hames2009-06-1710-142/+270
| | | | llvm-svn: 73634
* Add -disable-output to a bunch of tests that don't care about the output.Dan Gohman2009-06-1731-32/+32
| | | | llvm-svn: 73633
* This fixes a bug introduced in 72661, which canDale Johannesen2009-06-173-5/+95
| | | | | | | | | | | | | | | move loads back past a check that the load address is valid, see new testcase. The test that went in with 72661 has exactly this case, except that the conditional it's moving past is checking something else; I've settled for changing that test to reference a global, not a pointer. It may be possible to scan all the tests you pass and make sure none of them are checking any component of the address, but it's not trivial and I'm not trying to do that here. llvm-svn: 73632
* Factor out some common code.Owen Anderson2009-06-171-44/+30
| | | | llvm-svn: 73631
* Add an RAII ScopedWriter, which allows one to acquire a writer lock for the ↵Owen Anderson2009-06-172-41/+72
| | | | | | | | duration of a scope. Simplify a lot of uses of writer locks in Constants.cpp by using it. llvm-svn: 73630
* Added missing @endcode.Fariborz Jahanian2009-06-171-0/+1
| | | | llvm-svn: 73629
OpenPOWER on IntegriCloud