[LLVMdev] Question on doInitialization

John Criswell criswell at illinois.edu
Tue May 13 06:41:43 PDT 2014


On 5/12/14, 9:22 PM, Byungchan An wrote:
> Have a simple newbie question on doInitialization.
> This functions returns boolean by definition.
>
> However, what is the meaning of the return value of doInitialization 
> function?
> It just returns boolean and doesn't seem to be used other places.
> The boolean value simply means the initialization process is done 
> successfully?

I believe that a return value of "true" means that doInitialiazation() 
modified the LLVM IR in some way while "false" means that 
doInitialization() made no changes to the LLVM IR at all.  There might 
be a comment in the doxygen documentation that can validate this.

Regards,

John Criswell

>
> Thanks.
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140513/3691be62/attachment.html>


More information about the llvm-dev mailing list