- Nov 30, 2010
-
-
Chris Lattner authored
about pairs of AA::Location's instead of looking for MemDep's "Def" predicate. This is more powerful and general, handling memset/memcpy/store all uniformly, and implementing PR8701 and probably obsoleting parts of memcpyoptimizer. This also fixes an obscure bug with init.trampoline and i8 stores, but I'm not surprised it hasn't been hit yet. Enhancing init.trampoline to carry the size that it stores would allow DSE to be much more aggressive about optimizing them. llvm-svn: 120406
-
Chris Lattner authored
llvm-svn: 120405
-
Eric Christopher authored
Fixes PR8573. llvm-svn: 120404
-
Douglas Gregor authored
llvm-svn: 120402
-
Douglas Gregor authored
Harden CGDebugInfo::CreateType() a bit for cases where we couldn't generate type info for its component types llvm-svn: 120401
-
Anders Carlsson authored
llvm-svn: 120398
-
Douglas Gregor authored
llvm-svn: 120397
-
Douglas Gregor authored
trap the serialized preprocessing records (macro definitions, macro instantiations, macro definitions) from the generation of the precompiled preamble, then replay those when walking the list of preprocessed entities. This eliminates a bug where clang_getCursor() wasn't able to find preprocessed-entity cursors in the preamble. llvm-svn: 120396
-
Douglas Gregor authored
llvm-svn: 120395
-
Anders Carlsson authored
llvm-svn: 120394
-
Anders Carlsson authored
llvm-svn: 120393
-
Douglas Gregor authored
clang_getCursor() via -cursor-at=??? and CINDEXTEST_EDITING is set in the environment. This mirrors how we test code completion and source-loading in the presence of this environment variable. llvm-svn: 120392
-
Chris Lattner authored
llvm-svn: 120391
-
Douglas Gregor authored
precompiled preamble as the "main" source file's file ID within the source manager. This makes compiling with a precompiled preamble produce the same source locations as when compiling without the precompiled preamble; prior to this change, we ended up with different file IDs for source locations within the precompiled preamble vs. those after the precompiled preamble, even for entities (e.g., preprocessing entities) in the same file. llvm-svn: 120390
-
Nico Weber authored
llvm-svn: 120389
-
Nick Lewycky authored
unbreaks test/Transforms/InstCombine/invariant.ll which was broken by r120382. This is a fix-forward to do what I think Chris intended. llvm-svn: 120388
-
Jim Ingham authored
Moved the code in ClangUserExpression that set up & ran the thread plan with timeouts, and restarting with all threads into a utility function in Process. This required a bunch of renaming. Added a ThreadPlanCallUserExpression that differs from ThreadPlanCallFunction in that it holds onto a shared pointer to its ClangUserExpression so that can't go away before the thread plan is done using it. Fixed the stop message when you hit a breakpoint while running a user expression so it is more obvious what has happened. llvm-svn: 120386
-
Jakob Stoklund Olesen authored
This analysis is going to run immediately after LiveIntervals. It will stay alive during register allocation and keep track of user variables mentioned in DBG_VALUE instructions. When the register allocator is moving values between registers and the stack, it is very hard to keep track of DBG_VALUE instructions. We usually get it wrong. This analysis maintains a data structure that makes it easy to update DBG_VALUE instructions. llvm-svn: 120385
-
John McCall authored
a non-dependent type. llvm-svn: 120384
-
Chris Lattner authored
llvm-svn: 120383
-
Chris Lattner authored
is trivially dead, since these have side effects. This makes the (misnamed) MemoryUseIntrinsic class dead, so remove it. llvm-svn: 120382
-
Chris Lattner authored
llvm-svn: 120381
-
Chris Lattner authored
llvm-svn: 120380
-
Nick Lewycky authored
llvm-svn: 120379
-
Chris Lattner authored
remove an actively-wrong comment. llvm-svn: 120378
-
Chris Lattner authored
It can be seriously improved, but at least now it isn't intertwined with the other logic. llvm-svn: 120377
-
Nick Lewycky authored
Type.cpp:1000: warning: control reaches end of non-void function llvm-svn: 120376
-
Chris Lattner authored
llvm-svn: 120375
-
Chris Lattner authored
Merge context-sensitive.ll -> simple.ll and upgrade it. llvm-svn: 120374
-
Chris Lattner authored
merging more into other larger .ll files, filecheckizing along the way. llvm-svn: 120373
-
Bill Wendling authored
llvm-svn: 120372
-
Bill Wendling authored
llvm-svn: 120371
-
Chris Lattner authored
queried location doesn't overlap the source, and add a testcase. llvm-svn: 120370
-
Bill Wendling authored
able to match this yet. llvm-svn: 120369
-
Chris Lattner authored
contains "ref". Enhance DSE to use a modref query instead of a store-specific hack to generalize the "ignore may-alias stores" optimization to handle memset and memcpy. llvm-svn: 120368
-
Sean Callanan authored
using special $-variables from expressions. (lldb) expr $rip These variables are available for reading and writing. llvm-svn: 120367
-
Jim Grosbach authored
and which are pseudos. llvm-svn: 120366
-
Bill Wendling authored
llvm-svn: 120365
-
Owen Anderson authored
llvm-svn: 120364
-
Chris Lattner authored
stores, fix and add a testcase. llvm-svn: 120363
-