1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/Transforms/MemCpyOpt
Chris Lattner 98136397bd Merge memsets followed by neighboring memsets and other stores into
larger memsets.  Among other things, this fixes rdar://8760394 and
allows us to handle "Example 2" from http://blog.regehr.org/archives/320,
compiling it into a single 4096-byte memset:

_mad_synth_mute:                        ## @mad_synth_mute
## BB#0:                                ## %entry
	pushq	%rax
	movl	$4096, %esi             ## imm = 0x1000
	callq	___bzero
	popq	%rax
	ret

llvm-svn: 123089
2011-01-08 21:19:19 +00:00
..
2008-02-24-MultipleUseofSRet.ll Make BasicAliasAnalysis a normal AliasAnalysis implementation which 2010-10-18 18:04:47 +00:00
2008-03-13-ReturnSlotBitcast.ll Make BasicAliasAnalysis a normal AliasAnalysis implementation which 2010-10-18 18:04:47 +00:00
align.ll start using irbuilder to make mem intrinsics in a few passes. 2010-12-26 22:57:41 +00:00
crash.ll fix PR8753, eliminating a case where we'd infinitely make a 2010-12-09 07:39:50 +00:00
dg.exp sabre brings to my attention that the 'tr' suffix is also obsolete 2008-05-20 21:00:03 +00:00
form-memset.ll Merge memsets followed by neighboring memsets and other stores into 2011-01-08 21:19:19 +00:00
loadstore-sret.ll Make BasicAliasAnalysis a normal AliasAnalysis implementation which 2010-10-18 18:04:47 +00:00
memcpy-to-memset.ll MemCpyOpt: Turn memcpys from a constant into a memset if possible. 2010-12-24 21:17:12 +00:00
memcpy.ll enhance memcpyopt to zap memcpy's that have the same src/dst. 2010-12-09 07:45:45 +00:00
memmove.ll Make BasicAliasAnalysis a normal AliasAnalysis implementation which 2010-10-18 18:04:47 +00:00
sret.ll Implement PR8644: forwarding a memcpy value to a byval, 2010-11-21 00:28:59 +00:00