search for: findusedstructtyp

Displaying 3 results from an estimated 3 matches for "findusedstructtyp".

Did you mean: findusedstructtypes
2011 Aug 31
2
[LLVMdev] StructTypes in module
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... -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110831/17715c85/attachment.html> -------------- next part -------------- A non-text attachment was
2011 Aug 31
0
[LLVMdev] StructTypes in module
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. -Chris
2011 Aug 31
1
[LLVMdev] StructTypes in module
...e 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...