[llvm-dev] How to know the sub-class of a Value class?

Dipanjan Das via llvm-dev llvm-dev at lists.llvm.org
Sun Jun 11 23:28:06 PDT 2017


On 11 June 2017 at 23:20, Sanjoy Das <sanjoy at playingwithpointers.com> wrote:

>
>
Does this pattern (or some variant of it) solve your problem:
> https://github.com/llvm-mirror/llvm/blob/master/lib/
> Analysis/BasicAliasAnalysis.cpp#L232


It switches over BinaryOperator->getOpcode(). I don't think it addresses my
query.

-- 

Thanks & Regards,
Dipanjan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170611/5fe44451/attachment.html>


More information about the llvm-dev mailing list