<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 2/18/16 12:03 PM, Laura personen via
llvm-dev wrote:<br>
</div>
<blockquote
cite="mid:CAMW9UP-RBt3+86iV0QFzvyvz9W6bYRf_6OK53ggi-DcB+qAQnA@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>
<div>
<div>Hi,<br>
<br>
</div>
Is there any way to detect which virtual registers are
assigned to physical registers and which ones are assigned
to memory slots?<br>
</div>
</div>
</div>
</blockquote>
<br>
At the LLVM IR level, no. However, it might be possible for a
MachineFunctionPass to determine this or to modify the register
allocator to record this information somewhere for query by a
MachineFunctionPass later.<br>
<br>
Regards,<br>
<br>
John Criswell<br>
<br>
<br>
<blockquote
cite="mid:CAMW9UP-RBt3+86iV0QFzvyvz9W6bYRf_6OK53ggi-DcB+qAQnA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div><br>
</div>
BR<br>
</div>
Laura<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
<a class="moz-txt-link-freetext" href="http://www.cs.rochester.edu/u/criswell">http://www.cs.rochester.edu/u/criswell</a></pre>
</body>
</html>