- Dec 16, 2009
-
-
Jakob Stoklund Olesen authored
Tail duplication produces lots of identical phi nodes in different basic blocks. Teach PHIElimination to reuse the join registers when lowering a phi node that is identical to an already lowered node. This saves virtual registers, and more importantly it avoids creating copies the the coalescer doesn't know how to eliminate. Teach LiveIntervalAnalysis about the phi joins with multiple uses. This patch significantly reduces code size produced by -pre-regalloc-taildup. llvm-svn: 91549
-
Douglas Gregor authored
with a non-trivial default constructor, zero-initialize the storage and then call the default constructor. Fixes PR5800. llvm-svn: 91548
-
Ted Kremenek authored
llvm-svn: 91547
-
Fariborz Jahanian authored
instead of crashing for now. llvm-svn: 91546
-
Anders Carlsson authored
llvm-svn: 91545
-
Nuno Lopes authored
llvm-svn: 91544
-
Nuno Lopes authored
implement PR5654: add -fassume-sane-operator-new, which is enabled by default, and adds the malloc attribute to the global function new() and to the overloaded new operators. feel free to chage the name to this lengthy argument llvm-svn: 91543
-
Douglas Gregor authored
llvm-svn: 91542
-
Douglas Gregor authored
llvm-svn: 91541
-
Nuno Lopes authored
llvm-svn: 91540
-
Nuno Lopes authored
llvm-svn: 91539
-
John McCall authored
function in a C++ call using an arbitrary call-expression type. Actually exploit this to fix the recovery implemented earlier. The diagnostic is still iffy, though. llvm-svn: 91538
-
Daniel Dunbar authored
llvm-svn: 91537
-
Daniel Dunbar authored
llvm-svn: 91536
-
Zhongxing Xu authored
attribute: the object type. Add initial support for visiting CXXThisExpr. Fix a bunch of 80-col violations. llvm-svn: 91535
-
Daniel Dunbar authored
problem", this broke llvm-gcc bootstrap for release builds on x86_64-apple-darwin10. This reverts commit db22309800b224a9f5f51baf76071d7a93ce59c9. llvm-svn: 91534
-
Daniel Dunbar authored
this", this broke llvm-gcc bootstrap for release builds on x86_64-apple-darwin10. llvm-svn: 91533
-
Chris Lattner authored
miscompile (i386.o miscompares) but it happens both with and without this patch. llvm-svn: 91532
-
Chris Lattner authored
llvm-svn: 91531
-
Chris Lattner authored
llvm-svn: 91530
-
Chris Lattner authored
SmallVectorBase::grow_pod out of line, finally satisfying PR3758. llvm-svn: 91529
-
Chris Lattner authored
is not used by anything performance sensitive, so just use std::string. llvm-svn: 91528
-
Chris Lattner authored
a fixed size buffer is perfectly fine. llvm-svn: 91527
-
Chris Lattner authored
common function. It is still an inline method, which will be fixed next. llvm-svn: 91526
-
John McCall authored
used as expressions). In dependent contexts, try to recover by doing a lookup in previously-dependent base classes. We get better diagnostics out, but unfortunately the recovery fails: we need to turn it into a method call expression, not a bare call expression. Thus this is still a WIP. llvm-svn: 91525
-
Victor Hernandez authored
llvm-svn: 91524
-
Chris Lattner authored
SmallVectorTemplateBase class, which allows us to statically dispatch on isPodLike instead of dynamically. llvm-svn: 91523
-
Chris Lattner authored
down into SmallVectorImpl. This requires sprinking a ton of this->'s in, but gives us a place to factor. llvm-svn: 91522
-
Nick Lewycky authored
llvm-svn: 91521
-
Anders Carlsson authored
Use GetAddrOfRTTI everywhere and remove GenerateRTTI and GenerateRTTIRef. With this change, we can now compile and link TableGen. llvm-svn: 91520
-
Anders Carlsson authored
llvm-svn: 91519
-
Chris Lattner authored
and there is a new SmallVectorTemplateBase class in between it and SmallVectorImpl. SmallVectorTemplateBase can be specialized based on isPodLike. llvm-svn: 91518
-
Zhongxing Xu authored
llvm-svn: 91517
-
Douglas Gregor authored
InitializationSequence to perform the actual initialization. Also, introduced the notion of a tree of initialized entities, so that we can know where an initialization began when dealing with nested initializations (as occur when performing list initialization). This will, eventually, be useful for producing better diagnostics when list initialization fails, because we can show the path from the top-level object being initialized down to the actual subobject where initialization failed. llvm-svn: 91516
-
Eli Friedman authored
declarations of abort(), and two, we mark it noreturn. Missing the latter shows up in one of the "embarassing" tests (from the thread on llvmdev "detailed comparison of generated code size for LLVM and other compilers"). llvm-svn: 91515
-
Anders Carlsson authored
llvm-svn: 91514
-
Anders Carlsson authored
llvm-svn: 91513
-
Ted Kremenek authored
Teach RetainSummaryManager::getSummary(FunctionDecl* FD) that 'FD->getIdentifier()' will not always return a non-null IdentifierInfo*. llvm-svn: 91512
-
Ted Kremenek authored
llvm-svn: 91511
-
Ted Kremenek authored
Teach NoReturnFunctionChecker that FunctionDecl::getIdentifier() is not guaranteed to return a non-null IdentifierInfo*. llvm-svn: 91510
-