- Dec 10, 2010
-
-
Jakob Stoklund Olesen authored
registers for a given virtual register. Reserved registers are filtered from the allocation order, and any valid hint is returned as the first suggestion. For target dependent hints, a number of arcane target hooks are invoked. llvm-svn: 121497
-
-
Douglas Gregor authored
QualType::getTypePtr(). It turns out that cast_or_null/dyn_cast_or_null don't actually use simplify_type, so they're guaranteed to operator on non-NULL QualType or CanQualType objects. Good for a 0.6% win on 403.gcc's combine.c with -emit-llvm. llvm-svn: 121495
-
Johnny Chen authored
llvm-svn: 121494
-
-
Peter Collingbourne authored
We should not substitute template types if the template has a dependent context because the template argument stack is not yet fully formed. Instead, defer substitution until the template has a non-dependent context (i.e. instantiation of an outer template). llvm-svn: 121491
-
Fariborz Jahanian authored
llvm-svn: 121490
-
Douglas Gregor authored
common base for ExtQuals and Type that stores the underlying type pointer. This results in a 2% performance win for -emit-llvm on a typical C file, with 1% memory growth in the AST. Note that there is an API change in this optimization: QualType::getTypePtr() can no longer be invoked on a NULL QualType. If the QualType might be NULL, use QualType::getTypePtrOrNull(). I've audited all uses of getTypePtr() in the code base and changed the appropriate uses over to getTypePtrOrNull(). A future optimization opportunity would be to distinguish between cast/dyn_cast and cast_or_null/dyn_cast_or_null; for the former, we could use getTypePtr() rather than getTypePtrOrNull(), to take another branch out of the cast/dyn_cast implementation. llvm-svn: 121489
-
Abramo Bagnara authored
llvm-svn: 121488
-
Douglas Gregor authored
llvm-svn: 121486
-
Michael J. Spencer authored
llvm-svn: 121485
-
Michael J. Spencer authored
Another git-svn dcommit test. (last time I got access and client errors and it broke everything locally;/) llvm-svn: 121484
-
Michael J. Spencer authored
llvm-svn: 121483
-
Anton Korobeynikov authored
llvm-svn: 121482
-
Anton Korobeynikov authored
llvm-svn: 121481
-
Anton Korobeynikov authored
llvm-svn: 121479
-
John McCall authored
space better. Remove this reference. To make that work, change some APIs (most importantly, getDesugaredType()) to take an ASTContext& if they need to return a QualType. Simultaneously, diminish the need to return a QualType by introducing some useful APIs on SplitQualType, which is just a std::pair<const Type *, Qualifiers>. llvm-svn: 121478
-
Douglas Gregor authored
llvm-svn: 121477
-
NAKAMURA Takumi authored
llvm-svn: 121476
-
John McCall authored
llvm-svn: 121475
-
Douglas Gregor authored
increasing the required type alignment from 8 to 16. This provides a 2.5% speedup for -fsyntax-only on a token-cached Cocoa.h, while only increasing memory consumption in the ASTContext by 0.8%. llvm-svn: 121474
-
Douglas Gregor authored
llvm-svn: 121473
-
Rafael Espindola authored
llvm-svn: 121472
-
Rafael Espindola authored
llvm-svn: 121471
-
Douglas Gregor authored
another preprocessing cursor, since we want the outermost one. llvm-svn: 121470
-
Bob Wilson authored
llvm-svn: 121469
-
Bob Wilson authored
llvm-svn: 121468
-
Daniel Dunbar authored
llvm-svn: 121467
-
Daniel Dunbar authored
llvm-svn: 121466
-
Daniel Dunbar authored
llvm-svn: 121465
-
Bob Wilson authored
Clang was only specifying the overloaded result type. PR8483. llvm-svn: 121464
-
Nick Lewycky authored
Remove dead header. llvm-svn: 121463
-
Rafael Espindola authored
llvm-svn: 121462
-
Rafael Espindola authored
llvm-svn: 121461
-
Rafael Espindola authored
llvm-svn: 121460
-
John McCall authored
visibility. Fixes PR8713. I've disabled a test which was testing that you can #pragma pop visibility to get out of a namespace's visibility attribute. We should probably just diagnose that as an error unless it's instrumental to someone's system headers. llvm-svn: 121459
-
NAKAMURA Takumi authored
llvm-svn: 121458
-
Jim Ingham authored
through a KVO swizzled object's method calls. llvm-svn: 121457
-
Sean Callanan authored
information. Previously, "operator[]" was not being recognized because the detector was looking for "operator " as a prefix. Now we handle both cases. llvm-svn: 121456
-
NAKAMURA Takumi authored
cmake/modules/AddLLVM.cmake: Add empty "phony" target in add_llvm_loadable_module() even if loadable module were not supported. llvm-svn: 121455
-