search for: i_inttoptr

Displaying 3 results from an estimated 3 matches for "i_inttoptr".

2012 Oct 10
3
[LLVMdev] Inconsistency in the LLVM docs
http://llvm.org/docs/LangRef.html#i_inttoptr The 'inttoptr' instruction takes an integer<http://llvm.org/docs/LangRef.html#t_integer> value to cast, and a type to cast it to, which must be a pointer<http://llvm.org/docs/LangRef.html#t_pointer> type. The final example is: %Z = inttoptr <4 x i32> %G to <4 x i8*&gt...
2012 Oct 10
0
[LLVMdev] Inconsistency in the LLVM docs
...nvert vectors of integers to vectors of pointers and back. There are a few tests such as (/InstCombine/vector_gep1.ll) that check for these conversions. Nadav On Oct 10, 2012, at 11:11 AM, "Villmow, Micah" <Micah.Villmow at amd.com> wrote: > http://llvm.org/docs/LangRef.html#i_inttoptr > > The 'inttoptr' instruction takes an integer value to cast, and a type to cast it to, which must be a pointer type. > > The final example is: > %Z = inttoptr <4 x i32> %G to <4 x i8*>; yields truncation of vector G to four pointers > > > The re...
2012 Oct 10
1
[LLVMdev] Inconsistency in the LLVM docs
...rs of pointers and back. There are a few tests such as (/InstCombine/vector_gep1.ll) that check for these conversions. Nadav On Oct 10, 2012, at 11:11 AM, "Villmow, Micah" <Micah.Villmow at amd.com<mailto:Micah.Villmow at amd.com>> wrote: http://llvm.org/docs/LangRef.html#i_inttoptr The 'inttoptr' instruction takes an integer<http://llvm.org/docs/LangRef.html#t_integer> value to cast, and a type to cast it to, which must be a pointer<http://llvm.org/docs/LangRef.html#t_pointer> type. The final example is: %Z = inttoptr <4 x i32> %G to <4 x i8*&gt...