- Jul 06, 2010
-
-
Tom Care authored
Added several helper functions to Stmt to recursively check for different elements (macros, enum constants, etc). llvm-svn: 107675
-
Rafael Espindola authored
if profitable. llvm-svn: 107673
-
Greg Clayton authored
if (a = 0) instead of: if (a == 0) Thanks to Jean-Daniel Dupas. llvm-svn: 107672
-
Greg Clayton authored
llvm-svn: 107671
-
Chris Lattner authored
llvm-svn: 107670
-
Duncan Sands authored
Patch by Kenneth Hoste. llvm-svn: 107669
-
Dan Gohman authored
llvm-svn: 107668
-
Gabor Greif authored
making all of CallInst's low-level operand accessors private If you get compile errors I strongly urge you to update your code. I tried to write the necessary clues into the header where the compiler may point to, but no guarantees. It works for my GCC. You have several options to update your code: - you can use the v2.8 ArgOperand accessors - you can go via a temporary CallSite - you can upcast to, say, User and call its low-level accessors if your code is definitely operand-order agnostic. If you run into serious problems, please comment in below thread (and back out this revision only if absolutely necessary): <http://groups.google.com/group/llvm-dev/browse_thread/thread/64650cf343b28271> llvm-svn: 107667
-
Dan Gohman authored
which do not depend on SelectionDAG. llvm-svn: 107666
-
Argyrios Kyrtzidis authored
llvm-svn: 107665
-
Argyrios Kyrtzidis authored
llvm-svn: 107664
-
Argyrios Kyrtzidis authored
llvm-svn: 107663
-
Argyrios Kyrtzidis authored
llvm-svn: 107662
-
Dan Gohman authored
should be used for. llvm-svn: 107661
-
Dan Gohman authored
from getPhysicalRegisterRegClass. llvm-svn: 107660
-
Dan Gohman authored
clarify a few other things. llvm-svn: 107659
-
Anton Korobeynikov authored
Fix a major regression on COFF targets introduced by r103267: 'discardable' section means that it is used only during the program load and can be discarded afterwards. This way *only* debug sections can be discarded, but not the opposite. Seems like the copy-and-pasto from ELF code, since there it contains the reverse flag ('alloc'). llvm-svn: 107658
-
Dan Gohman authored
llvm-svn: 107657
-
Dan Gohman authored
llvm-svn: 107656
-
Dan Gohman authored
the pseudo instruction is not at the end of the block. llvm-svn: 107655
-
Zhongxing Xu authored
llvm-svn: 107646
-
Zhongxing Xu authored
llvm-svn: 107645
-
Zhongxing Xu authored
Add an API to get an Entity associated with a name in the global namespace. llvm-svn: 107642
-
Eric Christopher authored
llvm-svn: 107641
-
Eric Christopher authored
registers. Split out testcases per architecture and os now. Patch from Nelson Elhage. llvm-svn: 107640
-
John McCall authored
as nounwind in -fno-exceptions. Fixes rdar://problem/8090834. llvm-svn: 107639
-
Jordy Rose authored
Remove the now-unused GRState::isEqual method. Instead of asking if an expression equals a certain value, use SValuator::EvalEQ and GRState::Assume to see if it can, must, or must not equal that value. llvm-svn: 107638
-
Nick Lewycky authored
llvm-svn: 107637
-
Nick Lewycky authored
kind. Also fold some functions that fit on a line to a single line. llvm-svn: 107636
-
Nick Lewycky authored
llvm-svn: 107635
-
Jordy Rose authored
llvm-svn: 107634
-
Jordy Rose authored
Improve NULL-checking for CFRetain/CFRelease. We now remember that the argument was non-NULL, and we report where the null assumption came from (like AttrNonNullChecker already did). llvm-svn: 107633
-
John McCall authored
llvm-svn: 107632
-
John McCall authored
self-host. Hopefully these results hold up on different platforms. I tried to keep the GNU ObjC runtime happy, but it's hard for me to test. Reimplement how clang generates IR for exceptions. Instead of creating new invoke destinations which sequentially chain to the previous destination, push a more semantic representation of *why* we need the cleanup/catch/filter behavior, then collect that information into a single landing pad upon request. Also reorganizes how normal cleanups (i.e. cleanups triggered by non-exceptional control flow) are generated, since it's actually fairly closely tied in with the former. Remove the need to track which cleanup scope a block is associated with. Document a lot of previously poorly-understood (by me, at least) behavior. The new framework implements the Horrible Hack (tm), which requires every landing pad to have a catch-all so that inlining will work. Clang no longer requires the Horrible Hack just to make exceptions flow correctly within a function, however. The HH is an unfortunate requirement of LLVM's EH IR. llvm-svn: 107631
-
Zhongxing Xu authored
llvm-svn: 107630
-
- Jul 05, 2010
-
-
Chris Lattner authored
coerce cases (e.g. {double,int}) which avoids fastisel bailing out at -O0. llvm-svn: 107628
-
Chris Lattner authored
alloca for an argument. Make sure the argument gets the proper decl alignment, which may be different than the type alignment. This fixes PR7567 llvm-svn: 107627
-
Chris Lattner authored
llvm-svn: 107626
-
Eric Christopher authored
llvm-svn: 107625
-
Chris Lattner authored
llvm-svn: 107624
-