Displaying 4 results from an estimated 4 matches for "nongpoh".
2016 Aug 12
2
Check if getElementPtr Operand
...o check in the instruction, whether the operand is a structure or not
if(isa<GetElementPtrInst>(instruction))
{
GetElementPtrInst *getElementPtrInst=dyn_cast<GetElementPtrInst>(&instruction);
//check if getElemetPtrInst operands structure or array.
}
Thank You
regards,
Bernard Nongpoh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160812/096377eb/attachment.html>
2018 Jan 09
2
Passing Array base address/pointer to runtime function in LLVM IR
...->getNextNode());
Tried the above code but no luck ..
Any method that can easily pass array base address/pointer to function.
Question on stackoverlfow:
https://stackoverflow.com/questions/48162515/passing-array-base-address-pointer-to-runtime-function-in-llvm-ir
Thanks in advance..
Bernard Nongpoh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180109/9d999b9b/attachment.html>
2018 Jan 09
0
Passing Array base address/pointer to runtime function in LLVM IR
Hi Bernard,
On 9 January 2018 at 07:08, Bernard Nongpoh via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Tried the above code but no luck ..
I'm afraid there's not enough context here to answer the question. The
code you posted looks like it could work, but a lot would depend on
the definitions you omitted: getElementPtrInst especial...
2016 Aug 31
2
Check if getElementPtr Operand
...in InstructionCombining.cpp for some
> examples about how to iterate over GEP and check for type.
>
> http://llvm.org/docs/doxygen/html/InstructionCombining_
> 8cpp_source.html#l01334
>
> Hope I understood your question correctly.
>
> On Fri, Aug 12, 2016 at 6:34 AM, Bernard Nongpoh via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> Hello,
>> consider the following IR code :
>> %count4 = getelementptr inbounds %struct.r32, %struct.r32* %cur.087, i64
>> 0, i32 4
>>
>> How to check in the instruction, whether the operand is a...