search for: memintrinsicinst

Displaying 5 results from an estimated 5 matches for "memintrinsicinst".

2018 Jan 18
0
Change memcpy/memmove/memset to have dest and source alignment attributes
...r API to allow creation of memcpy/memmove with differing source and dest alignments. Step 3) Update Clang to use the new IRBuilder API. Step 4) Update Polly to use the new IRBuilder API. Step 5) Update LLVM passes that create memcpy/memmove calls to use the new IRBuilder API, and those that use use MemIntrinsicInst::[get|set]Alignment() to use getDestAlignment() and getSourceAlignment() instead. Step 6) Remove the single-alignment IRBuilder API for memcpy/memmove, and the MemIntrinsicInst::[get|set]Alignment() methods. Unless there are objections, I would like to land step 1 tomorrow (Friday Jan 19) mornin...
2018 Jan 02
5
Change memcpy/memmove/memset to have dest and source alignment attributes
Good day all, I’ve spent a few days resurrecting the circa-2015 work on removing the explicit alignment argument (4th arg) from the @llvm.memcpy/memmove/memset intrinsics in favour of using the alignment attribute on the pointer args of calls to the intrinsic. This work was first proposed back in August 2015 by Lang Hames: http://lists.llvm.org/pipermail/llvm-dev/2015-August/089384.html (item
2018 Mar 26
1
Change memcpy/memmove/memset to have dest and source alignment attributes
...ade were: 1) The IRBuilders in LLVM, Clang, and Polly were all updated to create only the new form of the memory intrinsics. 2) All LLVM passes to understand the new forms of the intrinsics; modulo the notes below. 3) The IRBuilder APIs for creating the old-style memcpy/memmove/memset forms and the MemIntrinsicInst API for getting/setting the old generic/conservative alignment have all been eliminated. There are a few places where the LLVM pass updates were conservative, and could potentially be made more aggressive by a motivated individual — list below. All that remains is for interested folk to enhance...
2018 Jan 19
2
Change memcpy/memmove/memset to have dest and source alignment attributes
...creation of memcpy/memmove with differing source and dest alignments. > Step 3) Update Clang to use the new IRBuilder API. > Step 4) Update Polly to use the new IRBuilder API. > Step 5) Update LLVM passes that create memcpy/memmove calls to use the new IRBuilder API, and those that use use MemIntrinsicInst::[get|set]Alignment() to use getDestAlignment() and getSourceAlignment() instead. > Step 6) Remove the single-alignment IRBuilder API for memcpy/memmove, and the MemIntrinsicInst::[get|set]Alignment() methods. > > Unless there are objections, I would like to land step 1 tomorrow (Friday...
2018 Apr 02
0
Change memcpy/memmove/memset to have dest and source alignment attributes
...rs in LLVM, Clang, and Polly were all updated to create only the > new form of the memory intrinsics. > 2) All LLVM passes to understand the new forms of the intrinsics; modulo the > notes below. > 3) The IRBuilder APIs for creating the old-style memcpy/memmove/memset forms and > the MemIntrinsicInst API for getting/setting the old generic/conservative > alignment have all been eliminated. > >  There are a few places where the LLVM pass updates were conservative, and could > potentially be made more aggressive by a motivated individual — list below.  > >  All that remains is...