Displaying 1 result from an estimated 1 matches for "up833083".
2016 Aug 31
2
Check if getElementPtr Operand
Thanks Ryan, I'm able to retrieved the type using the following code:
Type *type=getElementPtrInst->getSourceElementType();
On Fri, Aug 12, 2016 at 7:00 PM, Ryan Taylor <ryta1203 at gmail.com> wrote:
> Take a look at visitGetElementPtrInst in InstructionCombining.cpp for some
> examples about how to iterate over GEP and check for type.
>
>