[llvm-dev] Get values from a given type

陳韋任 via llvm-dev llvm-dev at lists.llvm.org
Fri Nov 24 17:27:05 PST 2017

The Value naturally has corresponding Type. But I don't know existing
interface for the other way around.

2017-11-24 23:06 GMT+08:00 Gerion Entrup via llvm-dev <
llvm-dev at lists.llvm.org>:

> Hi,
> if one has a Value object, the Type of the Value can be retrieved with
> getType().
> Is there a way back, get a list of all values that refer to a specific
> type (i.e. a struct etc.)?
> Regards,
> Gerion
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

Wei-Ren Chen (陳韋任)
Homepage: https://people.cs.nctu.edu.tw/~chenwj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171125/37df4472/attachment.html>

More information about the llvm-dev mailing list