<div dir="ltr">What would "all" values be here? All values in the Module? Function? BasicBlock? Program?<div><br></div><div>There is no builtin way to do this. You need to enumerate the values you care about and check their type.</div><div><br></div><div>Either way this sounds like a weird thing to do. What is it that you are actually intending?</div><div><br></div><div>Cheers,</div><div>Philip</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-24 16:06 GMT+01:00 Gerion Entrup via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
if one has a Value object, the Type of the Value can be retrieved with getType().<br>
Is there a way back, get a list of all values that refer to a specific type (i.e. a struct etc.)?<br>
<br>
Regards,<br>
Gerion<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</blockquote></div><br></div>