- Jan 26, 2009
-
-
Chris Lattner authored
source locations, allow creation of them. We can now say that a token was instantiated here, then here, then here. llvm-svn: 63034
-
Chris Lattner authored
locations, and move the slow case out of line. No perf change on cocoa.h llvm-svn: 63033
-
Sebastian Redl authored
llvm-svn: 63032
-
Sebastian Redl authored
llvm-svn: 63031
-
Chris Lattner authored
which I think is rdar://6527005, and make getDecomposedSpellingLocSlowCase handle nested spelling locations. llvm-svn: 63030
-
Chris Lattner authored
llvm-svn: 63029
-
Chris Lattner authored
Token now has a class of kinds for "literals", which include numeric constants, strings, etc. These tokens can optionally have a pointer to the start of the token in the lexer buffer. This makes it faster to get spelling and do other gymnastics, because we don't have to go through source locations. This change is performance neutral, but will make other changes more feasible down the road. llvm-svn: 63028
-
Anton Korobeynikov authored
allow us to generate more efficient code. We don't do this now though :) llvm-svn: 63027
-
Owen Anderson authored
llvm-svn: 63026
-
Owen Anderson authored
markers, and ended up foiling the interval reconstruction. This allows us to turn on reconstruction in the pre alloc splitter, which fixes a number of miscompilations. llvm-svn: 63025
-
Daniel Dunbar authored
llvm-svn: 63024
-
Evan Cheng authored
Enhance logic in X86DAGToDAGISel::PreprocessForRMW which move load inside callseq_start to allow it to be folded into a call. It was not considering the cases where a token factor is between the load and the callseq_start. llvm-svn: 63022
-
Evan Cheng authored
llvm-svn: 63021
-
Fariborz Jahanian authored
llvm-svn: 63020
-
Chris Lattner authored
llvm-svn: 63019
-
Steve Naroff authored
llvm-svn: 63018
-
Steve Naroff authored
llvm-svn: 63017
-
Daniel Dunbar authored
llvm-svn: 63016
-
Daniel Dunbar authored
llvm-svn: 63015
-
Daniel Dunbar authored
- Unlike llvm-gcc, this doesn't yet treat -emit-llvm output as a linker input. llvm-svn: 63014
-
Roman Levenstein authored
assignment operator) were returning a copy of the bit vector, instead of a reference! This old semantics probably did not meet the expectations. With this patch, chained assignments happen to the right object. llvm-svn: 63012
-
Chris Lattner authored
unique the Filenames in #line directives, assigning them UIDs. llvm-svn: 63010
-
Evan Cheng authored
llvm-svn: 63009
-
Evan Cheng authored
llvm-svn: 63008
-
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
-