[LLVMdev] StructTypes in module
Carlo Alberto Ferraris
cafxx at strayorange.com
Wed Aug 31 12:00:00 PDT 2011
Nella citazione mercoledì 31 agosto 2011 20:35:46, Chris Lattner ha
scritto:
> On Aug 31, 2011, at 10:23 AM, Carlo Alberto Ferraris wrote:
>> Quick question: how do I get a list of StructType* defined/used in a Module? I can't seem to find an appropriate iterator in the Module class...
> Module::findUsedStructTypes. Note that this requires scanning the entire module, it is not an efficient operation.
Thanks! By any chance, is there also a way (short of iterating on all
instructions and globals) to find all "uses" of a structtype?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cafxx.vcf
Type: text/x-vcard
Size: 230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110831/15f17b69/attachment.vcf>
More information about the llvm-dev
mailing list