summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Initialize MMIDevang Patel2009-06-203-0/+12
| | | | llvm-svn: 73813
* Parsing and AST support for using declarations, from John Thompson!Douglas Gregor2009-06-2018-15/+275
| | | | llvm-svn: 73812
* hook up printMemReference.Chris Lattner2009-06-201-4/+2
| | | | llvm-svn: 73811
* Start implementing translation of MachineInstr to MCInst. NextChris Lattner2009-06-202-8/+371
| | | | | | | | | step is to make tblgen generate something more appropriate for MCInst, and generate calls to operand translation routines where needed. This includes a bunch of #if 0 code which will slowly be refactored into something sensible. llvm-svn: 73810
* make immediates be int64_t like machineoperand. Add some apisChris Lattner2009-06-201-4/+10
| | | | llvm-svn: 73809
* Tweak this test to be a little less unusual.Dan Gohman2009-06-201-2/+2
| | | | llvm-svn: 73808
* Generalize isLoopGuardedByCond's checking to consider twoDan Gohman2009-06-202-3/+134
| | | | | | | | | | SCEVUnknowns with identical Instructions to be equal. This allows it to analze cases such as the attached testcase, where the front-end has cloned the loop controlling expression. Along with r73805, this lets IndVarSimplify eliminate all the sign-extend casts in the loop in the attached testcase. llvm-svn: 73807
* Workaround for an... interesting bug in Darwin's pthread_rwlock_init.Owen Anderson2009-06-201-0/+7
| | | | llvm-svn: 73806
* Use ScalarEvolution's new GetMinSignBits and GetMinLeadingZerosDan Gohman2009-06-201-3/+6
| | | | | | | in the loop backedge-taken count computation of the maximum possible trip count. llvm-svn: 73805
* Add -fblocksDouglas Gregor2009-06-201-2/+2
| | | | llvm-svn: 73804
* Add debugging code to test for various locking faux-pas's, when running in ↵Owen Anderson2009-06-202-2/+38
| | | | | | | | single threaded mode. This should help improve testing coverage for threading support, without having extensive actually concurrent clients yet. llvm-svn: 73803
* Forgot this file.Owen Anderson2009-06-201-8/+5
| | | | llvm-svn: 73802
* Revert r73790, and replace it with a significantly less ugly solution. ↵Owen Anderson2009-06-207-475/+356
| | | | | | | | | Rather than trying to make the global reader-writer lock work, create separate recursive mutexes for each value map. The recursive-ness fixes the double-acquiring issue, which having one per ValueMap lets us continue to maintain some concurrency. llvm-svn: 73801
* Added writing and reading of the ConstQualAdded flag ofFariborz Jahanian2009-06-202-0/+2
| | | | | | BlockDeclRefExpr to PCH. llvm-svn: 73800
* stub out some hacky code for wiring up the new asmprinter interfacesChris Lattner2009-06-195-13/+99
| | | | | | on X86. Not useful yet. llvm-svn: 73799
* allow clients of the asmprinter to opt-out of the boilerplate with a #define.Chris Lattner2009-06-191-1/+5
| | | | llvm-svn: 73798
* Keep track of when declarations are "used" according to C andDouglas Gregor2009-06-1920-30/+243
| | | | | | | | | | | | C++. This logic is required to trigger implicit instantiation of function templates and member functions of class templates, which will be implemented separately. This commit includes support for -Wunused-parameter, printing warnings for named parameters that are not used within a function/Objective-C method/block. Fixes <rdar://problem/6505209>. llvm-svn: 73797
* Fix a typo in a comment that Frits von Bommel noticed.Dan Gohman2009-06-191-1/+1
| | | | llvm-svn: 73796
* Use QualType to represent block's implicit return type asFariborz Jahanian2009-06-195-14/+54
| | | | | | to not lose its 'const/volatile' qualifier. llvm-svn: 73795
* Make GetMinTrailingZeros a member function of ScalarEvolution,Dan Gohman2009-06-192-22/+97
| | | | | | | | | | | so that it can access the TargetData member (when available) and use ValueTracking.h information to compute information for SCEVUnknown Values. Also add GetMinLeadingZeros and GetMinSignBits functions, with minimal implementations. llvm-svn: 73794
* Re-apply r73718, now that the fix in r73787 is in, and add aDan Gohman2009-06-194-32/+66
| | | | | | | hand-crafted testcase which demonstrates the bug that was exposed in 254.gap. llvm-svn: 73793
* DwarfWriter is used to emit EH info also.Devang Patel2009-06-191-4/+4
| | | | llvm-svn: 73792
* Enable arm pre-allocation load / store multiple optimization pass.Evan Cheng2009-06-194-25/+40
| | | | llvm-svn: 73791
* Fix a serious bug that would cause deadlock during abstract type refinement. ↵Owen Anderson2009-06-198-356/+469
| | | | | | | | | | The constant creation gets involved, and we end up trying to recursively acquire a writer lock. The fix for this is slightly horrible, and involves passing a boolean "locked" parameter around in Constants.cpp, but it's better than having locked and unlocked versions of most of the code. llvm-svn: 73790
* Fix LSR's OptimizeSMax to ignore max operators with more than 2 operands,Dan Gohman2009-06-191-0/+5
| | | | | | which it isn't prepared to handle. llvm-svn: 73787
* mv CodeGen/DebugLoc.h Support/DebugLoc.hDevang Patel2009-06-198-13/+11
| | | | llvm-svn: 73786
* Move up dwarf writer initialization in common AsmPrinter class.Devang Patel2009-06-199-56/+24
| | | | llvm-svn: 73784
* Revert 73718. It's breaking 254.gap.Evan Cheng2009-06-193-35/+31
| | | | llvm-svn: 73783
* Patch for implementation of C++'s object model. This isFariborz Jahanian2009-06-197-5/+192
| | | | | | work in progress. llvm-svn: 73782
* Unbreak cyclic depsAnton Korobeynikov2009-06-199-40/+104
| | | | llvm-svn: 73781
* Fix bad paste-o in the MSVC atomics.Owen Anderson2009-06-191-2/+2
| | | | | | Patch by Иван Сорокин. llvm-svn: 73779
* Forgot to remove some explicit locking when it became implicit in the ValueMap.Owen Anderson2009-06-191-3/+5
| | | | llvm-svn: 73778
* Fences are expensive. Avoid doing them when we're not in multithreaded mode.Owen Anderson2009-06-191-4/+4
| | | | llvm-svn: 73777
* Make ScalarEvolution::print print getSCEVAtScope values forDan Gohman2009-06-191-2/+10
| | | | | | expressions, when interesting. llvm-svn: 73776
* Move the memory fences out of the path for single-threaded mode.Owen Anderson2009-06-192-14/+15
| | | | llvm-svn: 73775
* Don't (unconditionally) use getSCEVAtScope to simplify the stepDan Gohman2009-06-192-1/+18
| | | | | | | | expression in IVUsers, because in the case of a use of a non-linear addrec outside of a loop, this causes the addrec to be evaluated as a linear addrec. llvm-svn: 73774
* Fix incorrect comment pointed out by Duncan.Owen Anderson2009-06-191-1/+1
| | | | llvm-svn: 73773
* Clean up nightly tester to use Perl's File::Find.Bob Wilson2009-06-191-28/+9
| | | | | | Patch by Benjamin Kramer. llvm-svn: 73772
* Remove more GetSVal/GetLValue methods in GRExprEngine/GRState, insteadTed Kremenek2009-06-193-189/+163
| | | | | | | preferring to use their replacements in GRState. This further unifies the code paths for such logic and leads to some code reduction. llvm-svn: 73771
* Fix a major typo.Owen Anderson2009-06-191-1/+1
| | | | | | Nicolas, this is probably the cause of the failures you were seeing. llvm-svn: 73770
* make jump threading handle lexically identical compare instructionsChris Lattner2009-06-192-4/+47
| | | | | | | | as if they were multiple uses of the same instruction. This interacts well with the existing loadpre that j-t does to open up many new jump threads earlier. llvm-svn: 73768
* fix the sparc codegen to not depend on the sparc asmprinter.Chris Lattner2009-06-193-11/+29
| | | | llvm-svn: 73767
* Add support for AuroraUX. Patch by evocallaghan.Duncan Sands2009-06-192-1/+5
| | | | llvm-svn: 73766
* Since -Wno-long-long is ignored without -pedantic,Duncan Sands2009-06-191-3/+3
| | | | | | | | | place it with -pedantic. Remove -Wunused since it is implied by -Wall. Group -Wno-unused-parameter with -Wall -W since it is the combination of these two that turns on -Wunused-parameter. llvm-svn: 73765
* Fix bug in the new PCHReader constructor. PP and Context should be ↵Argyrios Kyrtzidis2009-06-191-1/+1
| | | | | | initialized to 0. llvm-svn: 73762
* Add comments.Evan Cheng2009-06-191-0/+4
| | | | llvm-svn: 73761
* Fix for PR2484: add an SSE1 pattern for a shuffle we normally prefer to Eli Friedman2009-06-192-0/+15
| | | | | | handle with an SSE2 instruction. llvm-svn: 73760
* Should be using Bcc (average) latency to determine if-conversion threshold, ↵Evan Cheng2009-06-191-1/+1
| | | | | | not BL. llvm-svn: 73759
* Tiny correction on the command-line source location parser.Argyrios Kyrtzidis2009-06-191-1/+1
| | | | llvm-svn: 73758
* Minor cleanup; fixes review comments for a previous patch. Sorry for Eli Friedman2009-06-191-4/+3
| | | | | | taking so long to get to this! llvm-svn: 73757
OpenPOWER on IntegriCloud