- Mar 22, 2009
-
-
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
-
Chris Lattner authored
llvm-svn: 67474
-
Chris Lattner authored
llvm-svn: 67473
-
Nuno Lopes authored
llvm-svn: 67472
-
Duncan Sands authored
work. llvm-svn: 67471
-
Bill Wendling authored
llvm-svn: 67469
-
Bill Wendling authored
llvm-svn: 67468
-
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
llvm-svn: 67458
-
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
-
Chris Lattner authored
llvm-svn: 67455
-
- Mar 21, 2009
-
-
Duncan Sands authored
llvm-svn: 67454
-
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
-
Evan Cheng authored
llvm-svn: 67451
-
Fariborz Jahanian authored
category or protocol. llvm-svn: 67450
-
Daniel Dunbar authored
- PR3854. I think it makes more sense to change MemoryBuffer::getSTDIN (return 0 should indicate error, not empty), but it is documented to return 0 for empty inputs, and some other code appears to rely on this. llvm-svn: 67449
-
Daniel Dunbar authored
- PR3854. I think it makes more sense to change MemoryBuffer::getSTDIN (return 0 should indicate error, not empty), but it is documented to return 0 for empty inputs, and some other code appears to rely on this. llvm-svn: 67448
-
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
unneeded bitcast is requested. This is common for frontends who just unconditionally cast even if the target is often the right type already. THis prevents going into getFoldedCast which switches on the opcode and does a bunch of other stuff before doing the same opzn. llvm-svn: 67435
-
Chris Lattner authored
by ~2%. llvm-svn: 67434
-