- Jan 27, 2007
-
-
Chris Lattner authored
search. This reduces 'dumb' lookups from 1225 to 359, speeding up parse of carbon.h from 0.173 to 0.156s (10%). llvm-svn: 39319
-
Chris Lattner authored
"obviously braindead" linear searches. reduces the number of slow type lookups from 10K to 883 on carbon.h, speeding up parsing from 3.5 to 1.26s. llvm-svn: 39312
-
Chris Lattner authored
a foldingset instead. This reduces the number of slow type lookups from 32K to 10K, which speeds up parsing of carbon.h from 11s to 3.5s. llvm-svn: 39311
-
- Jan 26, 2007
-
-
Chris Lattner authored
This speeds up parsing carbon.h from 16.0s to 11.3s, reducing slow lookups from 63K to 32K. llvm-svn: 39308
-
Chris Lattner authored
llvm-svn: 39307
-
Chris Lattner authored
ASTContext::getTagDeclType by not having to do a linear search. With this, parse time for carbon.h drops from 21.8s to 16.0s and # slow lookups drop from 83K to 63K. llvm-svn: 39306
-
Chris Lattner authored
*** AST Context Stats: 30594 types total. 19 builtin types 3929 pointer types 308 array types 18883 function types with proto 8 function types with no proto 2988 typename (typedef) types 4459 tagged types 1476 struct types 80 union types 0 class types 2903 enum types 83298 slow type lookups Next up, making type canonicalization not trivially silly. llvm-svn: 39305
-
- Jan 23, 2007
-
-
Chris Lattner authored
converting a declspec with TST = struct/union. Pretty print as well. llvm-svn: 39284
-
- Jan 22, 2007
-
-
Chris Lattner authored
Make name lookup properly obey C namespaces, simplify decl construction byeliminating the 'next' pointer from the ctor, and add initial support forparsing struct/union tags. llvm-svn: 39266
-
- Dec 03, 2006
-
-
Chris Lattner authored
instead of having a string. llvm-svn: 39237
-
- Dec 02, 2006
-
-
Chris Lattner authored
This lets us pretty print stuff like this: void foo() { int X; X = sizeof(void (*(*)())()); X = sizeof(int(*)(int, float, ...)); X = sizeof(void (*(int arga, void (*argb)(double Y)))(void* Z)); as: X = sizeof(void (*(*)())()) X = sizeof(int (*)(int, float, ...)) X = sizeof(void (*(int, void (*)(double)))(void *)) Ah the wonders of 'modern' C syntax! llvm-svn: 39232
-
- Nov 20, 2006
-
-
Chris Lattner authored
allows us to handle stuff like: typedef int G; .. X = sizeof(G); llvm-svn: 39189
-
- Nov 12, 2006
-
-
Chris Lattner authored
This allows us to handle: int (*A)[restrict static 4][6]; for example. llvm-svn: 39176
-
Chris Lattner authored
llvm-svn: 39175
-
Chris Lattner authored
Teach getPointerType to (stupidly) memoize all created pointers. Give types an enum so we can implement classof. llvm-svn: 39174
-
Chris Lattner authored
parse (and print) things like: int* const* restrict* const volatile*** etc. llvm-svn: 39173
-
- Nov 11, 2006
-
-
Chris Lattner authored
llvm-svn: 39166
-
- Nov 10, 2006
-
-
Chris Lattner authored
llvm-svn: 39164
-
Chris Lattner authored
llvm-svn: 39162
-
- Oct 25, 2006
-
-
Chris Lattner authored
llvm-svn: 39048
-
- Oct 16, 2006
-
-
Chris Lattner authored
llvm-svn: 38991
-
- Aug 17, 2006
-
-
Chris Lattner authored
llvm-svn: 38935
-
Chris Lattner authored
llvm-svn: 38933
-
- Jul 29, 2006
-
-
Chris Lattner authored
llvm-svn: 38784
-
Chris Lattner authored
llvm-svn: 38783
-
- Jul 04, 2006
-
-
Chris Lattner authored
llvm-svn: 38658
-