<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
</head>
<body>
<div>
<div style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">Hi Renato,<br>
<br>
Valid question! Originally yes that was the intent, but after having tried implementing this interface I realized of course that we need to query if functions are vectorizable in const context.<br>
<br>
Therefore, the has* functions are able to be const, and the get* are not and take a Module& to code generate into.<br>
<br>
Sent from my Windows Phone</div>
</div>
<div dir="ltr">
<hr>
<span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">From:
</span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><a href="mailto:renato.golin@linaro.org">Renato Golin</a></span><br>
<span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Sent:
</span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">ý19/ý12/ý2013 19:31</span><br>
<span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">To:
</span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><a href="mailto:James.Molloy@arm.com">James Molloy</a></span><br>
<span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Cc:
</span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><a href="mailto:hfinkel@anl.gov">Hal Finkel</a>;
<a href="mailto:aschwaighofer@apple.com">Arnold Schwaighofer</a>; <a href="mailto:llvm-commits@cs.uiuc.edu">
llvm-commits</a></span><br>
<span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Subject:
</span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">Re: RFC: Enable vectorization of call instructions in the loop vectorizer</span><br>
<br>
</div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On 19 December 2013 18:12, James Molloy <span dir="ltr">
<<a href="mailto:james.molloy@arm.com" target="_blank">james.molloy@arm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Sorry for the churn – one last version! This one adds predicate functions “has*”, and adds a Module& parameter to the “get*” functions to allow them to create
 the function on demand if needs be.</span></p>
</div>
</div>
</blockquote>
<div></div>
</div>
<br>
</div>
<div class="gmail_extra">Hi James,</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">I may be wrong, but I'd assume the has* functions would return get* != NULL, so not really value added. </div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Are you implementing them in a different way?</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">cheers,</div>
<div class="gmail_extra">--renato</div>
</div>
</div>
<br>
<font face="Arial" color="Black" size="2">-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents
 to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.<br>
<br>
ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590<br>
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782<br>
</font>
</body>
</html>