Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] [llvm-commits] turn on function merging"
2019 Feb 01
6
Status of the function merging pass?
Hi Nikita,
Glad to hear that Rust code can benefit a lot from this.
I have put patches to enable merge-similar functions with thinLTO.
https://reviews.llvm.org/D52896 etc.
<https://reviews.llvm.org/D52896>
This is more powerful than existing merge-functions pass and all we need to do is port these patches to trunk llvm. I'd be happy to help with this effort.
-Aditya
2014 Feb 27
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi Nick,
I tried to rework changes as you requested. One of patches (0004 with
extra assertions) has been removed.
> + bool isEquivalentType(Type *Ty1, Type *Ty2) const {
> + return cmpType(Ty1, Ty2) == 0;
> + }
>
> Why do we still need isEquivalentType? Can we nuke this?
Yup. After applying all the patches isEquivalentType will be totally
replaced with cmpType. All
2018 Aug 02
2
New and more general Function Merging optimization for code size
Hi Hal,
Because my function merging strategy is able to merge any two function,
allowing for different CFGs, different parameters, etc.
I am unable to use just a simple hash value to compare whether or not two
functions are similar.
Therefore, the idea is to have an infrastructure which allows me to compare
whether or not two functions are similar without having traverse the two
function
2006 Sep 29
0
[PATCH 2/6] xen: add per-node bucks to page allocator
This patch adds a per-node bucket to the heap structure in Xen. During
heap initialization the patch determines which bucket to place the
memory. We reserve guard pages between node boundaries in the case that
said boundary isn''t already guarded by the MAX_ORDER boundary to prevent
the buddy allocator from merging pages between nodes.
--
Ryan Harper
Software Engineer; Linux Technology
2014 Feb 03
4
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi all,
Previous patch has been split onto series of small changes.
On each stage (after each patch) MergeFunctions pass is compilable and
stable.
Please find patches in attachment for review.
To apply all patches at once, use "apply-patches.sh" script as follows:
0. Place "apply-patches.sh" in same directory with patches.
1. cd <llvm-sources-dir>
2. "bash
2014 Jan 31
2
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi all,
Please find the updated patch in attachment:
* Added some comments.
* Fixed some typos.
-Stepan
Nick Lewycky wrote:
> On 30 January 2014 01:27, Stepan Dyatkovskiy <stpworld at narod.ru
> <mailto:stpworld at narod.ru>> wrote:
>
> Hello Sean and Tobias,
>
> Sean,
> Thank you. Could you describe Nick's ideas in few words or give me
>
2019 Jan 31
5
Status of the function merging pass?
Hi,
I'm interested in finding ways to reduce code size. LLVM's MergeFunctions pass seems like a promising option, and I'm curious about its status in tree.
Enabling MergeFunctions gives a 1% code size reduction across the entire iOS shared cache (a collection of a few hundred system-critical DSO's). The numbers are even more compelling for Swift code. In fact, the swift compiler
2019 Mar 05
0
[PATCH nbdkit] Add new filter for rate-limiting connections.
---
filters/delay/nbdkit-delay-filter.pod | 4 +-
filters/rate/nbdkit-rate-filter.pod | 84 +++++++++
configure.ac | 2 +
filters/rate/bucket.h | 62 +++++++
filters/rate/bucket.c | 173 +++++++++++++++++++
filters/rate/rate.c | 235 ++++++++++++++++++++++++++
TODO | 9 +
2008 Oct 26
1
[PATCH 1/1] ocfs2/xattr: Proper hash collision handle in bucket division.v3
Modification from V2 to V3:
Use a more pefect code suggested by Joel. Thank Joel for it.
In ocfs2/xattr, we must make sure the xattrs which have the same
hash value exist in the same bucket so that the search schema can
work. But in the old implementation, when we want to extend a bucket,
we just move half number of xattrs to the new bucket. This works
in most cases, but if we are lucky enough we
2009 May 01
0
[PATCH 1/3] OCFS2: speed up dlm_lockr_resouce hash_table lookups
use multiple pages for the hash table.
mainline git commit: 03d864c02c3ea803b1718940ac6953a257182d7a
Authored-by: Daniel Phillips <phillips at google.com>
Signed-off-by: Wengang Wang <wen.gang.wang at oracle.com>
--
Index: ocfs2-1.2/fs/ocfs2/dlm/dlmdomain.c
===================================================================
--- ocfs2-1.2/fs/ocfs2/dlm/dlmdomain.c (revision 1)
+++
2018 Jan 11
3
1600x900 not available
On 01/10/2018 11:45 AM, Scott Robbins wrote:
> On Wed, Jan 10, 2018 at 09:25:04AM -0600, Sean Smith wrote:
>> I have no idea how.? All I can find is the Hi-DPi settings in Gnome-Tweak
>> but, of course, it only lets? me choose to scale from "1" to "2" which
>> makes things way too big.
>>
> It's better to not top post if possible. :)
>
>
2011 Jul 05
0
Problem in accessing bucket of my AWS S3 account
I tried to establish connection to my aws s3 account like this in my irb
console -
AWS::S3::Base.establish_connection!(:access_key_id => ''my access key'',
:secret_access_key => ''my secret key'', :server => "
s3-ap-southeast-1.amazonaws.com")
And it works well and prompt this -
=> #<AWS::S3::Connection:0x8cd86d0
2009 Apr 22
1
[PATCH 1/1] OCFS2: fasten dlm_lock_resource hash_table lookups
#backporting the 3 patches at http://kernel.us.oracle.com/~smushran/srini/ to 1.2.
enlarge hash_table capacity to fasten hash_table lookups.
Signed-off-by: Wengang wang <wen.gang.wang at oracle.com>
--
diff -up ./svnocfs2-1.2/fs/ocfs2/dlm/dlmdebug.c.orig ./svnocfs2-1.2/fs/ocfs2/dlm/dlmdebug.c
--- ./svnocfs2-1.2/fs/ocfs2/dlm/dlmdebug.c.orig 2009-04-22 11:00:37.000000000 +0800
+++
2018 Jan 11
2
1600x900 not available
On 01/11/2018 12:34 PM, m.roth at 5-cent.us wrote:
> Sean Smith wrote:
> <snip>
>> setting my resolution to 1600x900 is a cheesy, yet effective, way to do
>> get what I need.
>>
>> ...Now if I can just get my touchpad to FRICK'N disable while typing.
>>
> If/when you do, *PLEASE* post the solution. If you're a manager, or gamer,
> I guess
2009 Jan 08
1
[PATCH] ocfs2: Access the xattr bucket only before modifying it.
Hi Mark,
This is the fix for 2.6.29(introduced by uniting the bucket journal
access). Since I found no fixes-for-2.6.29 in your ocfs2.git, it is based
on your original upstream-linus.
In ocfs2_xattr_value_truncate, we may call b-tree codes which will
extend the journal transaction. It has a potential problem that it
may let the already-accessed-but-not-dirtied buffers gone. So we'd
better
2006 Feb 09
1
[Bug 445] New: ipt_account reports: sleeping function called from invalid context at mm/slab.c:2063
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=445
Summary: ipt_account reports: sleeping function called from
invalid context at mm/slab.c:2063
Product: netfilter/iptables
Version: patch-o-matic-ng
Platform: All
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
2009 Mar 12
0
[LLVMdev] a different hash for APInts
Stuart Hastings a écrit :
>
> {
> {0x00000000}, {0x33800000}, {0x34000000}, {0x34400000},
> {0x34800000}, {0x34a00000}, {0x34c00000}, {0x34e00000},
> {0x35000000}, {0x35100000}, {0x35200000}, {0x35300000},
> {0x35400000}, {0x35500000}, {0x35600000}, {0x35700000},
> ...
> {0xfffd8000}, {0xfffda000}, {0xfffdc000}, {0xfffde000},
> {0xfffe0000},
2020 Oct 17
0
[PATCH nbdkit] common/include/tvdiff.h: Add formal specification.
This commit adds a formal specification of tvdiff_usec and a partial
specification of subtract_timeval. These may be proved using Frama-C.
The existing functions ignored overflow, but it is possible to call
the functions with parameters that will cause overflow. So to create
a formal specification I had to modify the functions to signal
overflow. Luckily GCC and Clang have convenient
2005 Jan 16
0
Identification of TC Queueing Discipline
Hi all,
I previously mailed this list explaining that I been given the task
of implementing a dynamic traffic shaping scheme on an existing
network. I was looking for guidance on how I should approach this but
unfortunately I was unable to provide much information about the
existing traffic shaping system.
I have recently obtained the existing tc scripts though and was
hoping someone could help
2015 Apr 02
0
[PATCH 8/9] qspinlock: Generic paravirt support
On 04/01/2015 05:03 PM, Peter Zijlstra wrote:
> On Wed, Apr 01, 2015 at 03:58:58PM -0400, Waiman Long wrote:
>> On 04/01/2015 02:48 PM, Peter Zijlstra wrote:
>> I am sorry that I don't quite get what you mean here. My point is that in
>> the hashing step, a cpu will need to scan an empty bucket to put the lock
>> in. In the interim, an previously used bucket before