- Jan 26, 2009
-
-
Evan Cheng authored
llvm-svn: 63007
-
Chris Lattner authored
testing code. llvm-svn: 63006
-
Evan Cheng authored
llvm-svn: 63005
-
Chris Lattner authored
the content cache pointer. This saves 105876 bytes on cocoa.h because it shrinks the SLocEntry union, which we have a big array of. It would be nice to use PointerIntPair here, but we can't because it is in a union. llvm-svn: 63004
-
Chris Lattner authored
llvm-svn: 63003
-
Ted Kremenek authored
Use tag classes instead of typedefs for GDM entries 'ConstNotEq' and 'ConstEq'. This avoids collisions in the GDM. llvm-svn: 63002
-
Chris Lattner authored
llvm-svn: 63001
-
Chris Lattner authored
llvm-svn: 63000
-
Chris Lattner authored
we just discard them. llvm-svn: 62999
-
Mon P Wang authored
has a different number of elements than the output. llvm-svn: 62998
-
Chris Lattner authored
llvm-svn: 62997
-
Chris Lattner authored
llvm-svn: 62996
-
Dan Gohman authored
tidy up SDUse and related code. - Replace the operator= member functions with a set method, like LLVM Use has, and variants setInitial and setNode, which take care up updating use lists, like LLVM Use's does. This simplifies code that calls these functions. - getSDValue() is renamed to get(), as in LLVM Use, though most places can either use the implicit conversion to SDValue or the convenience functions instead. - Fix some more node vs. value terminology issues. Also, eliminate the one remaining use of SDOperandPtr, and SDOperandPtr itself. llvm-svn: 62995
-
Chris Lattner authored
This reduces fsyntax-only time on c99-intconst-1.c from 2.43s down to 2.01s (20%), reducing the number of fileid lookups from 2529040 linear and 64771121 binary to 5625902 linear and 4151182 binary. This knocks getFileID down to only 4.6% of compile time on this testcase. At this point, malloc/free is over 35% of compile time, primarily allocating MacroArgs objects and their argument preexpansion vectors. I don't feel like malloc avoiding right now, so I'm just going to call this good. llvm-svn: 62994
-
Chris Lattner authored
of a macro. Since these tokens may themselves be from macro expansions, we need to resolve down to the spelling loc when the macro ends up being instantiated. Instead of resolving this for each token expanded from the macro definition, just do it once when the macro is defined. This speeds up clang on c99-intconst-1.c from 2.66s to 2.43s (9.5%), reducing the FileID lookups from 407244 linear and 114175649 binary to 2529040 linear and 64771121 binary. llvm-svn: 62993
-
Chris Lattner authored
per token lexed from it. This speeds up clang on c99-intconst-1.c from the GCC testsuite from 3.64s to 2.66s (36%). This reduces the number of binary search FileID lookups from 251570522 to 114175649 on this testcase. llvm-svn: 62992
-
Scott Michel authored
llvm-svn: 62991
-
Scott Michel authored
- Rename fcmp.ll test to fcmp32.ll, start adding new double tests to fcmp64.ll - Fix select_bits.ll test - Capitulate to the DAGCombiner and move i64 constant loads to instruction selection (SPUISelDAGtoDAG.cpp). <rant>DAGCombiner will insert all kinds of 64-bit optimizations after operation legalization occurs and now we have to do most of the work that instruction selection should be doing twice (once to determine if v2i64 build_vector can be handled by SelectCode(), which then runs all of the predicates a second time to select the necessary instructions.) But, CellSPU is a good citizen.</rant> llvm-svn: 62990
-
Nate Begeman authored
llvm-svn: 62989
-
Nate Begeman authored
llvm-svn: 62988
-
Nick Lewycky authored
llvm-svn: 62987
-
Nate Begeman authored
llvm-svn: 62986
-
Chris Lattner authored
llvm-svn: 62985
-
Chris Lattner authored
handling the flaw inherent in that assumption. :) llvm-svn: 62984
-
Chris Lattner authored
llvm-svn: 62983
-
Chris Lattner authored
llvm-svn: 62982
-
Eli Friedman authored
CompoundLiteralExpr so that there aren't any null pointers in the AST. llvm-svn: 62981
-
Nate Begeman authored
other x86 segments. address space 0 is stack/default, 1-255 are reserved for client use. llvm-svn: 62980
-
Nate Begeman authored
llvm-svn: 62979
-
Chris Lattner authored
ground work for implementing #line, and fixes the "out of macro ID's" problem. There is nothing particularly tricky about the code, other than the very performance sensitive SourceManager::getFileID() method. llvm-svn: 62978
-
Sebastian Redl authored
llvm-svn: 62977
-
Chris Lattner authored
llvm-svn: 62976
-
Chris Lattner authored
llvm-svn: 62975
-
- Jan 25, 2009
-
-
Chris Lattner authored
llvm-svn: 62974
-
Torok Edwin authored
llvm-svn: 62973
-
Torok Edwin authored
for example in the case of va-args. XFAIL associated tests. llvm-svn: 62972
-
Sebastian Redl authored
llvm-svn: 62971
-
Torok Edwin authored
llvm-svn: 62969
-
Torok Edwin authored
llvm-svn: 62967
-
Dan Gohman authored
of each use in the SelectionDAG ReplaceAllUses* functions. Thanks to Chris for spotting this opportunity. Also, factor out code from all 5 of the ReplaceAllUses* functions into AddNonLeafNodeToCSEMaps, which is now renamed AddModifiedNodeToCSEMaps to more accurately reflect its purpose. llvm-svn: 62964
-