[LLVMdev] How to Identify if an Argument is a pointer?
John Backes
back0145 at umn.edu
Mon Aug 20 09:39:28 PDT 2012
Hello,
I was wondering how you can identify whether or not an Argument is a
pointer. The "isDereferenceablePointer" function for Values doesn't
seem to be what I want (I don't care whether or not the pointer points
to allocated memory or is suitably aligned). I want to be able to
discern between:
i32* %pArray
and
i32 %pArray
Thanks in advance.
- John
More information about the llvm-dev
mailing list