<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm/lib/Transforms, branch stable</title>
<subtitle>http://llvm.org</subtitle>
<id>https://git.amat.us/llvm/atom/lib/Transforms?h=stable</id>
<link rel='self' href='https://git.amat.us/llvm/atom/lib/Transforms?h=stable'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/'/>
<updated>2013-04-01T18:13:05Z</updated>
<entry>
<title>Correct assertion condition</title>
<updated>2013-04-01T18:13:05Z</updated>
<author>
<name>Shuxin Yang</name>
<email>shuxin.llvm@gmail.com</email>
</author>
<published>2013-04-01T18:13:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=ad26993e1a9b147c3ca4b170ab2eba260f89a1ac'/>
<id>urn:sha1:ad26993e1a9b147c3ca4b170ab2eba260f89a1ac</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178484 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Implement XOR reassociation. It is based on following rules:</title>
<updated>2013-03-30T02:15:01Z</updated>
<author>
<name>Shuxin Yang</name>
<email>shuxin.llvm@gmail.com</email>
</author>
<published>2013-03-30T02:15:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=2d1001064989b7fa79507816fc17d467fc00a2f2'/>
<id>urn:sha1:2d1001064989b7fa79507816fc17d467fc00a2f2</id>
<content type='text'>
  rule 1: (x | c1) ^ c2 =&gt; (x &amp; ~c1) ^ (c1^c2),
     only useful when c1=c2
  rule 2: (x &amp; c1) ^ (x &amp; c2) = (x &amp; (c1^c2))
  rule 3: (x | c1) ^ (x | c2) = (x &amp; c3) ^ c3 where c3 = c1 ^ c2
  rule 4: (x | c1) ^ (x &amp; c2) =&gt; (x &amp; c3) ^ c1, where c3 = ~c1 ^ c2

 It reduces an application's size (in terms of # of instructions) by 8.9%.
 Reviwed by Pete Cooper. Thanks a lot!

 rdar://13212115  


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178409 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Add clang.arc.used to ModuleHasARC so ARC always runs if said call is present in a module.</title>
<updated>2013-03-29T21:15:23Z</updated>
<author>
<name>Michael Gottesman</name>
<email>mgottesman@apple.com</email>
</author>
<published>2013-03-29T21:15:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=3e9f3a0389488701bd1cb5c778d0e785c827d790'/>
<id>urn:sha1:3e9f3a0389488701bd1cb5c778d0e785c827d790</id>
<content type='text'>
clang.arc.used is an interesting call for ARC since ObjCARCContract
needs to run to remove said intrinsic to avoid a linker error (since the
call does not exist).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178369 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Removed trailing whitespace.</title>
<updated>2013-03-29T05:13:07Z</updated>
<author>
<name>Michael Gottesman</name>
<email>mgottesman@apple.com</email>
</author>
<published>2013-03-29T05:13:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=ae07bf3ad309de598258fbb4f2ebae8d0fdaa422'/>
<id>urn:sha1:ae07bf3ad309de598258fbb4f2ebae8d0fdaa422</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178329 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Removed dead code from ObjCARCOpts relating to tracking objc_retainBlocks through the ARC Dataflow analysis. By the time we get to the ARC dataflow analysis, any objc_retainBlock calls are not optimizable.</title>
<updated>2013-03-28T23:08:44Z</updated>
<author>
<name>Michael Gottesman</name>
<email>mgottesman@apple.com</email>
</author>
<published>2013-03-28T23:08:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=d02e46be1a3be9e8b871bdb0028fa5b9a2593848'/>
<id>urn:sha1:d02e46be1a3be9e8b871bdb0028fa5b9a2593848</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178306 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Minor simplification.</title>
<updated>2013-03-28T22:40:08Z</updated>
<author>
<name>Bill Wendling</name>
<email>isanbard@gmail.com</email>
</author>
<published>2013-03-28T22:40:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=f2a2806baf3763d551a9f361124b608b2eed66fa'/>
<id>urn:sha1:f2a2806baf3763d551a9f361124b608b2eed66fa</id>
<content type='text'>
Go ahead and use the full path for both the .gcno and .gcda files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178302 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Non optimizable objc_retainBlock calls are not forwarding.</title>
<updated>2013-03-28T20:11:30Z</updated>
<author>
<name>Michael Gottesman</name>
<email>mgottesman@apple.com</email>
</author>
<published>2013-03-28T20:11:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=3832eff354eea32f92acf3f5176c6213cb65848b'/>
<id>urn:sha1:3832eff354eea32f92acf3f5176c6213cb65848b</id>
<content type='text'>
Since we handle optimizable objc_retainBlocks through strength reduction
in OptimizableIndividualCalls, we know that all code after that point
will only see non-optimizable objc_retainBlock calls. IsForwarding is
only called by functions after that point, so it is ok to just classify
objc_retainBlock as non-forwarding.

&lt;rdar://problem/13249661&gt;.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178285 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[ObjCARC] Strength reduce objc_retainBlock -&gt; objc_retain if the objc_retainBlock is optimizable.</title>
<updated>2013-03-28T20:11:19Z</updated>
<author>
<name>Michael Gottesman</name>
<email>mgottesman@apple.com</email>
</author>
<published>2013-03-28T20:11:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=0d92a3c600b453f3aa4f50ba0189ccb1dbbc1580'/>
<id>urn:sha1:0d92a3c600b453f3aa4f50ba0189ccb1dbbc1580</id>
<content type='text'>
If an objc_retainBlock has the copy_on_escape metadata attached to it
AND if the block pointer argument only escapes down the stack, we are
allowed to strength reduce the objc_retainBlock to to an objc_retain and
thus optimize it.

Current there is logic in the ARC data flow analysis to handle
this case which is complicated and involved making distinctions in
between objc_retainBlock and objc_retain in certain places and
considering them the same in others.

This patch simplifies said code by:

1. Performing the strength reduction in the initial ARC peephole
analysis (ObjCARCOpts::OptimizeIndividualCalls).

2. Changes the ARC dataflow analysis (which runs after the peephole
analysis) to consider all objc_retainBlock calls to not be optimizable
(since if the call was optimizable, we would have strength reduced it
already).

This patch leaves in the infrastructure in the ARC dataflow analysis to
handle this case, which due to 2 will just be dead code. I am doing this
on purpose to separate the removal of the old code from the testing of
the new code.

&lt;rdar://problem/13249661&gt;.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178284 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[tsan] make sure memset/memcpy/memmove are not inlined in tsan mode</title>
<updated>2013-03-28T11:21:13Z</updated>
<author>
<name>Kostya Serebryany</name>
<email>kcc@google.com</email>
</author>
<published>2013-03-28T11:21:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=f464481db0c3b5404004b510921ca454803fd1d0'/>
<id>urn:sha1:f464481db0c3b5404004b510921ca454803fd1d0</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178230 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Check if Type is a vector before calling function Type::getVectorNumElements.</title>
<updated>2013-03-28T01:28:02Z</updated>
<author>
<name>Akira Hatanaka</name>
<email>ahatanaka@mips.com</email>
</author>
<published>2013-03-28T01:28:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=d7216a28d6a07a4ea4047a14427c16b96feeb36f'/>
<id>urn:sha1:d7216a28d6a07a4ea4047a14427c16b96feeb36f</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178208 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
</feed>
