[LLVMdev] Using isa with derived types

Zappel-Phillip phillip.wright at yahoo.com
Wed Nov 12 17:42:08 PST 2008


Hello,

I am writing an optimization pass which optimizes code based on an online
pointer analysis algorithm and need to detect pointers which are pointing to
derived types. I have not had any problem identifying pointers in general
using isa<PointerType>(...), but I can't seem to figure out how I can make
sure that the pointer is pointing to a scalar value and not a function,
array, struct, etc.

What am I missing?
-- 
View this message in context: http://www.nabble.com/Using-isa-with-derived-types-tp20472959p20472959.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.




More information about the llvm-dev mailing list