- Oct 21, 2009
-
-
Victor Hernandez authored
Most changes are cleanup, but there is 1 correctness fix: I fixed InstCombine so that the icmp is removed only if the malloc call is removed (which requires explicit removal because the Worklist won't DCE any calls since they can have side-effects). llvm-svn: 84772
-
Fariborz Jahanian authored
llvm-svn: 84771
-
Mike Stump authored
llvm-svn: 84770
-
Mike Stump authored
llvm-svn: 84769
-
Mike Stump authored
llvm-svn: 84768
-
Bob Wilson authored
Patch by Johnny Chen. llvm-svn: 84767
-
Bob Wilson authored
llvm-svn: 84766
-
Devang Patel authored
- i < getNumElements() instead of getNumElements() > i - Make setParent() private - Fix use of resizeOperands - Reset HasMetadata bit after removing all metadata attached to an instruction - Efficient use of iterators llvm-svn: 84765
-
Sanjiv Gupta authored
llvm-svn: 84764
-
Anders Carlsson authored
Change FixOverloadedFunctionReference to return a (possibly new) expression. Substitute TemplateIdRefExprs with DeclRefExprs. Doug, plz review :) llvm-svn: 84763
-
Douglas Gregor authored
error (by default) to a warning, per C++0x [dcl.attr.noreturn]. Patch from Sean Hunt! llvm-svn: 84762
-
Jim Grosbach authored
handles T2 and ARM use cases. llvm-svn: 84761
-
Steve Naroff authored
Extend clang_getCursor() to take a 'relativeDecl' argument (so speed up searching). Without a 'relativeDecl', the algorithm is n-squared. For example, running the following command on 'Large.m' takes hours without a 'relatvieDecl'. snaroff% time ../../Debug/bin/c-index-test Large.ast all > Large.out snaroff% cat Large.m #import <Cocoa/Cocoa.h> #import <QuickTime/QuickTime.h> #import <OpenGL/OpenGL.h> With a 'relativeDecl', it takes <30 seconds:-) llvm-svn: 84760
-
Oscar Fuentes authored
Patch by Victor Zverovich! llvm-svn: 84759
-
Edward O'Callaghan authored
llvm-svn: 84758
-
Zhongxing Xu authored
llvm-svn: 84757
-
Torok Edwin authored
in the PHI's Basic Block. This uses a conservative approach, because we don't have dominator info in instcombine. llvm-svn: 84754
-
Sanjiv Gupta authored
variables. This pass can be invoked by llvm-ld or opt to traverse over the call graph to detect what function frames and their automatic variables can be overlaid. Currently this builds an archive , but needs to be changed to a loadable module. llvm-svn: 84753
-
Sanjiv Gupta authored
llvm-svn: 84752
-
Evan Cheng authored
llvm-svn: 84751
-
Ted Kremenek authored
llvm-svn: 84750
-
Evan Cheng authored
llvm-svn: 84749
-
Chris Lattner authored
patch by Ken Dyck! llvm-svn: 84746
-
Douglas Gregor authored
an overloaded function call operator. llvm-svn: 84745
-
Douglas Gregor authored
llvm-svn: 84744
-
Chris Lattner authored
llvm-svn: 84743
-
Chris Lattner authored
llvm-svn: 84740
-
Chris Lattner authored
"In the existing code, if the load and the value to replace it with are of different types *and* target data is available, it tries to use the target data to coerce the replacement value to the type of the load. Otherwise, it skips all effort to handle the type mismatch and just feeds the wrongly-typed replacement value to replaceAllUsesWith, which triggers an assertion. The patch replaces it with an outer if checking for type mismatch, and an inner if-else that checks whether target data is available and, if not, returns false rather than trying to replace the load." Patch by Kenneth Uildriks! llvm-svn: 84739
-
Chris Lattner authored
llvm-svn: 84738
-
Mike Stump authored
generate the debug information for the first parameter to the block invoke functions. WIP. llvm-svn: 84737
-
John McCall authored
llvm-svn: 84736
-
John McCall authored
Apparently I'm grinding my commit count. llvm-svn: 84735
-
John McCall authored
llvm-svn: 84734
-
John McCall authored
llvm-svn: 84733
-
Bob Wilson authored
Thanks to Johnny Chen for discovering the problem. llvm-svn: 84732
-
Devang Patel authored
llvm-svn: 84731
-
Bob Wilson authored
a default value of zero. This is important for decoding the instructions. Patch by Johnny Chen, with some changes from me, too. llvm-svn: 84730
-
Mikhail Glushenkov authored
llvm-svn: 84729
-
Mikhail Glushenkov authored
Useful for OptionPreprocessor. llvm-svn: 84728
-
Dan Gohman authored
llvm-svn: 84727
-