Displaying 9 results from an estimated 9 matches for "getlementptr".
Did you mean:
getelementptr
2014 Nov 22
2
[LLVMdev] How to get the indices in an getelementptr Value?
...;getOperand(0)",
but I can not get "%struct.Args* @globalArg", "i64 0", and "i32 2" in this
instruction.
I know I can get the indices of getelementptr instructions through
"getOperand()", but now in the previous example,
I want to get the indices from a getlementptr value. How should I do? Thank
you in advance.
Best Regards!
--------------------------------------------
Qiuping Yi
Institute Of Software
Chinese Academy of Sciences
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attach...
2008 Dec 07
1
[LLVMdev] llc -fast generating incorrect assembly
When compiling to the x86-64 architecture, llc -fast generates incorrect
assembly for the getlementptr instruction. This only seems to occur when llc
is passed the fast flag.
[tamirs at tuna compiler]$ cat jonx.ll
; ModuleID = '<stdin>'
define i32 @main() {
ret i32 0
}
define i32 @_l5_get(i32 %t3, i32* %t1) {
%t9 = getelementptr i32* %t1, i32 %t3 ; <i32*> [#uses=1]
%...
2014 Nov 22
2
[LLVMdev] How to get the indices in an getelementptr Value?
...t I can not get "%struct.Args* @globalArg", "i64 0", and "i32 2" in this
> instruction.
>
> I know I can get the indices of getelementptr instructions through
> "getOperand()", but now in the previous example,
> I want to get the indices from a getlementptr value. How should I do?
> Thank you in advance.
>
>
> Best Regards!
>
> --------------------------------------------
> Qiuping Yi
> Institute Of Software
> Chinese Academy of Sciences
> _______________________________________________
> LLVM Developers mailing list...
2014 Nov 22
3
[LLVMdev] How to get the indices in an getelementptr Value?
...t;, "i64 0", and "i32 2" in
> this
> >> instruction.
> >>
> >> I know I can get the indices of getelementptr instructions through
> >> "getOperand()", but now in the previous example,
> >> I want to get the indices from a getlementptr value. How should I do?
> >> Thank you in advance.
> >>
> >>
> >> Best Regards!
> >>
> >> --------------------------------------------
> >> Qiuping Yi
> >> Institute Of Software
> >> Chinese Academy of Sciences
> &g...
2019 Jul 21
6
[RFC] A new multidimensional array indexing intrinsic
...`llvm.multidim.array.index.*` intrinsic is used to get the address of
an element from an array. It performs address calcuation only and
does not access memory. It is similar to `getelementptr`. However, it imposes
additional semantics which allows the optimiser to provide better optimisations
than `getlementptr`.
### Arguments:
The first argument is always a type used as the basis for the calculations. The
second argument is always a pointer, and is the base address to start the
calculation from. The remaining arguments are a list of pairs. Each pair
contains a dimension stride, and an offset with res...
2019 Jul 22
2
[RFC] A new multidimensional array indexing intrinsic
...sic is used to get the address of
>> an element from an array. It performs address calcuation only and
>> does not access memory. It is similar to `getelementptr`. However, it imposes
>> additional semantics which allows the optimiser to provide better optimisations
>> than `getlementptr`.
>>
>>
>>
>> ### Arguments:
>>
>> The first argument is always a type used as the basis for the calculations. The
>> second argument is always a pointer, and is the base address to start the
>> calculation from. The remaining arguments are a list of...
2019 Jul 22
2
[RFC] A new multidimensional array indexing intrinsic
...sic is used to get the address of
> an element from an array. It performs address calcuation only and
> does not access memory. It is similar to `getelementptr`. However, it imposes
> additional semantics which allows the optimiser to provide better optimisations
> than `getlementptr`.
>
>
>
> ### Arguments:
>
> The first argument is always a type used as the basis for the calculations. The
> second argument is always a pointer, and is the base address to start the
> calculation from. The remaining arguments are a list of pairs. Each pair...
2019 Jul 25
0
[RFC] A new multidimensional array indexing intrinsic
...et the address of
>>> an element from an array. It performs address calcuation only and
>>> does not access memory. It is similar to `getelementptr`. However, it imposes
>>> additional semantics which allows the optimiser to provide better optimisations
>>> than `getlementptr`.
>>>
>>>
>>>
>>> ### Arguments:
>>>
>>> The first argument is always a type used as the basis for the calculations. The
>>> second argument is always a pointer, and is the base address to start the
>>> calculation from. The re...
2019 Jul 22
1
[RFC] A new multidimensional array indexing intrinsic
...gt; > an element from an array. It performs address calcuation only and
> > > does not access memory. It is similar to `getelementptr`. However, it imposes
> > > additional semantics which allows the optimiser to provide better optimisations
> > > than `getlementptr`.
> > >
> > >
> > >
> > > ### Arguments:
> > >
> > > The first argument is always a type used as the basis for the calculations. The
> > > second argument is always a pointer, and is the base address to start the
> > &...