<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:11pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Anastasiya,</p>
<p><br>
</p>
<p>What do you mean 'identifiable'? You have Module, Function, BasicBlock etc. You can access Values and Users. They form a data-flow graph. You can store pointers to Values and Users if you wish. If you want a name for any Value there is ValueSymbolTable (<a href="http://www.llvm.org/docs/ProgrammersManual.html#advanced-topics" class="OWAAutoLink">http://www.llvm.org/docs/ProgrammersManual.html#advanced-topics</a>)
which provides <span>a symbol table that the Function and Module classes use for naming value definitions. You should take into account that some Values might not have names and passes can change names of Values.</span></p>
<p><span><br>
</span></p>
<p><span>Thanks,</span></p>
<p><span>Evgeny Astigevich</span></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> llvm-dev <llvm-dev-bounces@lists.llvm.org> on behalf of Anastasiya Ruzhanskaya via llvm-dev <llvm-dev@lists.llvm.org><br>
<b>Sent:</b> Thursday, July 20, 2017 2:21:44 PM<br>
<b>To:</b> LLVM Developers Mailing List<br>
<b>Subject:</b> [llvm-dev] Value</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Hello,<br>
</div>
I am trying to write my own pass for some purposes, and found out that there is no way to work with such variables as %1 and so on. How they are identifiable? Only by the Value object, without any possibility for visual representation as for example %a, %b
values?</div>
</div>
</body>
</html>