- Feb 11, 2010
-
-
Ted Kremenek authored
array allocated using the allocator in ASTContext. This addresses these strings getting leaked when using a BumpPtrAllocator (in ASTContext). Fixes: <rdar://problem/7636765> llvm-svn: 95853
-
Chris Lattner authored
block. Other blocks may have pointer cycles that will crash basicaa and other alias analyses. In any case, there is no point wasting cycles optimizing dead blocks. This fixes rdar://7635088 llvm-svn: 95852
-
Chris Lattner authored
llvm-svn: 95851
-
Chris Lattner authored
instead of considering x|undef -> x, which may not be true. llvm-svn: 95850
-
Daniel Dunbar authored
llvm-svn: 95849
-
Daniel Dunbar authored
llvm-svn: 95848
-
Ted Kremenek authored
we would just leak them all over the place, with no clear ownership of these objects at all. AttributeList objects would get leaked on both error and non-error paths. Note: I introduced the usage of llvm::OwningPtr<AttributeList> to manage these objects, which is particularly useful for methods with multiple return sites. In at least one method I used them even when they weren't strictly necessary because it clarified the ownership semantics and made the code easier to read. Should the excessive 'take()' and 'reset()' calls become a performance issue we can always re-evaluate. Note+1: I believe I have not introduced any double-frees, but it would be nice for someone to review this. This fixes <rdar://problem/7635046>. llvm-svn: 95847
-
Eric Christopher authored
Update testcase accordingly now that we can optimize another section. llvm-svn: 95846
-
John McCall authored
template explicit specialization. Complete an apparently stalled refactor towards using CheckSpecializationInstantiationRedecl(). llvm-svn: 95845
-
Devang Patel authored
llvm-svn: 95844
-
Douglas Gregor authored
llvm-svn: 95843
-
Douglas Gregor authored
Decl subclasses. No functionality change. llvm-svn: 95841
-
Bill Wendling authored
llvm-svn: 95840
-
Bill Wendling authored
almost always comments afterwards that need printing. llvm-svn: 95839
-
Fariborz Jahanian authored
using property dot-syntax. Fixes radar 7628953. llvm-svn: 95838
-
Jeffrey Yasskin authored
the global TheJIT and TheJITResolver variables. Lazy compilation is supported by a global map from a stub address to the JITResolver that knows how to compile it. Patch by Olivier Meurant! llvm-svn: 95837
-
Douglas Gregor authored
and CXXRecordDecl::getDefinition(); it's totally unnecessary. No functionality change. llvm-svn: 95836
-
Ted Kremenek authored
Allocate 'ObjCMethodList' objects (owned by Sema) using Sema's BumpPtrAllocator. Previously they were not getting freed. Fixes <rdar://problem/7635663>. llvm-svn: 95834
-
Douglas Gregor authored
llvm-svn: 95833
-
Jakob Stoklund Olesen authored
Calling RemoveOperand is very expensive on huge PHI instructions. This makes early tail duplication run twice as fast on the Firefox JavaScript interpreter. llvm-svn: 95832
-
Jakob Stoklund Olesen authored
This makes early tail duplication run 60 times faster when compiling the Firefox JavaScript interpreter, see PR6186. llvm-svn: 95831
-
Devang Patel authored
llvm-svn: 95828
-
Kevin Enderby authored
llvm-svn: 95827
-
Kevin Enderby authored
with some of the recent changes that have gone into llvm-mc. llvm-svn: 95826
-
Dan Gohman authored
multiple global variables at a time. llvm-svn: 95825
-
Mon P Wang authored
lowering and requires that certain types exist in ValueTypes.h. Modified widening to check if an op can trap and if so, the widening algorithm will apply only the op on the defined elements. It is safer to do this in widening because the optimizer can't guarantee removing unused ops in some cases. llvm-svn: 95823
-
Fariborz Jahanian authored
a __weak block. Fixes radar 7628591. llvm-svn: 95822
-
Charles Davis authored
Thanks, Anton! llvm-svn: 95821
-
Charles Davis authored
attribute, so it uses Anton's new target-specific attribute support. It's supposed to ensure that the stack is 16-byte aligned, but since necessary support is lacking from LLVM, this is a no-op for now. llvm-svn: 95820
-
Dale Johannesen authored
llvm-svn: 95819
-
Dale Johannesen authored
llvm-svn: 95818
-
- Feb 10, 2010
-
-
Bob Wilson authored
legalization even when the IR-level optimizer has removed dead phis, such as when the high half of an i64 value is unused on a 32-bit target. I had to adjust a few test cases that had dead phis. This is a partial fix for Radar 7627077. llvm-svn: 95816
-
Dale Johannesen authored
llvm-svn: 95814
-
Bill Wendling authored
the pointer values could be invalid. llvm-svn: 95813
-
Chris Lattner authored
llvm-svn: 95812
-
Dale Johannesen authored
changed its behavior. Oops. llvm-svn: 95811
-
Chris Lattner authored
llvm-svn: 95810
-
Eli Friedman authored
code with lots of bitfields. llvm-svn: 95809
-
Chris Lattner authored
llvm-svn: 95808
-
Devang Patel authored
llvm-svn: 95807
-