- Mar 22, 2009
-
-
Chris Lattner authored
the end of the module. llvm-svn: 67482
-
Chris Lattner authored
llvm-svn: 67481
-
Sebastian Redl authored
llvm-svn: 67480
-
Chris Lattner authored
some tests into the alias.c file. llvm-svn: 67479
-
Chris Lattner authored
No intended functionality change. llvm-svn: 67478
-
Eli Friedman authored
llvm-svn: 67477
-
Anders Carlsson authored
llvm-svn: 67476
-
Chris Lattner authored
to something like: define void @bar(%struct.foo* noalias sret %agg.result) nounwind { instead of: define void @bar(%struct.foo* noalias sret %agg.result, ...) nounwind { llvm-svn: 67475
-
Nuno Lopes authored
llvm-svn: 67472
-
Ted Kremenek authored
- Make the Diagnostic::Level for PTH errors to be specified by the caller clang (driver): - Set the PTHManager diagnostic level to "Diagnostic::Error" for -include-pth (a hard error) and Diagnostic::Warning for -token-cache (we can still proceed). llvm-svn: 67462
-
Anders Carlsson authored
Keep track of whether a class is abstract or not. This is currently only used for the __is_abstract type trait. llvm-svn: 67461
-
Chris Lattner authored
build. This shaves another 3% off. llvm-svn: 67460
-
Chris Lattner authored
in release-assert builds. For automatic variables, explicitly set a name with setName that does not make a temporary std::string. This speeds up -emit-llvm-only -disable-free on PR3810 by 4.6% llvm-svn: 67459
-
Chris Lattner authored
ctor function. This avoids creating a temporary std::string for the name, speeding up the testcase in PR3810 by 3.8% llvm-svn: 67457
-
Chris Lattner authored
llvm-svn: 67456
-
- Mar 21, 2009
-
-
Mike Stump authored
copy_helpers and dispose_helpers as necessary for them. llvm-svn: 67453
-
Douglas Gregor authored
lists. The code wasn't accounting for the distinction between the top-level call to getStructuredSubobjectInit and later calls that occur deeper in the hierarchy. This problem manifested itself as over-allocation in cases where we have large arrays of small structures (<rdar://problem/6707362>). llvm-svn: 67452
-
Fariborz Jahanian authored
category or protocol. llvm-svn: 67450
-
Chris Lattner authored
very simple places, reimplement the deferred decl emission logic to not be O(N^2), fixing PR3810. llvm-svn: 67447
-
Chris Lattner authored
function definition. llvm-svn: 67446
-
Chris Lattner authored
code path. llvm-svn: 67445
-
Chris Lattner authored
GetAddrOfFunction. This is simpler and more efficient. llvm-svn: 67444
-
Chris Lattner authored
CreateFunctionPrototypeIR, though my next patch will eliminate it entirely. llvm-svn: 67443
-
Chris Lattner authored
1. it wasn't applying to definitions, only declarations, e.g. int x __asm("foo") 2. multiple definitions were conflicting, they weren't getting merged. 3. the code was duplicated in several places. llvm-svn: 67442
-
Chris Lattner authored
llvm-svn: 67441
-
Chris Lattner authored
llvm-svn: 67440
-
Chris Lattner authored
llvm-svn: 67439
-
Chris Lattner authored
more optimistic that it will work (optimizing for the common case). llvm-svn: 67438
-
Chris Lattner authored
llvm-svn: 67437
-
Chris Lattner authored
llvm-svn: 67436
-
Chris Lattner authored
by ~2%. llvm-svn: 67434
-
Chris Lattner authored
llvm-svn: 67432
-
Chris Lattner authored
speeding up the testcase in PR3810 by 60%. llvm-svn: 67431
-
Chris Lattner authored
other code presumably) by 4.3% llvm-svn: 67430
-
Chris Lattner authored
This speeds up a testcase in 3810 by ~16%. llvm-svn: 67429
-
Daniel Dunbar authored
code; and don't return an error code when -### is present, even if errors occur. llvm-svn: 67425
-
Ted Kremenek authored
it a hard error. llvm-svn: 67424
-
Ted Kremenek authored
llvm-svn: 67423
-
Douglas Gregor authored
its vectors based on the subobject type we're initializing and the (unstructured) initializer list. This eliminates some malloc thrashing when parsing initializers (from 117 vector reallocations down to 0 when parsing Cocoa.h). We can't always pre-allocate the right amount of storage, since designated initializers can cause us to initialize in non-predictable patterns. llvm-svn: 67421
-
Daniel Dunbar authored
- <rdar://problem/6669441> ccc doesn't handle assembler-with-cpp semantics correctly (but clang supports it) - This is sad, because it requires a fairly useless target hook. C'est la vie. llvm-svn: 67418
-