search for: i_bitcast

Displaying 6 results from an estimated 6 matches for "i_bitcast".

2012 Feb 29
1
[LLVMdev] Restrictions on bitcast of arbitrary vector types?
Hi, The LLVM lang ref (http://llvm.org/docs/LangRef.html#i_bitcast) notes that bitcast of vectors to vectors is OK, provided the vectors are of the same size. In attempting this on large vector types (e.g. 16xi64 -> 16xf64), I get assertions related to Extended Value Types when attempting to perform code generation, but no errors at the BC level. Is it sim...
2010 Jun 05
0
[LLVMdev] Fwd: Passing structures by value on Windows
...---- Forwarded message ---------- From: lost <lostfreeman at gmail.com> Date: 2010/6/5 Subject: Re: [LLVMdev] Passing structures by value on Windows To: Anton Korobeynikov <anton at korobeynikov.info> Ok, but how to bitcast structure? Documentation<http://llvm.org/docs/LangRef.html#i_bitcast>says that bitcast does not applicable to aggregate values. 2010/6/3 Anton Korobeynikov <anton at korobeynikov.info>: >> Is this documented somethere? > This is the standard assumption. The calling convention can be complex > enough and operate with the language-dependent defi...
2012 May 04
2
[LLVMdev] Convert a vector size
Hi, Based on LLVM lang spec (http://llvm.org/docs/LangRef.html#i_bitcast<http://www.google.com/url?sa=D&q=http://llvm.org/docs/LangRef.html%23i_bitcast&usg=AFQjCNFsBtV4Cr8zpL5UpgoIASRDFvcdSw>) notes I have understood ,that bitcast of vectors to vectors is OK,only if provided the vectors are of the same size.Is it possible to convert a vectors from differen...
2010 Jun 03
4
[LLVMdev] Passing structures by value on Windows
Hello, LLVM team! I faced a problem with passing structures by value on Windows (both x86 and x64). I tried to write simple { i32 i32 } Vector2D addition using IR builder (signature is Vector2D add(Vector2D a, Vector2D b)). x86 version worked fine, but on x64 function returned incorrect value. Some research showed, that { i16 i16 } addition also fails on x86, so I guess the problem is in passing
2009 Feb 28
3
[LLVMdev] Question about documentation of BitCast CExps.
In the documentation at [http://llvm.org/docs/LangRef.html], we have the section [#aggregateconstants] telling us that the aggregate constants are: * Structure constants * Array constants * Vector constants * Zeroinitialization However, in [#constantexprs] we have a bitcast(CST, TYPE) operator with the documentation (emphasis by me): Convert a constant, CST, to another TYPE. The size of
2012 Sep 11
2
[LLVMdev] FW: Proposal: New IR instruction for casting between address spaces
...-1 %Y = addrspacecast i32* %x to sint* addrspace(31) ; yields sint* addrspace(31):%x Thanks, Micah [1] http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-September/053166.html [2] http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-August/052639.html [3] http://llvm.org/docs/LangRef.html#i_bitcast -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120911/c437fcbd/attachment.html>