[LLVMdev] ConstantInt to Value*?
James.Molloy at arm.com
Tue Nov 2 03:50:55 PDT 2010
As can be seen on http://llvm.org/doxygen/classllvm_1_1ConstantInt.html , ConstantInt inherits directly from Value, so:
Value *v = static_cast<Value*>(ci);
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Soumya Prasad Ukil
Sent: 02 November 2010 10:45
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] ConstantInt to Value*?
How to convert ConstantInt* to value*?
soumya prasad ukil
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev