- Sep 25, 2009
-
-
Jim Grosbach authored
interest for this, as it currently reserves a register rather than using the scavenger for matierializing constants as needed. Instead of scavenging registers on the fly while eliminating frame indices, new virtual registers are created, and then a scavenged collectively in a post-pass over the function. This isolates the bits that need to interact with the scavenger, and sets the stage for more intelligent use, and reuse, of scavenged registers. For the time being, this is disabled by default. Once the bugs are worked out, the current scavenging calls in replaceFrameIndices() will be removed and the post-pass scavenging will be the default. Until then, -enable-frame-index-scavenging enables the new code. Currently, only the Thumb1 back end is set up to use it. llvm-svn: 82734
-
Anders Carlsson authored
llvm-svn: 82733
-
Douglas Gregor authored
complete (or, possibly causing template instantiation). Test this via some explicit specializations of member functions. llvm-svn: 82732
-
Dale Johannesen authored
llvm-svn: 82731
-
John McCall authored
llvm-svn: 82730
-
Mike Stump authored
delete a few blank lines. llvm-svn: 82729
-
Douglas Gregor authored
first implementation recognizes when a function declaration is an explicit function template specialization (based on the presence of a template<> header), performs template argument deduction + ambiguity resolution to determine which template is being specialized, and hooks There are many caveats here: - We completely and totally drop any explicitly-specified template arguments on the floor - We don't diagnose any of the extra semantic things that we should diagnose. - I haven't looked to see that we're getting the right linkage for explicit specializations On a happy note, this silences a bunch of errors that show up in libstdc++'s <iostream>, although Clang still can't get through the entire header. llvm-svn: 82728
-
Mike Stump authored
llvm-svn: 82727
-
Douglas Gregor authored
llvm-svn: 82726
-
Mike Stump authored
llvm-svn: 82725
-
Fariborz Jahanian authored
(objc GC's API). llvm-svn: 82724
-
John McCall authored
llvm-svn: 82718
-
- Sep 24, 2009
-
-
Chris Lattner authored
; CHECK: movl {{%e[a-z][xi]}}, %eax or whatever. llvm-svn: 82717
-
Chris Lattner authored
llvm-svn: 82716
-
Chris Lattner authored
llvm-svn: 82715
-
Chris Lattner authored
CHECK strings, instead of canonicalizing the patterns directly. This allows Pattern to just contain a StringRef instead of std::string. llvm-svn: 82713
-
Chris Lattner authored
the Pattern class. llvm-svn: 82712
-
Chris Lattner authored
llvm-svn: 82711
-
Bob Wilson authored
llvm-svn: 82710
-
David Goodwin authored
llvm-svn: 82709
-
Dan Gohman authored
llvm-svn: 82708
-
Chris Lattner authored
llvm-svn: 82707
-
Steve Naroff authored
llvm-svn: 82706
-
John McCall authored
Type hierarchy. Demote 'volatile' to extended-qualifier status. Audit our use of qualifiers and fix a few places that weren't dealing with qualifiers quite right; many more remain. llvm-svn: 82705
-
Chris Lattner authored
wpa is an experiment, don't build it by default, it adds to build times due to everything it links in. llvm-svn: 82704
-
Anders Carlsson authored
llvm-svn: 82703
-
Ted Kremenek authored
have the iterators and operator[] handle the traversal of statements, as they are stored in reverse order. Tests show this has no real performance impact, but it does simply the CFG construction logic and will make it slightly easier to change the allocation strategy for CFGBlocks (as we have fewer copies). llvm-svn: 82702
-
Dale Johannesen authored
functions with names that match the C library. llvm-svn: 82701
-
Torok Edwin authored
llvm-svn: 82700
-
Victor Hernandez authored
Reviewed by Devang Patel. llvm-svn: 82694
-
Bob Wilson authored
LocalAreaOffset. (We don't have any of those right now.) PEI::calculateFrameObjectOffsets includes the absolute value of the LocalAreaOffset in the cumulative offset value used to calculate the stack frame size. It then adds the raw value of the LocalAreaOffset to the stack size. For a StackGrowsDown target, that raw value is negative and has the effect of cancelling out the absolute value that was added earlier, but that obviously won't work for a StackGrowsUp target. Change to subtract the absolute value of the LocalAreaOffset. llvm-svn: 82693
-
Devang Patel authored
llvm-svn: 82692
-
Torok Edwin authored
rather structs passed by value. This fixes PR5038. llvm-svn: 82689
-
Daniel Dunbar authored
visible in the log. llvm-svn: 82688
-
Daniel Dunbar authored
llvm-svn: 82687
-
Ted Kremenek authored
Fix crash in RegionStoreManager::Bind() by using 'getAs<PointerType>()' instead of 'cast<PointerType>()' (to handle pointer typedefs). llvm-svn: 82686
-
Daniel Dunbar authored
- Apparently, I'm willing to do incredibly stupid things in the name of portability. llvm-svn: 82685
-
Chris Lattner authored
unconditionally compute MMI even if the target doesn't support EH or Debug info, because the target may use it for other things, this fixes PR5036 llvm-svn: 82684
-
Chris Lattner authored
llvm-svn: 82683
-
Anders Carlsson authored
llvm-svn: 82682
-