- Jan 08, 2009
-
-
Bill Wendling authored
Some generic clean-ups. Also make the StringMapEntryInitializer specialization apply only to the tests that are actually testing it. llvm-svn: 61923
-
Bill Wendling authored
StringMapEntryInitializer classes. Leave it for the compiler to figure out what the type is and what "0" should be transformed into. * Un-disable the unit tests which test the StringMapEntryInitializer class. llvm-svn: 61922
-
Chris Lattner authored
check242, which invalidates this test. This test is an x86-32 ABI test that is trying to be run in a target-independent way, which is not going to work very well. Just remove the test. llvm-svn: 61921
-
Zhongxing Xu authored
the same name. llvm-svn: 61920
-
Bill Wendling authored
llvm-svn: 61919
-
Chris Lattner authored
llvm-svn: 61918
-
Chris Lattner authored
llvm-svn: 61917
-
Misha Brukman authored
llvm-svn: 61916
-
Chris Lattner authored
loads from allocas that cover the entire aggregate. This handles some memcpy/byval cases that are produced by llvm-gcc. This triggers a few times in kc++ (with std::pair<std::_Rb_tree_const_iterator <kc::impl_abstract_phylum*>,bool>) and once in 176.gcc (with %struct..0anon). llvm-svn: 61915
-
Misha Brukman authored
* Fixed but in StringMap::clear() * Removed trailing whitespace Original patch by Talin. llvm-svn: 61914
-
Ted Kremenek authored
performance gain. Here's what we see for -Eonly on Cocoa.h (using PTH): - wall time decreases by 21% (26% speedup overall) - system time decreases by 35% - user time decreases by 6% These reductions are due to not paging source files just to get spellings for literals. The solution in place doesn't appear to be 100% yet, as we still see some of the pages for source files getting mapped in. Using -print-stats, we see that SourceManager maps in 7179K less bytes of source text (reduction of 75%). Will investigate why the remaining 25% are getting paged in. With these changes, here's how PTH compares to non-PTH on Cocoa.h: -Eonly: PTH takes 64% of the time as non-PTH (54% speedup) -fsyntax-only: PTH takes 89% of the time as non-PTH (11% speedup) llvm-svn: 61913
-
Devang Patel authored
Again, shamelessly copied from MMI. llvm-svn: 61912
-
Ted Kremenek authored
- Added stub PTHLexer::getSpelling() that will be used for fetching cached spellings from the PTH file. This doesn't do anything yet. - Added a hook in Preprocessor::getSpelling() to call PTHLexer::getSpelling() when using a PTHLexer. - Updated PTHLexer to read the offsets of spelling tables in the PTH file. llvm-svn: 61911
-
Ted Kremenek authored
llvm-svn: 61910
-
Ted Kremenek authored
file. For Cocoa.h, this enlarges the PTH file by 310K (4%). llvm-svn: 61909
-
Devang Patel authored
This is a shameless copy of similar APIs from MachineModuleInfo. The copy from MMI will be deleted in near future. llvm-svn: 61908
-
Misha Brukman authored
* Removed trailing whitespace llvm-svn: 61907
-
Misha Brukman authored
llvm-svn: 61906
-
Misha Brukman authored
whitespace. llvm-svn: 61905
-
Misha Brukman authored
llvm-svn: 61904
-
Bob Wilson authored
passed in to this function changed to support multiple return values, leading to some incorrect argument numbers in the failure messages. With this change, the ArgNo values used for return values and parameters are disjoint, and the new IntrinsicParam function translates those ArgNo values to strings that can be used in the messages. This also fixes a few places where PerformTypeCheck did not return false following calls to CheckFailed. llvm-svn: 61903
-
Ted Kremenek authored
Refactor CacheTokens to use a PTHWriter class that creates and manages most of the PTH generation data structures. No functionality change. llvm-svn: 61902
-
Fariborz Jahanian authored
gen issue fix. llvm-svn: 61901
-
Oscar Fuentes authored
llvm-svn: 61900
-
Bob Wilson authored
odd bit-width vector elements. Add a check in the verifier for this also. llvm-svn: 61899
-
Chris Lattner authored
llvm-svn: 61898
-
Misha Brukman authored
The error was reported by gcc-4.3.0 during compilation. llvm-svn: 61896
-
Gabor Greif authored
llvm-svn: 61895
-
- Jan 07, 2009
-
-
Ted Kremenek authored
llvm-svn: 61894
-
Gabor Greif authored
llvm-svn: 61893
-
Dan Gohman authored
llvm-svn: 61891
-
Dan Gohman authored
llvm-svn: 61890
-
Ted Kremenek authored
llvm-svn: 61888
-
Douglas Gregor authored
llvm-svn: 61886
-
Douglas Gregor authored
Fix printing of member references to avoid displaying implicitly-generated member references, e.g., for anonymous struct/unions or implicit 'this' in member functions llvm-svn: 61885
-
Misha Brukman authored
* Fixed {copy,assignment} constructor test names * s/EXPECT_EQ(true, ...)/ASSERT_TRUE(...)/ Patch by Talin. llvm-svn: 61883
-
Fariborz Jahanian authored
of category implementation is undeclared. Issue error instead. llvm-svn: 61882
-
Fariborz Jahanian authored
method on 'super' receiver in a category implementation. Other simpler cases were working by accident. llvm-svn: 61880
-
Duncan Sands authored
llvm-svn: 61879
-
Douglas Gregor authored
Duplicate-member checking within classes is still a little messy, and anonymous unions are still completely broken in C. We'll need to unify the handling of fields in C and C++ to make this code applicable in both languages. llvm-svn: 61878
-