Displaying 5 results from an estimated 5 matches for "visitgetelementrptr".
Did you mean:
visitgetelementptr
2011 Dec 08
2
[LLVMdev] GetElementPtr
Ok, thanks, this makes sense. But there is no way to get the SelectionDAG
to do it for me via something like visitGetElementrPtr?
On Thu, Dec 8, 2011 at 2:54 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> > On Thu, Dec 8, 2011 at 2:37 PM, Ryan Taylor <ryta1203 at gmail.com> wrote:
> >>
> >> Thanks.
> >>
> >> So basically then this operation is not target-independ...
2011 Dec 08
0
[LLVMdev] GetElementPtr
On Thu, Dec 8, 2011 at 3:29 PM, Ryan Taylor <ryta1203 at gmail.com> wrote:
> Ok, thanks, this makes sense. But there is no way to get the SelectionDAG to
> do it for me via something like visitGetElementrPtr?
SelectionDAGBuilder::visitGetElementPtr uses the same algorithm you
want to use, but it is specialized for building a SelectionDAG, which
is lower level than LLVM IR.
-Eli
>
>
> On Thu, Dec 8, 2011 at 2:54 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
>>
>> >...
2011 Dec 08
1
[LLVMdev] GetElementPtr
On Thu, Dec 8, 2011 at 2:37 PM, Ryan Taylor <ryta1203 at gmail.com> wrote:
> Thanks.
>
> So basically then this operation is not target-independent like the docs
> suggest?
>
>
> On Thu, Dec 8, 2011 at 1:23 PM, Eli Friedman <eli.friedman at gmail.com>wrote:
>
>> On Thu, Dec 8, 2011 at 11:49 AM, Ryan Taylor <ryta1203 at gmail.com> wrote:
>>
2011 Dec 08
0
[LLVMdev] GetElementPtr
> On Thu, Dec 8, 2011 at 2:37 PM, Ryan Taylor <ryta1203 at gmail.com> wrote:
>>
>> Thanks.
>>
>> So basically then this operation is not target-independent like the docs
>> suggest?
It is target-independent in the sense that a frontend can generate
code using GEP's without worrying about how a given target actually
lays out structures. It isn't
2011 Dec 09
2
[LLVMdev] GetElementPtr
...Dec 8, 2011 at 3:45 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Thu, Dec 8, 2011 at 3:29 PM, Ryan Taylor <ryta1203 at gmail.com> wrote:
> > Ok, thanks, this makes sense. But there is no way to get the
> SelectionDAG to
> > do it for me via something like visitGetElementrPtr?
>
> SelectionDAGBuilder::visitGetElementPtr uses the same algorithm you
> want to use, but it is specialized for building a SelectionDAG, which
> is lower level than LLVM IR.
>
> -Eli
>
> >
> >
> > On Thu, Dec 8, 2011 at 2:54 PM, Eli Friedman <eli.friedman...