similar to: Best Practices for Cloning A Module

Displaying 20 results from an estimated 100000 matches similar to: "Best Practices for Cloning A Module"

2013 Nov 05
1
[LLVMdev] Thread-safe cloning
Sorry to resurrect an old thread, but I finally got around to testing this approach (round tripping through bitcode in memory) and it works beautifully - and isn't that much slower than cloning. I have noticed however that the copy process isn't thread-safe. The problem is that in Function, there is lazy initialization code for arguments: void CheckLazyArguments() const { if
2013 Jun 18
0
[LLVMdev] Thread-safe cloning
You could probably round trip it through bitcode in memory. I think all of the IR cloning functionality assumes that only one context is being used. Even if the serialization isn't efficient as a clone could be, it should give you very high confidence that everything Just Works. :) On Tue, Jun 18, 2013 at 1:16 PM, Andrew Clinton <andrew at sidefx.com> wrote: > I have a
2013 Jan 02
0
Telecom Best Practices
OK. I'm getting out the fireproof suit because it's coming and my hackles have been raised by a number of comments on the list of late. Disclaimer: No disrespect intended to the individuals of any *specific* thread. I'm a little frustrated over energy wasted on pedantic top/bottom posting crap rather than understanding the technology and industry best-practices which have been
2018 Apr 07
0
Is it possible to clone an NT ACL from one file or dir to a totally different file or dir ?
On 04/05/2018 08:32 PM, Andrew Bartlett wrote: > On Sat, 2018-03-24 at 20:38 -0400, Ken McDonald via samba wrote: >>> By default, step 4 takes forever to run on large datasets because it >>> uses named entities. My ultimate plan was to use the numeric >>> user/group id's in that step instead of named ones so the Winbind cost >>> is not incurred. Seems for
2012 Sep 11
0
Puppet module change management - best practices?
All, I am currently trying to find a better way to do change management for my puppet code. Currently we have a single Master with two environments (test and prod). Each module has it''s own git repo, as does our node defs and our hiera data repository. The ''test'' environment is used to control the servers used by our devs and QA team, and prod are the actual
2013 Jun 18
2
[LLVMdev] Thread-safe cloning
I have a Module/LLVMContext that I'd like to clone and manipulate in different threads (each thread may perform different translation / optimization, so they need unique copies). Currently this process has to be locked, since each clone of the Module still refers to the same LLVMContext. Is there a way to clone both the Module and LLVMContext so that the copies can be manipulated
2011 Jul 22
2
Best practices for writing R functions
I am developing an R package for internal use, and eventually for public release. My understanding is that there is no easy way to avoid copying function arguments in R (i.e. we don't have the concept of pointers in R), which makes me wary of freely creating chains of function calls since each function call implies data copy overhead. Is the above assessment fair? Are there any good write-ups
2011 Apr 17
0
[LLVMdev] Regarding BasicBlock Cloning
On Sat, Apr 16, 2011 at 5:01 PM, tarun agrawal <tarun at cse.iitb.ac.in> wrote: > The clone llvm:CloneBasicBlock copies the phi function in the replicated > basic block from the original basic block. > I don't want the copy of phi in relplicated block. For now I am creating .bc > file with -O0 option so that it doesn't generate phi function in first > place. Is this a
2012 Jun 22
1
[LLVMdev] Cloning block for newbie
Thank you for your help. It's working now. I wasn't aware of the usefulness of the User class. The ValueMapper.cpp's "RemapInstruction()" also helped me a lot to remap phi nodes and metadatas. Thank you very much. 2012/6/21 Michael Ilseman <michael at lunarg.com> > Please reply-all so that the thread is kept on llvmdev. > > The LLVM Programmer's Manual
2012 Dec 06
0
[LLVMdev] Fwd: Re: Fwd: updating module references in call instructions after a module clone
Forgot to CC the list. -- John t. -------- Original Message -------- Subject: Re: [LLVMdev] Fwd: updating module references in call instructions after a module clone Date: Thu, 06 Dec 2012 11:48:37 -0600 From: John Criswell <criswell at illinois.edu> Organization: University of Illinois To: charles quarra <charllsnotieneningunputocorreo at gmail.com> On 12/6/12 11:43 AM,
2016 Jun 14
0
libvirt-clone - Slow image cloning on a Server
Hello there, I have libvirt/kvm installed on a HP DL380 server and it seems to be cloning a template image very slowly, in fact a 50GB image just doesn't gets stuck after 7%. Is there a reason why this might be happening? I've tried the same setup on a desktop and never had this issue. The command and setup is listed below: virt-clone -o template.img -n new-clone -f .../new-clone.img
2012 May 18
4
Menus - best practices?
Hello, I need to design a fairly simple front-end for someone to use an R script system that I've built. My thought was to just use the text based menus available in the base R package, perhaps in some kind of loop. How have other people done this? Any "best practices" that you can recommend? Thanks! -- Noah Silverman UCLA Department of Statistics 8117 Math Sciences Building
2012 Jun 21
0
[LLVMdev] Cloning block for newbie
Please reply-all so that the thread is kept on llvmdev. The LLVM Programmer's Manual has examples of how to iterate over many common structures, such as instructions in a basic block[1]. Other than that, you can check the source code or doxygen[2]. Basically, you loop over the instructions as detailed in the programmer's manual[1], and loop over the operands using User's
2008 Jul 11
0
[LLVMdev] Cloning Functions
On Wednesday 09 July 2008 13:49, David Greene wrote: > > then it seems you're doing > > > > for each function > > generate_ir > > convert_to_llvm_ir > > optimize_llvm_ir > > Yep. Ok, I've mostly got a mechanism to do what I want: 1. As each function comes in for op/codegen, clone it and save off the clone and its associated ValueMap (I
2008 Jul 11
2
[LLVMdev] Cloning Functions
On Jul 11, 2008, at 9:59 AM, David Greene wrote: > On Wednesday 09 July 2008 13:49, David Greene wrote: > >>> then it seems you're doing >>> >>> for each function >>> generate_ir >>> convert_to_llvm_ir >>> optimize_llvm_ir >> >> Yep. > > Ok, I've mostly got a mechanism to do what I want: > > 1. As
2008 Jul 11
1
[LLVMdev] Cloning Functions
On Friday 11 July 2008 12:12, David Greene wrote: > On Friday 11 July 2008 12:05, Devang Patel wrote: > > > Ok, I've mostly got a mechanism to do what I want: > > > > > > 1. As each function comes in for op/codegen, clone it and save off > > > the clone and its associated ValueMap (I call these clones > > > "pristine" > > >
2010 Apr 29
2
Cloning very slow?
Yesterday I cloned one of my VMs and, somewhat implausibly, it took virt-clone something like 8-9 hours to clone the 8Gb disk image... Copying it from the command line took a mere 6.5 minutes. I assume this is a bug, and it's not expected to take this long ;-) This was using virt-clone from python-virtinst-0.500.2-1.fc12.noarch in the virt-preview repository. Tom -- Tom Hughes (tom at
2009 Aug 07
0
[LLVMdev] Call Graph Analysis and function cloning
Hi Ali, I assume this is primarily for interrupt function handling? If so, I have a few ideas to bounce your direction if you're interested. -j On Aug 6, 2009, at 3:32 PM, Alireza.Moshtaghi at microchip.com wrote: > I need to perform call graph analysis (after all modules are merged) > to > find which function calls which, and depending on the attributes that > each
2009 Feb 17
1
cloning an already uploaded image using attachment_fu
Hi, I have an Image model that is attached to a item. The image was uploaded through attachment_fu. Now, I want to reuse the same image for a new item. I tried several tips found online. For example in http://danieloshea.com/articles/254-cloning-images # Create a clone of an image and it''s thumbnails. def create_clone c = self.clone self.thumbnails.each do
2008 Jul 11
0
[LLVMdev] Cloning Functions
On Friday 11 July 2008 12:05, Devang Patel wrote: > > Ok, I've mostly got a mechanism to do what I want: > > > > 1. As each function comes in for op/codegen, clone it and save off > > the clone and its associated ValueMap (I call these clones > > "pristine" > > functions. > > > > 2. After all processing is done, clone the resulting