llvm/lib
Chandler Carruth 2516e7fb22 [SROA] Use a more direct way of determining whether we are processing
the destination operand or source operand of a memmove.

It so happens that it was impossible for SROA to try to rewrite
self-memmove where the operands are *identical*, because either such
a think is volatile (and we don't rewrite) or it is non-volatile, and we
don't even register it as a use of the alloca.

However, making the 'IsDest' test *rely* on this subtle fact is... Very
confusing for the reader. We should use the direct and readily available
test of the Use* which gives us concrete information about which operand
is being rewritten.

No functionality changed, I hope! ;]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202103 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-25 03:50:14 +00:00
..
Analysis Make some DataLayout pointers const. 2014-02-24 23:12:18 +00:00
AsmParser [ms-cxxabi] Add a new calling convention that swaps 'this' and 'sret' 2014-01-31 17:41:22 +00:00
Bitcode Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
CodeGen Indent this continued line. 2014-02-25 00:43:21 +00:00
DebugInfo llvm-dwarfdump: Support for debug_line.dwo section for file names for type units under fission. 2014-02-24 23:58:54 +00:00
ExecutionEngine move getNameWithPrefix and getSymbol to TargetMachine. 2014-02-19 20:30:41 +00:00
IR Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
IRReader Make parseBitcodeFile return an ErrorOr<Module *>. 2014-01-15 01:08:23 +00:00
LineEditor Avoid using EL_GETFP. 2014-02-04 20:04:46 +00:00
Linker Set the SuppressWarnings option on tool level and propagate to the library. 2014-02-20 22:19:24 +00:00
LTO Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
MC Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
Object MC: Support COFF string tables larger than 10MB 2014-02-22 16:12:20 +00:00
Option Avoid buffer copies when a Twine already is a StringRef. 2013-12-03 18:18:28 +00:00
Support Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
TableGen Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
Target Make some DataLayout pointers const. 2014-02-24 23:12:18 +00:00
Transforms [SROA] Use a more direct way of determining whether we are processing 2014-02-25 03:50:14 +00:00
CMakeLists.txt Introduce line editor library. 2014-01-31 23:46:14 +00:00
LLVMBuild.txt Introduce line editor library. 2014-01-31 23:46:14 +00:00
Makefile Introduce line editor library. 2014-01-31 23:46:14 +00:00