- May 03, 2009
-
-
Ted Kremenek authored
Convert ArgEffects from an std::vector to an ImmutableMap. This will make it much easier to clean up the summary generation logic with annotations. llvm-svn: 70660
-
Eli Friedman authored
llvm-svn: 70659
-
Eli Friedman authored
reason for adding these is to error out in CodeGen when trying to generate them instead of silently emitting a call to a non-existent function. (Note that it is not valid to lower these to setjmp/longjmp; in addition to that lowering being different from the intent, setjmp and longjmp require a larger buffer.) llvm-svn: 70658
-
Ted Kremenek authored
llvm-svn: 70657
-
Douglas Gregor authored
fix-it hint is much worse than no fix-it hint. (Fixes PR4084). When we need to truncate a source line to fix in the terminal, make sure to take the width of the fix-it information into account, too. llvm-svn: 70656
-
Douglas Gregor authored
show an ellipsis where we have removed text. An example: /Users/dgregor/Projects/llvm/tools/clang/test/Misc/message-length.c:18:120: warning: comparison of distinct pointer types ('int *' and 'float *') ...a_func_to_call(ip == FloatPointer, ip[ALongIndexName], ... ~~ ^ ~~~~~~~~~~~~ llvm-svn: 70655
-
Douglas Gregor authored
word-wrapping by default in Emacs; yay!). Thanks, Daniel. Use LLVM's System layer rather than calling isatty() directly. Fix a thinko in printing the indentation string that was causing some weird output. llvm-svn: 70654
-
Nick Lewycky authored
them to bool. llvm-svn: 70653
-
Daniel Dunbar authored
an interface. llvm-svn: 70652
-
Zhongxing Xu authored
simplify the retrieve logic. llvm-svn: 70651
-
Daniel Dunbar authored
llvm-svn: 70650
-
Daniel Dunbar authored
llvm-svn: 70649
-
Daniel Dunbar authored
- In particular, don't forward them to gcc; these participate in the selection of the tool chain, which should know how to talk to gcc and be fixed if it doesn't. llvm-svn: 70648
-
- May 02, 2009
-
-
Daniel Dunbar authored
recognize the architecture. - This is an attempt to force gcc to the write target. - PR4094. llvm-svn: 70647
-
Dan Gohman authored
llvm-svn: 70646
-
Dan Gohman authored
makes ScalarEvolution::deleteValueFromRecords, and it's code that subtly needed to be called before ReplaceAllUsesWith, unnecessary. It also makes ValueDeletionListener unnecessary. llvm-svn: 70645
-
Dan Gohman authored
to make the copy constructor and destructor protected, and corresponding adjustments to the unittests. llvm-svn: 70644
-
Dan Gohman authored
llvm-svn: 70643
-
Dan Gohman authored
a default value, and will hopefully be going away soon. llvm-svn: 70642
-
Daniel Dunbar authored
non-Darwin linker (sorry Gold + LTO-plugin users). llvm-svn: 70641
-
Daniel Dunbar authored
llvm-svn: 70640
-
Chris Lattner authored
them with -Werror. Custom diags cannot be mapped, and this makes -Werror cause a determinstic crash for the checker and other clients of the custom diagnostics machinery. rdar://6816191 llvm-svn: 70639
-
Ted Kremenek authored
occurs in GC mode. llvm-svn: 70638
-
Anders Carlsson authored
llvm-svn: 70637
-
Dan Gohman authored
of returning a list of pointers to Values that are deleted. This was unsafe, because the pointers in the list are, by nature of what RecursivelyDeleteDeadInstructions does, always dangling. Replace this with a simple callback mechanism. This may eventually be removed if all clients can reasonably be expected to use CallbackVH. Use this to factor out the dead-phi-cycle-elimination code from LSR utility function, and generalize it to use the RecursivelyDeleteTriviallyDeadInstructions utility function. This makes LSR more aggressive about eliminating dead PHI cycles; adjust tests to either be less trivial or to simply expect fewer instructions. llvm-svn: 70636
-
Daniel Dunbar authored
- Patch by Alex Hornung! llvm-svn: 70635
-
Anders Carlsson authored
llvm-svn: 70634
-
Dan Gohman authored
it also forget any SCEVs associated with loop-header PHIs in the loop, as they may be dependent on trip count information. llvm-svn: 70633
-
Dan Gohman authored
deleting it. This will let ScalarEvolution be more complete about updating its records. llvm-svn: 70632
-
Nick Lewycky authored
llvm-svn: 70630
-
Dan Gohman authored
of LSR. This makes the AddUsersIfInteresting phase of LSR a pure analysis instead of a phase that potentially does CFG modifications. The conditions where this code would actually perform a split are rare, and in the cases where it actually would do a split the split is usually undone by CodeGenPrepare, and in cases where splits actually survive into codegen, they appear to hurt more often than they help. llvm-svn: 70625
-
Douglas Gregor authored
into the left-hand side of an assignment expression. This completes most of PR3500; the only remaining part is to deal with the GCC-specific implementation-defined behavior for "unsigned long" (and other) bit-fields. llvm-svn: 70623
-
-
Dan Gohman authored
llvm-svn: 70619
-
Chris Lattner authored
the runtime version number onto it, so that the debugger knows it's an objc interface, not a C struct. rdar://6848435 llvm-svn: 70618
-
Chris Lattner authored
llvm-svn: 70617
-
-
Ted Kremenek authored
llvm-svn: 70615
-
Ted Kremenek authored
llvm-svn: 70614
-
Douglas Gregor authored
Fix bitfield promotions in several more cases. We don't seem to work hard enough at determining whether an expression is a bitfield or not, yet. llvm-svn: 70613
-