[llvm-dev] Get values from a given type
Philip Pfaffe via llvm-dev
llvm-dev at lists.llvm.org
Mon Nov 27 03:52:04 PST 2017
What would "all" values be here? All values in the Module? Function?
There is no builtin way to do this. You need to enumerate the values you
care about and check their type.
Either way this sounds like a weird thing to do. What is it that you are
2017-11-24 16:06 GMT+01:00 Gerion Entrup via llvm-dev <
llvm-dev at lists.llvm.org>:
> if one has a Value object, the Type of the Value can be retrieved with
> Is there a way back, get a list of all values that refer to a specific
> type (i.e. a struct etc.)?
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev