[LLVMdev] How to use 'opt' command?

sam parker S.Parker3 at lboro.ac.uk
Fri Mar 2 07:25:40 PST 2012


Hi Sarah,
I believe opt takes the bytecode file (.bc) not the human readable form, but
i am just a learner...

Sam.


sarath chandra-5 wrote:
> 
> Hi all,
> 
> How to print the analysis results using 'opt' command?
> 
> I tried using the below command for  my *module.ll* file
> 
> *opt -analyze -memdep module.ll*
> *
> *
> But it's printing
> 
> Printing analysis 'Memory Dependence Analysis' for function 'main':
> Pass::print not implemented for pass: 'Memory Dependence Analysis'!
> Printing analysis 'Memory Dependence Analysis' for function
> 'CustomMalloc':
> Pass::print not implemented for pass: 'Memory Dependence Analysis'!
> Printing analysis 'Memory Dependence Analysis' for function 'wrapDouble':
> Pass::print not implemented for pass: 'Memory Dependence Analysis'!
> Printing analysis 'Memory Dependence Analysis' for function 'wrapString':
> Pass::print not implemented for pass: 'Memory Dependence Analysis'!
> Printing analysis 'Memory Dependence Analysis' for function
> 'isDoubleType':
> Pass::print not implemented for pass: 'Memory Dependence Analysis'!
> Printing analysis 'Memory Dependence Analysis' for function 'unwrapValue':
> Pass::print not implemented for pass: 'Memory Dependence Analysis'!
> Printing analysis 'Memory Dependence Analysis' for function 'ADD':
> Pass::print not implemented for pass: 'Memory Dependence Analysis'!
> 
> -- 
> 
>   (¨`·.·´¨)
>    `·.¸(¨`·.·´¨)
>   (¨`·.·´¨)¸.·´ Sarath!!!
>     `·.¸.·´
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 
> 

-- 
View this message in context: http://old.nabble.com/How-to-use-%27opt%27-command--tp33428944p33429234.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.





More information about the llvm-dev mailing list