- Aug 20, 2010
-
-
Benjamin Kramer authored
llvm-svn: 111645
-
Dan Gohman authored
llvm-svn: 111644
-
Dan Gohman authored
pending output errors are detected. llvm-svn: 111643
-
Dan Gohman authored
outside of outs() and errs() themselves, and they don't really need custom classes. llvm-svn: 111642
-
Dan Gohman authored
llvm-svn: 111641
-
Dan Gohman authored
llvm-svn: 111640
-
Dan Gohman authored
class which is using it. llvm-svn: 111639
-
Dan Gohman authored
llvm-svn: 111638
-
Chris Lattner authored
(instead of sign extending) to match ICC. GCC is changing this in a series of their own PRs (e.g. 41323). llvm-svn: 111637
-
Argyrios Kyrtzidis authored
*Huge* improvement over the amount of deserializing that we do for C++ lookup. e.g, if he have the Carbon header precompiled and include it on a file containing this: int x; these are the before/after stats: BEFORE: *** AST File Statistics: 578 stat cache hits 4 stat cache misses 548/30654 source location entries read (1.787695%) 15907/16501 types read (96.400223%) 53525/59955 declarations read (89.275291%) 33993/43525 identifiers read (78.099945%) 41516/51891 statements read (80.006165%) 77/5317 macros read (1.448185%) 0/6335 lexical declcontexts read (0.000000%) 1/5424 visible declcontexts read (0.018437%) AFTER using the on-disk table: *** AST File Statistics: 578 stat cache hits 4 stat cache misses 548/30654 source location entries read (1.787695%) 10/16501 types read (0.060602%) 9/59955 declarations read (0.015011%) 161/43525 identifiers read (0.369902%) 20/51891 statements read (0.038542%) 6/5317 macros read (0.112846%) 0/6335 lexical declcontexts read (0.000000%) 2/5424 visible declcontexts read (0.036873%) There's only one issue affecting mostly the precompiled preambles which I will address soon. llvm-svn: 111636
-
Argyrios Kyrtzidis authored
Introduce the mechanism for building an AST on-disk hash table for name lookup inside a DeclContext but don't use it yet. llvm-svn: 111635
-
Argyrios Kyrtzidis authored
MakeTypeID template function which accepts a type and a function object that returns a TypeIdx. MakeTypeID is in PCHCommon.h so that it can be used by ASTReader too. llvm-svn: 111634
-
Argyrios Kyrtzidis authored
No functionality change. llvm-svn: 111633
-
Argyrios Kyrtzidis authored
No functionality change. llvm-svn: 111632
-
Argyrios Kyrtzidis authored
llvm-svn: 111631
-
Argyrios Kyrtzidis authored
Disambiguate and provide some type safety by using a new class TypeIdx for the "TypeID as index" semantics. llvm-svn: 111630
-
Argyrios Kyrtzidis authored
Share the common code of ComputeHash(Selector Sel) instead of keeping 2 copies in PCHReader and PCHWriter. No functionality change. llvm-svn: 111629
-
Bob Wilson authored
llvm-svn: 111627
-
Erick Tryzelaar authored
llvm-svn: 111626
-
Erick Tryzelaar authored
llvm-svn: 111625
-
Erick Tryzelaar authored
Thanks to Jianzhou Zhao for finding this. llvm-svn: 111624
-
Bob Wilson authored
llvm-svn: 111623
-
Bob Wilson authored
of stopping at the first embedded quote. llvm-svn: 111622
-
Benjamin Kramer authored
llvm-svn: 111621
-
Mikhail Glushenkov authored
Since they now live in the namespace 'autogenerated'. llvm-svn: 111620
-
Mikhail Glushenkov authored
llvm-svn: 111619
-
Mikhail Glushenkov authored
llvm-svn: 111618
-
Mikhail Glushenkov authored
llvm-svn: 111617
-
Ted Kremenek authored
llvm-svn: 111616
-
Ted Kremenek authored
llvm-svn: 111615
-
Bob Wilson authored
zero-extend operations. llvm-svn: 111614
-
Bob Wilson authored
llvm-svn: 111612
-
Douglas Gregor authored
llvm-svn: 111611
-
Douglas Gregor authored
llvm-svn: 111610
-
John McCall authored
Avoids a crash. llvm-svn: 111609
-
Jim Ingham authored
Added "source list -n" so you can list by symbol name. Moved "--count" from "-n" to "-c". Added a -s option so you can restrict the source listing to a particular shared library. llvm-svn: 111608
-
Jim Ingham authored
llvm-svn: 111607
-
Jim Ingham authored
Add methods to Function to get the first and last source lines of the function, and to get whether this Function is an inlined instance or not. llvm-svn: 111606
-
Jim Ingham authored
Remove redundant call to ParseCompileUnitLineTable. The call to sc.comp_unit->GetLineTable() will parse the line table if it hasn't been read in. llvm-svn: 111605
-
Dan Gohman authored
llvm-svn: 111604
-